package
0.0.0-20240905184220-0a5f9d4d9d01
Repository: https://github.com/datadog/chaos-controller.git
Documentation: pkg.go.dev
# Functions
GetLabelSelectorFromInstance crafts a label selector made of requirements from the given disruption instance.
No description provided by the author
NewTargetSelectorMock creates a new instance of TargetSelectorMock.
ValidateLabelSelector assert label selector matches valid grammar, avoids CORE-414.
# Structs
TargetSelectorMock is an autogenerated mock type for the TargetSelector type.
No description provided by the author
TargetSelectorMock_GetMatchingNodesOverTotalNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMatchingNodesOverTotalNodes'.
TargetSelectorMock_GetMatchingPodsOverTotalPods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMatchingPodsOverTotalPods'.
TargetSelectorMock_TargetIsHealthy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TargetIsHealthy'.
# Interfaces
TargetSelector is an interface for applying network disruptions to a Kubernetes Cluster.