webhook

package
v0.0.0-...-cff4c14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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

Validate is called by generic-admission-server when the registered REST resource above is called with an admission request.

func (*AuthRealmAdmissionHook) ValidateAuthRealm

func (*AuthRealmAdmissionHook) ValidateIDPConfig

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL