webhook

package
v0.0.0-...-d0642ff Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutatingConfigurationBuilder

type MutatingConfigurationBuilder struct {
	// MutatingWebhookConfiguration definition. Used to create MutatingWebhookConfiguration object.
	Definition *admregv1.MutatingWebhookConfiguration
	// Created MutatingWebhookConfiguration object.
	Object *admregv1.MutatingWebhookConfiguration
	// contains filtered or unexported fields
}

MutatingConfigurationBuilder provides struct for MutatingWebhookConfiguration object which contains connection to cluster and MutatingWebhookConfiguration definition.

func PullMutatingConfiguration

func PullMutatingConfiguration(apiClient *clients.Settings, name string) (*MutatingConfigurationBuilder, error)

PullMutatingConfiguration pulls existing MutatingWebhookConfiguration from cluster.

func (*MutatingConfigurationBuilder) Delete

Delete removes a MutatingWebhookConfiguration from a cluster.

func (*MutatingConfigurationBuilder) Exists

func (builder *MutatingConfigurationBuilder) Exists() bool

Exists checks whether the given MutatingWebhookConfiguration object exists in the cluster.

func (*MutatingConfigurationBuilder) Get

Get returns MutatingWebhookConfiguration object.

func (*MutatingConfigurationBuilder) Update

Update renovates the existing MutatingWebhookConfiguration object with the MutatingWebhookConfiguration definition in builder.

type ValidatingConfigurationBuilder

type ValidatingConfigurationBuilder struct {
	// ValidatingWebhookConfiguration definition. Used to create ValidatingWebhookConfiguration object.
	Definition *admregv1.ValidatingWebhookConfiguration
	// Created ValidatingWebhookConfiguration object.
	Object *admregv1.ValidatingWebhookConfiguration
	// contains filtered or unexported fields
}

ValidatingConfigurationBuilder provides struct for ValidatingWebhookConfiguration object which contains connection to cluster and ValidatingWebhookConfiguration definition.

func PullValidatingConfiguration

func PullValidatingConfiguration(apiClient *clients.Settings, name string) (
	*ValidatingConfigurationBuilder, error)

PullValidatingConfiguration pulls existing ValidatingWebhookConfiguration from cluster.

func (*ValidatingConfigurationBuilder) Delete

Delete removes a ValidatingWebhookConfiguration from a cluster.

func (*ValidatingConfigurationBuilder) Exists

func (builder *ValidatingConfigurationBuilder) Exists() bool

Exists checks whether the given ValidatingWebhookConfiguration object exists in the cluster.

func (*ValidatingConfigurationBuilder) Get

Get returns ValidatingWebhookConfiguration object.

func (*ValidatingConfigurationBuilder) Update

Update renovates the existing ValidatingWebhookConfiguration object with the ValidatingWebhookConfiguration definition in builder.

Jump to

Keyboard shortcuts

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