Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { KubeClientset kubernetes.Interface KarydiaConfig *v1alpha1.KarydiaConfig }
type KarydiaAdmission ¶
type KarydiaAdmission struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *Config) (*KarydiaAdmission, error)
func (*KarydiaAdmission) Admit ¶
func (k *KarydiaAdmission) Admit(ar v1beta1.AdmissionReview, mutationAllowed bool) *v1beta1.AdmissionResponse
func (*KarydiaAdmission) UpdateConfig ¶
func (k *KarydiaAdmission) UpdateConfig(karydiaConfig v1alpha1.KarydiaConfig) error
Click to show internal directories.
Click to hide internal directories.