Documentation ¶
Index ¶
- Constants
- func PolicyAuditor(resourceType string, newObj interface{}, oldObj interface{}, ...) error
- func RunDSInformer(factory informers.SharedInformerFactory)
- func RunDeploymentInformer(factory informers.SharedInformerFactory)
- func RunStsInformer(factory informers.SharedInformerFactory)
- func SendRequest(experimentId string) (string, error)
- type Envs
Constants ¶
View Source
const ( AgentConfigName = "subscriber-config" AgentSecretName = "subscriber-secret" ConditionPassed = "ConditionPassed" )
View Source
const ( StateFulSet = "statefulset" Deployment = "deployment" DaemonSet = "daemonset" )
Variables ¶
This section is empty.
Functions ¶
func PolicyAuditor ¶
func RunDSInformer ¶
func RunDSInformer(factory informers.SharedInformerFactory)
RunDSInformer K8s informer watching for all the daemonset changes
func RunDeploymentInformer ¶
func RunDeploymentInformer(factory informers.SharedInformerFactory)
RunDeploymentInformer K8s informer watching for all the deployment changes
func RunStsInformer ¶
func RunStsInformer(factory informers.SharedInformerFactory)
RunStsInformer K8s informer watching for all the Statefullset changes
func SendRequest ¶
SendRequest Function to send request to litmus graphql server
Types ¶
type Envs ¶
type Envs struct { Version string `required:"true"` InfraScope string `required:"true" split_words:"true"` IsInfraConfirmed string `required:"true" split_words:"true"` AccessKey string `required:"true" split_words:"true"` InfraId string `required:"true" split_words:"true"` ServerAddr string `required:"true" split_words:"true"` InfraNamespace string `required:"true" split_words:"true"` CustomTLSCert string `envconfig:"CUSTOM_TLS_CERT" split_words:"true"` SkipSSLVerify bool `default:"false" split_words:"true"` }
var Config Envs
Click to show internal directories.
Click to hide internal directories.