v1alpha1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 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 AvailableSelectorLabelApplyConfiguration

type AvailableSelectorLabelApplyConfiguration struct {
	Key         *v1alpha1.LabelKey    `json:"key,omitempty"`
	Values      []v1alpha1.LabelValue `json:"values,omitempty"`
	Description *string               `json:"description,omitempty"`
}

AvailableSelectorLabelApplyConfiguration represents an declarative configuration of the AvailableSelectorLabel type for use with apply.

func AvailableSelectorLabel

func AvailableSelectorLabel() *AvailableSelectorLabelApplyConfiguration

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

func (*AvailableSelectorLabelApplyConfiguration) WithDescription

WithDescription sets the Description 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 Description field is set to the value of the last call.

func (*AvailableSelectorLabelApplyConfiguration) WithKey

WithKey sets the Key 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 Key field is set to the value of the last call.

func (*AvailableSelectorLabelApplyConfiguration) WithValues

WithValues adds the given value to the Values 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 Values field.

type GroupVersionResourceApplyConfiguration

type GroupVersionResourceApplyConfiguration struct {
	Group    *string `json:"group,omitempty"`
	Version  *string `json:"version,omitempty"`
	Resource *string `json:"resource,omitempty"`
}

GroupVersionResourceApplyConfiguration represents an declarative configuration of the GroupVersionResource type for use with apply.

func GroupVersionResource

func GroupVersionResource() *GroupVersionResourceApplyConfiguration

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

func (*GroupVersionResourceApplyConfiguration) WithGroup

WithGroup sets the Group 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 Group field is set to the value of the last call.

func (*GroupVersionResourceApplyConfiguration) WithResource

WithResource sets the Resource 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 Resource field is set to the value of the last call.

func (*GroupVersionResourceApplyConfiguration) WithVersion

WithVersion sets the Version 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 Version field is set to the value of the last call.

type LocationApplyConfiguration

type LocationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *LocationSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *LocationStatusApplyConfiguration `json:"status,omitempty"`
}

LocationApplyConfiguration represents an declarative configuration of the Location type for use with apply.

func Location

func Location(name string) *LocationApplyConfiguration

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

func (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) WithAnnotations

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

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 (*LocationApplyConfiguration) WithCreationTimestamp

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

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 (*LocationApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*LocationApplyConfiguration) WithDeletionTimestamp

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

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 (*LocationApplyConfiguration) WithFinalizers

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

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 (*LocationApplyConfiguration) WithGenerateName

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

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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) WithResourceVersion

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

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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 (*LocationApplyConfiguration) 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 LocationReferenceApplyConfiguration

type LocationReferenceApplyConfiguration struct {
	Path         *string `json:"path,omitempty"`
	LocationName *string `json:"locationName,omitempty"`
}

LocationReferenceApplyConfiguration represents an declarative configuration of the LocationReference type for use with apply.

func LocationReference

func LocationReference() *LocationReferenceApplyConfiguration

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

func (*LocationReferenceApplyConfiguration) WithLocationName

WithLocationName sets the LocationName 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 LocationName field is set to the value of the last call.

func (*LocationReferenceApplyConfiguration) WithPath

WithPath sets the Path 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 Path field is set to the value of the last call.

type LocationSpecApplyConfiguration

type LocationSpecApplyConfiguration struct {
	Resource                *GroupVersionResourceApplyConfiguration    `json:"resource,omitempty"`
	Description             *string                                    `json:"description,omitempty"`
	AvailableSelectorLabels []AvailableSelectorLabelApplyConfiguration `json:"availableSelectorLabels,omitempty"`
	InstanceSelector        *v1.LabelSelectorApplyConfiguration        `json:"instanceSelector,omitempty"`
}

LocationSpecApplyConfiguration represents an declarative configuration of the LocationSpec type for use with apply.

func LocationSpec

func LocationSpec() *LocationSpecApplyConfiguration

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

func (*LocationSpecApplyConfiguration) WithAvailableSelectorLabels

WithAvailableSelectorLabels adds the given value to the AvailableSelectorLabels 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 AvailableSelectorLabels field.

func (*LocationSpecApplyConfiguration) WithDescription

WithDescription sets the Description 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 Description field is set to the value of the last call.

func (*LocationSpecApplyConfiguration) WithInstanceSelector

WithInstanceSelector sets the InstanceSelector 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 InstanceSelector field is set to the value of the last call.

func (*LocationSpecApplyConfiguration) WithResource

WithResource sets the Resource 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 Resource field is set to the value of the last call.

type LocationStatusApplyConfiguration

type LocationStatusApplyConfiguration struct {
	Instances          *uint32 `json:"instances,omitempty"`
	AvailableInstances *uint32 `json:"availableInstances,omitempty"`
}

LocationStatusApplyConfiguration represents an declarative configuration of the LocationStatus type for use with apply.

func LocationStatus

func LocationStatus() *LocationStatusApplyConfiguration

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

func (*LocationStatusApplyConfiguration) WithAvailableInstances

WithAvailableInstances sets the AvailableInstances 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 AvailableInstances field is set to the value of the last call.

func (*LocationStatusApplyConfiguration) WithInstances

WithInstances sets the Instances 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 Instances field is set to the value of the last call.

type PlacementApplyConfiguration

type PlacementApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PlacementSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PlacementStatusApplyConfiguration `json:"status,omitempty"`
}

PlacementApplyConfiguration represents an declarative configuration of the Placement type for use with apply.

func Placement

func Placement(name string) *PlacementApplyConfiguration

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

func (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) WithAnnotations

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

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 (*PlacementApplyConfiguration) WithCreationTimestamp

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

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 (*PlacementApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*PlacementApplyConfiguration) WithDeletionTimestamp

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

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 (*PlacementApplyConfiguration) WithFinalizers

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

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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) WithResourceVersion

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

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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 (*PlacementApplyConfiguration) 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 PlacementSpecApplyConfiguration

type PlacementSpecApplyConfiguration struct {
	LocationSelectors []v1.LabelSelectorApplyConfiguration    `json:"locationSelectors,omitempty"`
	LocationResource  *GroupVersionResourceApplyConfiguration `json:"locationResource,omitempty"`
	NamespaceSelector *v1.LabelSelectorApplyConfiguration     `json:"namespaceSelector,omitempty"`
	LocationWorkspace *string                                 `json:"locationWorkspace,omitempty"`
}

PlacementSpecApplyConfiguration represents an declarative configuration of the PlacementSpec type for use with apply.

func PlacementSpec

func PlacementSpec() *PlacementSpecApplyConfiguration

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

func (*PlacementSpecApplyConfiguration) WithLocationResource

WithLocationResource sets the LocationResource 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 LocationResource field is set to the value of the last call.

func (*PlacementSpecApplyConfiguration) WithLocationSelectors

WithLocationSelectors adds the given value to the LocationSelectors 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 LocationSelectors field.

func (*PlacementSpecApplyConfiguration) WithLocationWorkspace

WithLocationWorkspace sets the LocationWorkspace 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 LocationWorkspace field is set to the value of the last call.

func (*PlacementSpecApplyConfiguration) 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.

type PlacementStatusApplyConfiguration

type PlacementStatusApplyConfiguration struct {
	Phase            *v1alpha1.PlacementPhase             `json:"phase,omitempty"`
	SelectedLocation *LocationReferenceApplyConfiguration `json:"selectedLocation,omitempty"`
	Conditions       *conditionsv1alpha1.Conditions       `json:"conditions,omitempty"`
}

PlacementStatusApplyConfiguration represents an declarative configuration of the PlacementStatus type for use with apply.

func PlacementStatus

func PlacementStatus() *PlacementStatusApplyConfiguration

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

func (*PlacementStatusApplyConfiguration) WithConditions

WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.

func (*PlacementStatusApplyConfiguration) WithPhase

WithPhase sets the Phase 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 Phase field is set to the value of the last call.

func (*PlacementStatusApplyConfiguration) WithSelectedLocation

WithSelectedLocation sets the SelectedLocation 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 SelectedLocation 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