Documentation ¶
Index ¶
- Constants
- type AuthRealmAdmissionHook
- func (a *AuthRealmAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
- func (a *AuthRealmAdmissionHook) Validate(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *AuthRealmAdmissionHook) ValidateAuthRealm(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *AuthRealmAdmissionHook) ValidateIDPConfig(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (a *AuthRealmAdmissionHook) ValidatingResource() (plural schema.GroupVersionResource, singular string)
Constants ¶
View Source
const (
GROUP_SUFFIX = "identityconfig.identitatem.io"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRealmAdmissionHook ¶
type AuthRealmAdmissionHook struct { Client dynamic.ResourceInterface KubeClient kubernetes.Interface IDPClient *idpclientset.Clientset // contains filtered or unexported fields }
func (*AuthRealmAdmissionHook) Initialize ¶
func (a *AuthRealmAdmissionHook) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error
Initialize is called by generic-admission-server on startup to setup initialization that webhook needs.
func (*AuthRealmAdmissionHook) Validate ¶
func (a *AuthRealmAdmissionHook) 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.
func (*AuthRealmAdmissionHook) ValidateAuthRealm ¶
func (a *AuthRealmAdmissionHook) ValidateAuthRealm(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
func (*AuthRealmAdmissionHook) ValidateIDPConfig ¶
func (a *AuthRealmAdmissionHook) ValidateIDPConfig(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
func (*AuthRealmAdmissionHook) ValidatingResource ¶
func (a *AuthRealmAdmissionHook) 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.
Click to show internal directories.
Click to hide internal directories.