Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectToken ¶
type ProjectToken struct {
Name string `yaml:"name"`
ClientId string `yaml:"clientId"`
ClientSecret string `yaml:"clientSecret"`
ValidUntil string `yaml:"validUntil"`
ApiServer string `yaml:"apiServer"`
ActiveEnvironment string `yaml:"activeEnvironment"`
JWT JWT `yaml:"jwt,omitempty"`
}
func GetProjectAuthConfig ¶
func GetProjectAuthConfig() (*ProjectToken, error)
type ProjectTokens ¶
type ProjectTokens struct {
Tokens map[string]*ProjectToken `yaml:"tokens,omitempty"`
}
type SourcedConfig ¶
func GetChalkClientArgConfig ¶
func GetChalkClientArgConfig(value string) SourcedConfig
func GetChalkYamlConfig ¶
func GetChalkYamlConfig(value string) SourcedConfig
func GetEnvVarConfig ¶
func GetEnvVarConfig(key string) SourcedConfig
func GetFirstNonEmptyConfig ¶
func GetFirstNonEmptyConfig(configs ...SourcedConfig) SourcedConfig
Click to show internal directories.
Click to hide internal directories.