client-go: kmodules.xyz/client-go/admissionregistration/v1beta1 Index | Files

package v1beta1

import "kmodules.xyz/client-go/admissionregistration/v1beta1"

Index

Package Files

kubernetes.go mutatingwebhookconfiguration.go validatingwebhookconfiguration.go xray.go

Constants

const (
    KeyAdmissionWebhookActive = "admission-webhook.appscode.com/active"
    KeyAdmissionWebhookStatus = "admission-webhook.appscode.com/status"
)

Variables

var ErrMissingKind = errors.New("test object missing kind")
var ErrMissingVersion = errors.New("test object missing version")
var ErrWebhookNotActivated = errors.New("" /* 177 byte string literal not displayed */)

func CreateOrPatchMutatingWebhookConfiguration Uses

func CreateOrPatchMutatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, name string, transform func(*reg.MutatingWebhookConfiguration) *reg.MutatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.MutatingWebhookConfiguration, kutil.VerbType, error)

func CreateOrPatchValidatingWebhookConfiguration Uses

func CreateOrPatchValidatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, name string, transform func(*reg.ValidatingWebhookConfiguration) *reg.ValidatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.ValidatingWebhookConfiguration, kutil.VerbType, error)

func PatchMutatingWebhookConfiguration Uses

func PatchMutatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, cur *reg.MutatingWebhookConfiguration, transform func(*reg.MutatingWebhookConfiguration) *reg.MutatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.MutatingWebhookConfiguration, kutil.VerbType, error)

func PatchMutatingWebhookConfigurationObject Uses

func PatchMutatingWebhookConfigurationObject(ctx context.Context, c kubernetes.Interface, cur, mod *reg.MutatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.MutatingWebhookConfiguration, kutil.VerbType, error)

func PatchValidatingWebhookConfiguration Uses

func PatchValidatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, cur *reg.ValidatingWebhookConfiguration, transform func(*reg.ValidatingWebhookConfiguration) *reg.ValidatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.ValidatingWebhookConfiguration, kutil.VerbType, error)

func PatchValidatingWebhookConfigurationObject Uses

func PatchValidatingWebhookConfigurationObject(ctx context.Context, c kubernetes.Interface, cur, mod *reg.ValidatingWebhookConfiguration, opts metav1.PatchOptions) (*reg.ValidatingWebhookConfiguration, kutil.VerbType, error)

func SyncMutatingWebhookCABundle Uses

func SyncMutatingWebhookCABundle(config *rest.Config, webhookConfigName string) (cancel context.CancelFunc, err error)

func SyncValidatingWebhookCABundle Uses

func SyncValidatingWebhookCABundle(config *rest.Config, webhookConfigName string) (cancel context.CancelFunc, err error)

func TryUpdateMutatingWebhookConfiguration Uses

func TryUpdateMutatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, name string, transform func(*reg.MutatingWebhookConfiguration) *reg.MutatingWebhookConfiguration, opts metav1.UpdateOptions) (result *reg.MutatingWebhookConfiguration, err error)

func TryUpdateValidatingWebhookConfiguration Uses

func TryUpdateValidatingWebhookConfiguration(ctx context.Context, c kubernetes.Interface, name string, transform func(*reg.ValidatingWebhookConfiguration) *reg.ValidatingWebhookConfiguration, opts metav1.UpdateOptions) (result *reg.ValidatingWebhookConfiguration, err error)

func UpdateMutatingWebhookCABundle Uses

func UpdateMutatingWebhookCABundle(config *rest.Config, webhookConfigName string, extraConditions ...watchtools.ConditionFunc) error

func UpdateValidatingWebhookCABundle Uses

func UpdateValidatingWebhookCABundle(config *rest.Config, webhookConfigName string, extraConditions ...watchtools.ConditionFunc) error

type ValidatingWebhookXray Uses

type ValidatingWebhookXray struct {
    // contains filtered or unexported fields
}

func NewCreateValidatingWebhookXray Uses

func NewCreateValidatingWebhookXray(config *rest.Config, apisvc string, testObj runtime.Object, stopCh <-chan struct{}) *ValidatingWebhookXray

func NewDeleteValidatingWebhookXray Uses

func NewDeleteValidatingWebhookXray(config *rest.Config, apisvc string, testObj runtime.Object, transform func(_ runtime.Object), stopCh <-chan struct{}) *ValidatingWebhookXray

func NewUpdateValidatingWebhookXray Uses

func NewUpdateValidatingWebhookXray(config *rest.Config, apisvc string, testObj runtime.Object, transform func(_ runtime.Object), stopCh <-chan struct{}) *ValidatingWebhookXray

func (ValidatingWebhookXray) IsActive Uses

func (d ValidatingWebhookXray) IsActive(ctx context.Context) error

Package v1beta1 imports 34 packages (graph) and is imported by 51 packages. Updated 2020-09-30. Refresh now. Tools for package owners.