Documentation
¶
Index ¶
- func GetNSPLongSleepInterval() time.Duration
- func SetRequiredEnvironmentVariablesForTest()
- type Config
- func (cfg *Config) GetAppAdminGroup() string
- func (cfg *Config) GetAppReaderGroup() string
- func (cfg *Config) GetClusterFQDN() string
- func (cfg *Config) GetGitHubWebHookAPIURL() string
- func (cfg *Config) GetImpersonateGroups() *string
- func (cfg *Config) GetImpersonateUser() *string
- func (cfg *Config) GetLogLevel() zerolog.Level
- func (cfg *Config) GetNSPDNSLookupTimeout() time.Duration
- func (cfg *Config) GetNSPLongSleepInterval() time.Duration
- func (cfg *Config) GetNSPReachIngressTimeout() time.Duration
- func (cfg *Config) GetNSPReachServiceTimeout() time.Duration
- func (cfg *Config) GetNSPSleepInterval() time.Duration
- func (cfg *Config) GetNetworkPolicyCanaryAppName() string
- func (cfg *Config) GetNetworkPolicyCanaryJobComponentName() string
- func (cfg *Config) GetNetworkPolicyCanaryPassword() string
- func (cfg *Config) GetNetworkPolicyCanaryUrl(appEnv string) string
- func (cfg *Config) GetPrettyPrint() bool
- func (cfg *Config) GetPrivateImageHubPassword() string
- func (cfg *Config) GetPrivateKey() string
- func (cfg *Config) GetPrivateKeyCanary3() string
- func (cfg *Config) GetPrivateKeyCanary4() string
- func (cfg *Config) GetPublicKey() string
- func (cfg *Config) GetPublicKeyCanary3() string
- func (cfg *Config) GetPublicKeyCanary4() string
- func (cfg *Config) GetRadixAPISchemes() []string
- func (cfg *Config) GetRadixAPIURL() string
- func (cfg *Config) GetSleepIntervalBetweenCheckFunc() time.Duration
- func (cfg *Config) GetSleepIntervalBetweenTestRuns() time.Duration
- func (cfg *Config) GetSuiteList() []string
- func (cfg *Config) GetSuiteListIsBlacklist() bool
- func (cfg *Config) GetTimeoutOfTest() time.Duration
- func (cfg *Config) GetTokenSource() oauth2.TokenSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNSPLongSleepInterval ¶
func SetRequiredEnvironmentVariablesForTest ¶
func SetRequiredEnvironmentVariablesForTest()
SetRequiredEnvironmentVariablesForTest Sets test environment variables, that would come from launch config, when running complete scenario
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config Holds all the environment variables
func (*Config) GetAppAdminGroup ¶
func (*Config) GetAppReaderGroup ¶
func (*Config) GetClusterFQDN ¶
GetClusterFQDN get Radix cluster FQDN from config map
func (*Config) GetGitHubWebHookAPIURL ¶
func (*Config) GetImpersonateGroups ¶
GetImpersonateGroups get list of groups for impersonation
func (*Config) GetImpersonateUser ¶
GetImpersonateUser get impersonate user from config map
func (*Config) GetLogLevel ¶
GetLogLevel Gets log level
func (*Config) GetNSPDNSLookupTimeout ¶
GetNSPDNSLookupTimeout Get DNS lookup timeout
func (*Config) GetNSPLongSleepInterval ¶
GetNSPLongSleepInterval Gets the sleep inteval between NSPLong test runs from config map
func (*Config) GetNSPReachIngressTimeout ¶
GetNSPReachIngressTimeout Get reach ingress timeout
func (*Config) GetNSPReachServiceTimeout ¶
GetNSPReachServiceTimeout Get reach service timeout
func (*Config) GetNSPSleepInterval ¶
GetNSPSleepInterval Gets the sleep inteval between NSP test runs from config map
func (*Config) GetNetworkPolicyCanaryAppName ¶
func (*Config) GetNetworkPolicyCanaryJobComponentName ¶
func (*Config) GetNetworkPolicyCanaryPassword ¶
GetNetworkPolicyCanaryPassword get networkpolicy-canary HTTP password from environment
func (*Config) GetNetworkPolicyCanaryUrl ¶
func (*Config) GetPrettyPrint ¶
func (*Config) GetPrivateImageHubPassword ¶
GetPrivateImageHubPassword get private image hub password
func (*Config) GetPrivateKey ¶
GetPrivateKey get private deploy key from config map
func (*Config) GetPrivateKeyCanary3 ¶
GetPrivateKeyCanary3 get private deploy key from config map
func (*Config) GetPrivateKeyCanary4 ¶
GetPrivateKeyCanary4 get private deploy key from config map
func (*Config) GetPublicKey ¶
GetPublicKey get public deploy key from config map
func (*Config) GetPublicKeyCanary3 ¶
GetPublicKeyCanary3 get public deploy key from config map
func (*Config) GetPublicKeyCanary4 ¶
GetPublicKeyCanary4 get public deploy key from config map
func (*Config) GetRadixAPISchemes ¶
func (*Config) GetRadixAPIURL ¶
func (*Config) GetSleepIntervalBetweenCheckFunc ¶
GetSleepIntervalBetweenCheckFunc Gets the sleep inteval between two checks from config map
func (*Config) GetSleepIntervalBetweenTestRuns ¶
GetSleepIntervalBetweenTestRuns Gets the sleep inteval between two test runs from config map
func (*Config) GetSuiteList ¶
GetSuiteList Gets a filter list for which suites to run
func (*Config) GetSuiteListIsBlacklist ¶
GetSuiteListIsBlacklist Gets whether suiteList is considered a blacklist
func (*Config) GetTimeoutOfTest ¶
GetTimeoutOfTest Get the time it should take before a test should time out from config map
func (*Config) GetTokenSource ¶
func (cfg *Config) GetTokenSource() oauth2.TokenSource