Documentation ¶
Index ¶
- Constants
- Variables
- func PolicyAuditor(resourceType string, newObj interface{}, oldObj interface{}, workflowid string) error
- func RunDSInformer(factory informers.SharedInformerFactory)
- func RunDeploymentInformer(factory informers.SharedInformerFactory)
- func RunStsInformer(factory informers.SharedInformerFactory)
- func SendRequest(workflowID string) (string, error)
Constants ¶
View Source
const ( AgentConfigName = "agent-config" AgentSecretName = "agent-secret" ConditionPassed = "ConditionPassed" )
View Source
const ( StateFulSet = "statefulset" Deployment = "deployment" DaemonSet = "daemonset" )
Variables ¶
View Source
var ( AgentNamespace = os.Getenv("AGENT_NAMESPACE") Version = os.Getenv("VERSION") )
Functions ¶
func PolicyAuditor ¶
func RunDSInformer ¶
func RunDSInformer(factory informers.SharedInformerFactory)
K8s informer watching for all the daemonset changes
func RunDeploymentInformer ¶
func RunDeploymentInformer(factory informers.SharedInformerFactory)
K8s informer watching for all the deployment changes
func RunStsInformer ¶
func RunStsInformer(factory informers.SharedInformerFactory)
K8s informer watching for all the Statefullset changes
func SendRequest ¶
Function to send request to litmus graphql server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.