Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCAData ¶ added in v0.35.0
ValidateCAData validates that caData is either empty or a PEM bundle consisting of one or more "CERTIFICATE" blocks, each parseable as an X.509 certificate, with no trailing non-PEM data.
func ValidateRBACName ¶ added in v0.35.0
ValidateRBACName is exported to allow types outside of the RBAC API group to reuse this validation logic Minimal validation of names for roles and bindings. Identical to the validation for Openshift. See: * https://github.com/kubernetes/kubernetes/blob/60db507b279ce45bd16ea3db49bf181f2aeb3c3d/pkg/api/validation/name.go * https://github.com/openshift/origin/blob/388478c40e751c4295dcb9a44dd69e5ac65d0e3b/pkg/api/helpers.go Source: https://github.com/kubernetes/kubernetes/blob/df11db1c0f08fab3c0baee1e5ce6efbf816af7f1/pkg/apis/rbac/validation/validation.go#L28C1-L34C2
Types ¶
type TerminalMutator ¶
type TerminalMutator struct {
Log logr.Logger
// Decoder decodes objects
Decoder admission.Decoder
}
TerminalMutator handles Terminal
type TerminalValidator ¶
type TerminalValidator struct {
Client client.Client
Log logr.Logger
Config *v1alpha1.ControllerManagerConfiguration
// Decoder decodes objects
Decoder admission.Decoder
// contains filtered or unexported fields
}
TerminalValidator handles Terminal