Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthValidator ¶ added in v1.1.2
type AuthValidator struct {
// contains filtered or unexported fields
}
AuthValidator validates the authority
func NewAuthValidator ¶ added in v1.1.2
func NewAuthValidator(enabled bool, client client.Client, reader client.Reader, authCli *authorizationv1.AuthorizationV1Client, clusterScoped bool, targetNamespace, allowedNamespaces, ignoredNamespaces string) *AuthValidator
NewAuthValidator returns a new AuthValidator
func (*AuthValidator) Handle ¶ added in v1.1.2
AuthValidator admits a pod iff a specific annotation exists.
func (*AuthValidator) InjectDecoder ¶ added in v1.1.2
func (v *AuthValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
type PodInjector ¶
type PodInjector struct { Config *config.Config ControllerCfg *controllerCfg.ChaosControllerConfig Metrics *metrics.ChaosCollector // contains filtered or unexported fields }
PodInjector is pod template config injector
func (*PodInjector) InjectClient ¶
func (v *PodInjector) InjectClient(c client.Client) error
InjectClient is pod injector client
func (*PodInjector) InjectDecoder ¶
func (v *PodInjector) InjectDecoder(d *admission.Decoder) error
InjectDecoder is pod injector decoder
Click to show internal directories.
Click to hide internal directories.