v1alpha1

package
v1.3.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainPluginSpecApplyConfiguration

type ChainPluginSpecApplyConfiguration struct {
	Name    *string  `json:"name,omitempty"`
	Plugins []string `json:"plugins,omitempty"`
}

ChainPluginSpecApplyConfiguration represents an declarative configuration of the ChainPluginSpec type for use with apply.

func ChainPluginSpec

func ChainPluginSpec() *ChainPluginSpecApplyConfiguration

ChainPluginSpecApplyConfiguration constructs an declarative configuration of the ChainPluginSpec type for use with apply.

func (*ChainPluginSpecApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ChainPluginSpecApplyConfiguration) WithPlugins

WithPlugins adds the given value to the Plugins field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Plugins field.

type ChainSelectorSpecApplyConfiguration

type ChainSelectorSpecApplyConfiguration struct {
	PodSelector       *v1.LabelSelector `json:"podSelector,omitempty"`
	NamespaceSelector *v1.LabelSelector `json:"namespaceSelector,omitempty"`
}

ChainSelectorSpecApplyConfiguration represents an declarative configuration of the ChainSelectorSpec type for use with apply.

func ChainSelectorSpec

func ChainSelectorSpec() *ChainSelectorSpecApplyConfiguration

ChainSelectorSpecApplyConfiguration constructs an declarative configuration of the ChainSelectorSpec type for use with apply.

func (*ChainSelectorSpecApplyConfiguration) WithNamespaceSelector

WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.

func (*ChainSelectorSpecApplyConfiguration) WithPodSelector

WithPodSelector sets the PodSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodSelector field is set to the value of the last call.

type PluginApplyConfiguration

type PluginApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PluginSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PluginStatusApplyConfiguration `json:"status,omitempty"`
}

PluginApplyConfiguration represents an declarative configuration of the Plugin type for use with apply.

func Plugin

func Plugin(name string) *PluginApplyConfiguration

Plugin constructs an declarative configuration of the Plugin type for use with apply.

func (*PluginApplyConfiguration) WithAPIVersion

func (b *PluginApplyConfiguration) WithAPIVersion(value string) *PluginApplyConfiguration

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*PluginApplyConfiguration) WithAnnotations

func (b *PluginApplyConfiguration) WithAnnotations(entries map[string]string) *PluginApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PluginApplyConfiguration) WithCreationTimestamp

func (b *PluginApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PluginApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*PluginApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PluginApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PluginApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*PluginApplyConfiguration) WithDeletionTimestamp

func (b *PluginApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PluginApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*PluginApplyConfiguration) WithFinalizers

func (b *PluginApplyConfiguration) WithFinalizers(values ...string) *PluginApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PluginApplyConfiguration) WithGenerateName

func (b *PluginApplyConfiguration) WithGenerateName(value string) *PluginApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*PluginApplyConfiguration) WithGeneration

func (b *PluginApplyConfiguration) WithGeneration(value int64) *PluginApplyConfiguration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*PluginApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PluginApplyConfiguration) WithLabels

func (b *PluginApplyConfiguration) WithLabels(entries map[string]string) *PluginApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PluginApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PluginApplyConfiguration) WithNamespace

func (b *PluginApplyConfiguration) WithNamespace(value string) *PluginApplyConfiguration

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*PluginApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PluginApplyConfiguration) WithResourceVersion

func (b *PluginApplyConfiguration) WithResourceVersion(value string) *PluginApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PluginApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PluginApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PluginApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PluginChainApplyConfiguration

type PluginChainApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PluginChainSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PluginChainStatusApplyConfiguration `json:"status,omitempty"`
}

PluginChainApplyConfiguration represents an declarative configuration of the PluginChain type for use with apply.

func PluginChain

func PluginChain(name, namespace string) *PluginChainApplyConfiguration

PluginChain constructs an declarative configuration of the PluginChain type for use with apply.

func (*PluginChainApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PluginChainApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PluginChainApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PluginChainApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PluginChainApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PluginChainApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PluginChainApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PluginChainApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PluginChainSpecApplyConfiguration

type PluginChainSpecApplyConfiguration struct {
	Chains    []ChainPluginSpecApplyConfiguration  `json:"chains,omitempty"`
	Selectors *ChainSelectorSpecApplyConfiguration `json:"selectors,omitempty"`
}

PluginChainSpecApplyConfiguration represents an declarative configuration of the PluginChainSpec type for use with apply.

func PluginChainSpec

func PluginChainSpec() *PluginChainSpecApplyConfiguration

PluginChainSpecApplyConfiguration constructs an declarative configuration of the PluginChainSpec type for use with apply.

func (*PluginChainSpecApplyConfiguration) WithChains

WithChains adds the given value to the Chains field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Chains field.

func (*PluginChainSpecApplyConfiguration) WithSelectors

WithSelectors sets the Selectors field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selectors field is set to the value of the last call.

type PluginChainStatusApplyConfiguration

type PluginChainStatusApplyConfiguration struct {
	CurrentStatus *string `json:"currentStatus,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

PluginChainStatusApplyConfiguration represents an declarative configuration of the PluginChainStatus type for use with apply.

func PluginChainStatus

func PluginChainStatus() *PluginChainStatusApplyConfiguration

PluginChainStatusApplyConfiguration constructs an declarative configuration of the PluginChainStatus type for use with apply.

func (*PluginChainStatusApplyConfiguration) WithCurrentStatus

WithCurrentStatus sets the CurrentStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentStatus field is set to the value of the last call.

func (*PluginChainStatusApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

type PluginConfigApplyConfiguration

type PluginConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PluginConfigSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PluginConfigStatusApplyConfiguration `json:"status,omitempty"`
}

PluginConfigApplyConfiguration represents an declarative configuration of the PluginConfig type for use with apply.

func PluginConfig

func PluginConfig(name, namespace string) *PluginConfigApplyConfiguration

PluginConfig constructs an declarative configuration of the PluginConfig type for use with apply.

func (*PluginConfigApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PluginConfigApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PluginConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PluginConfigApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PluginConfigApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PluginConfigApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PluginConfigApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PluginConfigApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PluginConfigSpecApplyConfiguration

type PluginConfigSpecApplyConfiguration struct {
	Plugin          *string               `json:"plugin,omitempty"`
	DestinationRefs []v1.ObjectReference  `json:"destinationRefs,omitempty"`
	Config          *runtime.RawExtension `json:"config,omitempty"`
}

PluginConfigSpecApplyConfiguration represents an declarative configuration of the PluginConfigSpec type for use with apply.

func PluginConfigSpec

func PluginConfigSpec() *PluginConfigSpecApplyConfiguration

PluginConfigSpecApplyConfiguration constructs an declarative configuration of the PluginConfigSpec type for use with apply.

func (*PluginConfigSpecApplyConfiguration) WithConfig

WithConfig sets the Config field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Config field is set to the value of the last call.

func (*PluginConfigSpecApplyConfiguration) WithDestinationRefs

WithDestinationRefs adds the given value to the DestinationRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DestinationRefs field.

func (*PluginConfigSpecApplyConfiguration) WithPlugin

WithPlugin sets the Plugin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Plugin field is set to the value of the last call.

type PluginConfigStatusApplyConfiguration

type PluginConfigStatusApplyConfiguration struct {
	CurrentStatus *string `json:"currentStatus,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

PluginConfigStatusApplyConfiguration represents an declarative configuration of the PluginConfigStatus type for use with apply.

func PluginConfigStatus

func PluginConfigStatus() *PluginConfigStatusApplyConfiguration

PluginConfigStatusApplyConfiguration constructs an declarative configuration of the PluginConfigStatus type for use with apply.

func (*PluginConfigStatusApplyConfiguration) WithCurrentStatus

WithCurrentStatus sets the CurrentStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentStatus field is set to the value of the last call.

func (*PluginConfigStatusApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

type PluginSpecApplyConfiguration

type PluginSpecApplyConfiguration struct {
	Priority *float32 `json:"priority,omitempty"`
	Script   *string  `json:"pipyscript,omitempty"`
}

PluginSpecApplyConfiguration represents an declarative configuration of the PluginSpec type for use with apply.

func PluginSpec

func PluginSpec() *PluginSpecApplyConfiguration

PluginSpecApplyConfiguration constructs an declarative configuration of the PluginSpec type for use with apply.

func (*PluginSpecApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*PluginSpecApplyConfiguration) WithScript

WithScript sets the Script field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Script field is set to the value of the last call.

type PluginStatusApplyConfiguration

type PluginStatusApplyConfiguration struct {
	CurrentStatus *string `json:"currentStatus,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

PluginStatusApplyConfiguration represents an declarative configuration of the PluginStatus type for use with apply.

func PluginStatus

func PluginStatus() *PluginStatusApplyConfiguration

PluginStatusApplyConfiguration constructs an declarative configuration of the PluginStatus type for use with apply.

func (*PluginStatusApplyConfiguration) WithCurrentStatus

WithCurrentStatus sets the CurrentStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentStatus field is set to the value of the last call.

func (*PluginStatusApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

Jump to

Keyboard shortcuts

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