Documentation ¶
Index ¶
- type ProvisioningClusterMutator
- func (m *ProvisioningClusterMutator) Admit(request *admission.Request) (*admissionv1.AdmissionResponse, error)
- func (m *ProvisioningClusterMutator) GVR() schema.GroupVersionResource
- func (m *ProvisioningClusterMutator) MutatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.MutatingWebhook
- func (m *ProvisioningClusterMutator) Operations() []admissionregistrationv1.OperationType
- type ProvisioningClusterValidator
- func (p *ProvisioningClusterValidator) Admitters() []admission.Admitter
- func (p *ProvisioningClusterValidator) GVR() schema.GroupVersionResource
- func (p *ProvisioningClusterValidator) Operations() []admissionregistrationv1.OperationType
- func (p *ProvisioningClusterValidator) ValidatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.ValidatingWebhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProvisioningClusterMutator ¶
type ProvisioningClusterMutator struct {
// contains filtered or unexported fields
}
ProvisioningClusterMutator implements admission.MutatingAdmissionWebhook.
func NewProvisioningClusterMutator ¶
func NewProvisioningClusterMutator(secret corecontroller.SecretController, psact v3.PodSecurityAdmissionConfigurationTemplateCache) *ProvisioningClusterMutator
NewProvisioningClusterMutator returns a new mutator for provisioning clusters
func (*ProvisioningClusterMutator) Admit ¶
func (m *ProvisioningClusterMutator) Admit(request *admission.Request) (*admissionv1.AdmissionResponse, error)
Admit is the entrypoint for the mutator. Admit will return an error if it unable to process the request.
func (*ProvisioningClusterMutator) GVR ¶
func (m *ProvisioningClusterMutator) GVR() schema.GroupVersionResource
GVR returns the GroupVersionKind for this CRD.
func (*ProvisioningClusterMutator) MutatingWebhook ¶
func (m *ProvisioningClusterMutator) MutatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.MutatingWebhook
MutatingWebhook returns the MutatingWebhook used for this CRD.
func (*ProvisioningClusterMutator) Operations ¶
func (m *ProvisioningClusterMutator) Operations() []admissionregistrationv1.OperationType
Operations returns list of operations handled by this mutator.
type ProvisioningClusterValidator ¶
type ProvisioningClusterValidator struct {
// contains filtered or unexported fields
}
func NewProvisioningClusterValidator ¶
func NewProvisioningClusterValidator(client *clients.Clients) *ProvisioningClusterValidator
NewProvisioningClusterValidator returns a new validator for provisioning clusters
func (*ProvisioningClusterValidator) Admitters ¶
func (p *ProvisioningClusterValidator) Admitters() []admission.Admitter
Admitters returns the admitter objects used to validate provisioning clusters.
func (*ProvisioningClusterValidator) GVR ¶
func (p *ProvisioningClusterValidator) GVR() schema.GroupVersionResource
GVR returns the GroupVersionKind for this CRD.
func (*ProvisioningClusterValidator) Operations ¶
func (p *ProvisioningClusterValidator) Operations() []admissionregistrationv1.OperationType
Operations returns list of operations handled by this validator.
func (*ProvisioningClusterValidator) ValidatingWebhook ¶
func (p *ProvisioningClusterValidator) ValidatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.ValidatingWebhook
ValidatingWebhook returns the ValidatingWebhook used for this CRD.