v1beta1

package
v0.0.0-...-f6121d7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var ErrMissingKind = errors.New("test object missing kind")
View Source
var ErrMissingVersion = errors.New("test object missing version")
View Source
var ErrWebhookNotActivated = errors.New("Admission webhooks are not activated. Enable it by configuring --enable-admission-plugins flag of kube-apiserver. For details, visit: https://appsco.de/kube-apiserver-webhooks")

Functions

func SyncMutatingWebhookCABundle

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

func SyncValidatingWebhookCABundle

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

func UpdateMutatingWebhookCABundle

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

func UpdateValidatingWebhookCABundle

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

Types

type ValidatingWebhookXray

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

func NewCreateValidatingWebhookXray

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

func NewDeleteValidatingWebhookXray

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

func NewUpdateValidatingWebhookXray

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

func (ValidatingWebhookXray) IsActive

func (d ValidatingWebhookXray) IsActive() error

Jump to

Keyboard shortcuts

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