Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AllIPs cidr contains all ips AllIPs string = "0.0.0.0/0" )
Variables ¶
This section is empty.
Functions ¶
func PrepareAndInjectChaos ¶
func PrepareAndInjectChaos(experimentsDetails *experimentTypes.ExperimentDetails, clients clients.ClientSets, resultDetails *types.ResultDetails, eventsDetails *types.EventDetails, chaosDetails *types.ChaosDetails) error
PrepareAndInjectChaos contains the prepration & injection steps
Types ¶
type NetworkPolicy ¶
type NetworkPolicy struct { TargetPodLabels map[string]string PolicyType []networkv1.PolicyType Egress []networkv1.NetworkPolicyEgressRule Ingress []networkv1.NetworkPolicyIngressRule ExceptIPs []string NamespaceSelector map[string]string PodSelector map[string]string Ports []networkv1.NetworkPolicyPort }
NetworkPolicy contains details about the network-policy
Click to show internal directories.
Click to hide internal directories.