Documentation
¶
Index ¶
- type AvailableSelectorLabelApplyConfiguration
- func (b *AvailableSelectorLabelApplyConfiguration) WithDescription(value string) *AvailableSelectorLabelApplyConfiguration
- func (b *AvailableSelectorLabelApplyConfiguration) WithKey(value v1alpha1.LabelKey) *AvailableSelectorLabelApplyConfiguration
- func (b *AvailableSelectorLabelApplyConfiguration) WithValues(values ...v1alpha1.LabelValue) *AvailableSelectorLabelApplyConfiguration
- type GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration
- type LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithAPIVersion(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithAnnotations(entries map[string]string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithFinalizers(values ...string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithGenerateName(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithGeneration(value int64) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithKind(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithLabels(entries map[string]string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithName(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithNamespace(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithResourceVersion(value string) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithSpec(value *LocationSpecApplyConfiguration) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithStatus(value *LocationStatusApplyConfiguration) *LocationApplyConfiguration
- func (b *LocationApplyConfiguration) WithUID(value types.UID) *LocationApplyConfiguration
- type LocationReferenceApplyConfiguration
- type LocationSpecApplyConfiguration
- func (b *LocationSpecApplyConfiguration) WithAvailableSelectorLabels(values ...*AvailableSelectorLabelApplyConfiguration) *LocationSpecApplyConfiguration
- func (b *LocationSpecApplyConfiguration) WithDescription(value string) *LocationSpecApplyConfiguration
- func (b *LocationSpecApplyConfiguration) WithInstanceSelector(value *v1.LabelSelectorApplyConfiguration) *LocationSpecApplyConfiguration
- func (b *LocationSpecApplyConfiguration) WithResource(value *GroupVersionResourceApplyConfiguration) *LocationSpecApplyConfiguration
- type LocationStatusApplyConfiguration
- type PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithAPIVersion(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithAnnotations(entries map[string]string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithFinalizers(values ...string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithGenerateName(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithGeneration(value int64) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithKind(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithLabels(entries map[string]string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithName(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithNamespace(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithResourceVersion(value string) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithSpec(value *PlacementSpecApplyConfiguration) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithStatus(value *PlacementStatusApplyConfiguration) *PlacementApplyConfiguration
- func (b *PlacementApplyConfiguration) WithUID(value types.UID) *PlacementApplyConfiguration
- type PlacementSpecApplyConfiguration
- func (b *PlacementSpecApplyConfiguration) WithLocationResource(value *GroupVersionResourceApplyConfiguration) *PlacementSpecApplyConfiguration
- func (b *PlacementSpecApplyConfiguration) WithLocationSelectors(values ...*v1.LabelSelectorApplyConfiguration) *PlacementSpecApplyConfiguration
- func (b *PlacementSpecApplyConfiguration) WithLocationWorkspace(value string) *PlacementSpecApplyConfiguration
- func (b *PlacementSpecApplyConfiguration) WithNamespaceSelector(value *v1.LabelSelectorApplyConfiguration) *PlacementSpecApplyConfiguration
- type PlacementStatusApplyConfiguration
- func (b *PlacementStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *PlacementStatusApplyConfiguration
- func (b *PlacementStatusApplyConfiguration) WithPhase(value v1alpha1.PlacementPhase) *PlacementStatusApplyConfiguration
- func (b *PlacementStatusApplyConfiguration) WithSelectedLocation(value *LocationReferenceApplyConfiguration) *PlacementStatusApplyConfiguration
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 ¶
func (b *AvailableSelectorLabelApplyConfiguration) WithDescription(value string) *AvailableSelectorLabelApplyConfiguration
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 ¶
func (b *AvailableSelectorLabelApplyConfiguration) WithKey(value v1alpha1.LabelKey) *AvailableSelectorLabelApplyConfiguration
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 ¶
func (b *AvailableSelectorLabelApplyConfiguration) WithValues(values ...v1alpha1.LabelValue) *AvailableSelectorLabelApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithAPIVersion(value string) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithGeneration(value int64) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithKind(value string) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithLabels(entries map[string]string) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithName(value string) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithNamespace(value string) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithSpec(value *LocationSpecApplyConfiguration) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithStatus(value *LocationStatusApplyConfiguration) *LocationApplyConfiguration
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 ¶
func (b *LocationApplyConfiguration) WithUID(value types.UID) *LocationApplyConfiguration
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 ¶
func (b *LocationReferenceApplyConfiguration) WithLocationName(value string) *LocationReferenceApplyConfiguration
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 ¶
func (b *LocationReferenceApplyConfiguration) WithPath(value string) *LocationReferenceApplyConfiguration
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 ¶
func (b *LocationSpecApplyConfiguration) WithAvailableSelectorLabels(values ...*AvailableSelectorLabelApplyConfiguration) *LocationSpecApplyConfiguration
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 ¶
func (b *LocationSpecApplyConfiguration) WithDescription(value string) *LocationSpecApplyConfiguration
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 ¶
func (b *LocationSpecApplyConfiguration) WithInstanceSelector(value *v1.LabelSelectorApplyConfiguration) *LocationSpecApplyConfiguration
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 ¶
func (b *LocationSpecApplyConfiguration) WithResource(value *GroupVersionResourceApplyConfiguration) *LocationSpecApplyConfiguration
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 ¶
func (b *LocationStatusApplyConfiguration) WithAvailableInstances(value uint32) *LocationStatusApplyConfiguration
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 ¶
func (b *LocationStatusApplyConfiguration) WithInstances(value uint32) *LocationStatusApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithAPIVersion(value string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithGenerateName(value string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithGeneration(value int64) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithKind(value string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithLabels(entries map[string]string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithName(value string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithNamespace(value string) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithSpec(value *PlacementSpecApplyConfiguration) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithStatus(value *PlacementStatusApplyConfiguration) *PlacementApplyConfiguration
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 ¶
func (b *PlacementApplyConfiguration) WithUID(value types.UID) *PlacementApplyConfiguration
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 ¶
func (b *PlacementSpecApplyConfiguration) WithLocationResource(value *GroupVersionResourceApplyConfiguration) *PlacementSpecApplyConfiguration
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 ¶
func (b *PlacementSpecApplyConfiguration) WithLocationSelectors(values ...*v1.LabelSelectorApplyConfiguration) *PlacementSpecApplyConfiguration
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 ¶
func (b *PlacementSpecApplyConfiguration) WithLocationWorkspace(value string) *PlacementSpecApplyConfiguration
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 ¶
func (b *PlacementSpecApplyConfiguration) WithNamespaceSelector(value *v1.LabelSelectorApplyConfiguration) *PlacementSpecApplyConfiguration
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 ¶
func (b *PlacementStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *PlacementStatusApplyConfiguration
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 ¶
func (b *PlacementStatusApplyConfiguration) WithPhase(value v1alpha1.PlacementPhase) *PlacementStatusApplyConfiguration
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 ¶
func (b *PlacementStatusApplyConfiguration) WithSelectedLocation(value *LocationReferenceApplyConfiguration) *PlacementStatusApplyConfiguration
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.