Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDeploymentValidatingAdmissionHook

type ClusterDeploymentValidatingAdmissionHook struct {

	// contains filtered or unexported fields

}

ClusterDeploymentValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewClusterDeploymentValidatingAdmissionHook

func NewClusterDeploymentValidatingAdmissionHook(decoder *admission.Decoder) *ClusterDeploymentValidatingAdmissionHook

NewClusterDeploymentValidatingAdmissionHook constructs a new ClusterDeploymentValidatingAdmissionHook

func (*ClusterDeploymentValidatingAdmissionHook) Initialize

func (a *ClusterDeploymentValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*ClusterDeploymentValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*ClusterDeploymentValidatingAdmissionHook) ValidatingResource

func (a *ClusterDeploymentValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/clusterdeploymentvalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type ClusterImageSetValidatingAdmissionHook

type ClusterImageSetValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

ClusterImageSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewClusterImageSetValidatingAdmissionHook

func NewClusterImageSetValidatingAdmissionHook(decoder *admission.Decoder) *ClusterImageSetValidatingAdmissionHook

NewClusterImageSetValidatingAdmissionHook constructs a new ClusterImageSetValidatingAdmissionHook

func (*ClusterImageSetValidatingAdmissionHook) Initialize

func (a *ClusterImageSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*ClusterImageSetValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*ClusterImageSetValidatingAdmissionHook) ValidatingResource

func (a *ClusterImageSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/clusterimagesetvalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type ClusterPoolValidatingAdmissionHook

type ClusterPoolValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

ClusterPoolValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewClusterPoolValidatingAdmissionHook

func NewClusterPoolValidatingAdmissionHook(decoder *admission.Decoder) *ClusterPoolValidatingAdmissionHook

NewClusterPoolValidatingAdmissionHook constructs a new ClusterPoolValidatingAdmissionHook

func (*ClusterPoolValidatingAdmissionHook) Initialize

func (a *ClusterPoolValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*ClusterPoolValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*ClusterPoolValidatingAdmissionHook) ValidatingResource

func (a *ClusterPoolValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/clusterpoolvalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type ClusterProvisionValidatingAdmissionHook

type ClusterProvisionValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

ClusterProvisionValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewClusterProvisionValidatingAdmissionHook

func NewClusterProvisionValidatingAdmissionHook(decoder *admission.Decoder) *ClusterProvisionValidatingAdmissionHook

NewClusterProvisionValidatingAdmissionHook constructs a new ClusterProvisionValidatingAdmissionHook

func (*ClusterProvisionValidatingAdmissionHook) Initialize

func (a *ClusterProvisionValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*ClusterProvisionValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*ClusterProvisionValidatingAdmissionHook) ValidatingResource

func (a *ClusterProvisionValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the webhook is accessed by the kube apiserver. For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/clusterprovisionvalidators". When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type DNSZoneValidatingAdmissionHook

type DNSZoneValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

DNSZoneValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewDNSZoneValidatingAdmissionHook

func NewDNSZoneValidatingAdmissionHook(decoder *admission.Decoder) *DNSZoneValidatingAdmissionHook

NewDNSZoneValidatingAdmissionHook constructs a new DNSZoneValidatingAdmissionHook

func (*DNSZoneValidatingAdmissionHook) Initialize

func (a *DNSZoneValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*DNSZoneValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*DNSZoneValidatingAdmissionHook) ValidatingResource

func (a *DNSZoneValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/dnszonevalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type MachinePoolValidatingAdmissionHook

type MachinePoolValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

MachinePoolValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewMachinePoolValidatingAdmissionHook

func NewMachinePoolValidatingAdmissionHook(decoder *admission.Decoder) *MachinePoolValidatingAdmissionHook

NewMachinePoolValidatingAdmissionHook constructs a new MachinePoolValidatingAdmissionHook

func (*MachinePoolValidatingAdmissionHook) Initialize

func (a *MachinePoolValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*MachinePoolValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*MachinePoolValidatingAdmissionHook) ValidatingResource

func (a *MachinePoolValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the webhook is accessed by the kube apiserver. For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/machinePoolvalidators". When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type SelectorSyncSetValidatingAdmissionHook

type SelectorSyncSetValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

SelectorSyncSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewSelectorSyncSetValidatingAdmissionHook

func NewSelectorSyncSetValidatingAdmissionHook(decoder *admission.Decoder) *SelectorSyncSetValidatingAdmissionHook

NewSelectorSyncSetValidatingAdmissionHook constructs a new SelectorSyncSetValidatingAdmissionHook

func (*SelectorSyncSetValidatingAdmissionHook) Initialize

func (a *SelectorSyncSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*SelectorSyncSetValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*SelectorSyncSetValidatingAdmissionHook) ValidatingResource

func (a *SelectorSyncSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/selectorsyncsetvalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.

type SyncSetValidatingAdmissionHook

type SyncSetValidatingAdmissionHook struct {
	// contains filtered or unexported fields

}

SyncSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.

func NewSyncSetValidatingAdmissionHook

func NewSyncSetValidatingAdmissionHook(decoder *admission.Decoder) *SyncSetValidatingAdmissionHook

NewSyncSetValidatingAdmissionHook constructs a new SyncSetValidatingAdmissionHook

func (*SyncSetValidatingAdmissionHook) Initialize

func (a *SyncSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize is called by generic-admission-server on startup to setup any special initialization that your webhook needs.

func (*SyncSetValidatingAdmissionHook) Validate

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request. Usually it's the kube apiserver that is making the admission validation request.

func (*SyncSetValidatingAdmissionHook) ValidatingResource

func (a *SyncSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)

ValidatingResource is called by generic-admission-server on startup to register the returned REST resource through which the

webhook is accessed by the kube apiserver.

For example, generic-admission-server uses the data below to register the webhook on the REST resource "/apis/admission.hive.openshift.io/v1/syncsetvalidators".

When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.