Documentation ¶
Index ¶
- type MutatingConfigurationBuilder
- func (builder *MutatingConfigurationBuilder) Delete() (*MutatingConfigurationBuilder, error)
- func (builder *MutatingConfigurationBuilder) Exists() bool
- func (builder *MutatingConfigurationBuilder) Get() (*admregv1.MutatingWebhookConfiguration, error)
- func (builder *MutatingConfigurationBuilder) Update() (*MutatingConfigurationBuilder, error)
- type ValidatingConfigurationBuilder
- func (builder *ValidatingConfigurationBuilder) Delete() (*ValidatingConfigurationBuilder, error)
- func (builder *ValidatingConfigurationBuilder) Exists() bool
- func (builder *ValidatingConfigurationBuilder) Get() (*admregv1.ValidatingWebhookConfiguration, error)
- func (builder *ValidatingConfigurationBuilder) Update() (*ValidatingConfigurationBuilder, error)
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 ¶
func (builder *MutatingConfigurationBuilder) Delete() (*MutatingConfigurationBuilder, error)
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 ¶
func (builder *MutatingConfigurationBuilder) Get() (*admregv1.MutatingWebhookConfiguration, error)
Get returns MutatingWebhookConfiguration object.
func (*MutatingConfigurationBuilder) Update ¶
func (builder *MutatingConfigurationBuilder) Update() (*MutatingConfigurationBuilder, error)
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 ¶
func (builder *ValidatingConfigurationBuilder) Delete() (*ValidatingConfigurationBuilder, error)
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 ¶
func (builder *ValidatingConfigurationBuilder) Get() (*admregv1.ValidatingWebhookConfiguration, error)
Get returns ValidatingWebhookConfiguration object.
func (*ValidatingConfigurationBuilder) Update ¶
func (builder *ValidatingConfigurationBuilder) Update() (*ValidatingConfigurationBuilder, error)
Update renovates the existing ValidatingWebhookConfiguration object with the ValidatingWebhookConfiguration definition in builder.