Skip to content

Commit

Permalink
remove metadata changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Feb 21, 2023
1 parent af6aded commit 79b1915
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ type (
Host string `json:"host"`
}

// TokenManager is the config data for the v2 token manager.
TokenManager struct {
RegTokenDuration time.Duration `json:"reg_token_duration"`
WorkerAuthTokenDuration time.Duration `json:"worker_authtoken_duration"`
UserAccessTokenDuration time.Duration `json:"user_accesstoken_duration"`
UserRefreshTokenDuration time.Duration `json:"user_refreshtoken_duration"`
TokenCleanupTicker time.Duration `json:"token_cleanup_ticker"`
KeyCleanupTicker time.Duration `json:"key_cleanup_ticker"`
InvalidTokenTTL time.Duration `json:"invalid_token_ttl"`
SigningKeyTTL time.Duration `json:"signing_key_ttl"`
}

// Vela is the extra set of Vela data passed to the compiler.
Vela struct {
Address string `json:"address"`
Expand All @@ -50,10 +38,9 @@ type (
// Metadata is the extra set of data passed to the compiler for
// converting a yaml configuration to an executable pipeline.
Metadata struct {
Database *Database `json:"database"`
Queue *Queue `json:"queue"`
Source *Source `json:"source"`
Vela *Vela `json:"vela"`
TokenManager *TokenManager `json:"token_manager"`
Database *Database `json:"database"`
Queue *Queue `json:"queue"`
Source *Source `json:"source"`
Vela *Vela `json:"vela"`
}
)

0 comments on commit 79b1915

Please sign in to comment.