Documentation ¶
Index ¶
- Constants
- type ClusterDeploymentValidatingAdmissionHook
- func (a *ClusterDeploymentValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *ClusterDeploymentValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *ClusterDeploymentValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
- type ClusterImageSetValidatingAdmissionHook
- func (a *ClusterImageSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *ClusterImageSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *ClusterImageSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
- type ClusterProvisionValidatingAdmissionHook
- func (a *ClusterProvisionValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *ClusterProvisionValidatingAdmissionHook) Validate(request *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *ClusterProvisionValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
- type DNSZoneValidatingAdmissionHook
- func (a *DNSZoneValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *DNSZoneValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *DNSZoneValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
- type SelectorSyncSetValidatingAdmissionHook
- func (a *SelectorSyncSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *SelectorSyncSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *SelectorSyncSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
- type SyncSetValidatingAdmissionHook
- func (a *SyncSetValidatingAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *SyncSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *SyncSetValidatingAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
Constants ¶
const ( // ManagedDomainsFileEnvVar if present, points to a simple text // file that includes a valid managed domain per line. Cluster deployments // requesting that their domains be managed must have a base domain // that is a direct child of one of the valid domains. ManagedDomainsFileEnvVar = "MANAGED_DOMAINS_FILE" )
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() *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 ¶
func (a *ClusterDeploymentValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/clusterdeploymentvalidators".
When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.
type ClusterImageSetValidatingAdmissionHook ¶
type ClusterImageSetValidatingAdmissionHook struct{}
ClusterImageSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.
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 ¶
func (a *ClusterImageSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/clusterimagesetvalidators".
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 (*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 ¶
func (a *ClusterProvisionValidatingAdmissionHook) Validate(request *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/clusterprovisionvalidators". When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.
type DNSZoneValidatingAdmissionHook ¶
type DNSZoneValidatingAdmissionHook struct{}
DNSZoneValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.
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 ¶
func (a *DNSZoneValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/dnszonevalidators".
When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.
type SelectorSyncSetValidatingAdmissionHook ¶
type SelectorSyncSetValidatingAdmissionHook struct{}
SelectorSyncSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.
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 ¶
func (a *SelectorSyncSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/selectorsyncsetvalidators".
When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.
type SyncSetValidatingAdmissionHook ¶
type SyncSetValidatingAdmissionHook struct{}
SyncSetValidatingAdmissionHook is a struct that is used to reference what code should be run by the generic-admission-server.
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 ¶
func (a *SyncSetValidatingAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
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/v1alpha1/syncsetvalidators".
When the kube apiserver calls this registered REST resource, the generic-admission-server calls the Validate() method below.