Documentation ¶
Index ¶
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithType(value string) *ConditionApplyConfiguration
- type DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithAPIVersion(value string) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithDryRun(values ...string) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithGracePeriodSeconds(value int64) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithKind(value string) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithOrphanDependents(value bool) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithPreconditions(value *PreconditionsApplyConfiguration) *DeleteOptionsApplyConfiguration
- func (b *DeleteOptionsApplyConfiguration) WithPropagationPolicy(value metav1.DeletionPropagation) *DeleteOptionsApplyConfiguration
- type GroupVersionKindApplyConfiguration
- func (b *GroupVersionKindApplyConfiguration) WithGroup(value string) *GroupVersionKindApplyConfiguration
- func (b *GroupVersionKindApplyConfiguration) WithKind(value string) *GroupVersionKindApplyConfiguration
- func (b *GroupVersionKindApplyConfiguration) WithVersion(value string) *GroupVersionKindApplyConfiguration
- type LabelSelectorApplyConfiguration
- type LabelSelectorRequirementApplyConfiguration
- func (b *LabelSelectorRequirementApplyConfiguration) WithKey(value string) *LabelSelectorRequirementApplyConfiguration
- func (b *LabelSelectorRequirementApplyConfiguration) WithOperator(value v1.LabelSelectorOperator) *LabelSelectorRequirementApplyConfiguration
- func (b *LabelSelectorRequirementApplyConfiguration) WithValues(values ...string) *LabelSelectorRequirementApplyConfiguration
- type ListMetaApplyConfiguration
- func (b *ListMetaApplyConfiguration) WithContinue(value string) *ListMetaApplyConfiguration
- func (b *ListMetaApplyConfiguration) WithRemainingItemCount(value int64) *ListMetaApplyConfiguration
- func (b *ListMetaApplyConfiguration) WithResourceVersion(value string) *ListMetaApplyConfiguration
- func (b *ListMetaApplyConfiguration) WithSelfLink(value string) *ListMetaApplyConfiguration
- type ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithAPIVersion(value string) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsType(value string) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsV1(value v1.FieldsV1) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithManager(value string) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithOperation(value v1.ManagedFieldsOperationType) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithSubresource(value string) *ManagedFieldsEntryApplyConfiguration
- func (b *ManagedFieldsEntryApplyConfiguration) WithTime(value v1.Time) *ManagedFieldsEntryApplyConfiguration
- type ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithAnnotations(entries map[string]string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithCreationTimestamp(value v1.Time) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithDeletionTimestamp(value v1.Time) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithFinalizers(values ...string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithGenerateName(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithGeneration(value int64) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithLabels(entries map[string]string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithName(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithNamespace(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithOwnerReferences(values ...*OwnerReferenceApplyConfiguration) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithResourceVersion(value string) *ObjectMetaApplyConfiguration
- func (b *ObjectMetaApplyConfiguration) WithUID(value types.UID) *ObjectMetaApplyConfiguration
- type OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithAPIVersion(value string) *OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithBlockOwnerDeletion(value bool) *OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithController(value bool) *OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithKind(value string) *OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithName(value string) *OwnerReferenceApplyConfiguration
- func (b *OwnerReferenceApplyConfiguration) WithUID(value types.UID) *OwnerReferenceApplyConfiguration
- type PreconditionsApplyConfiguration
- type StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithAPIVersion(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithCode(value int32) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithContinue(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithDetails(value *StatusDetailsApplyConfiguration) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithKind(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithMessage(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithReason(value metav1.StatusReason) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithRemainingItemCount(value int64) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithResourceVersion(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithSelfLink(value string) *StatusApplyConfiguration
- func (b *StatusApplyConfiguration) WithStatus(value string) *StatusApplyConfiguration
- type StatusCauseApplyConfiguration
- type StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithCauses(values ...*StatusCauseApplyConfiguration) *StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithGroup(value string) *StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithKind(value string) *StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithName(value string) *StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithRetryAfterSeconds(value int32) *StatusDetailsApplyConfiguration
- func (b *StatusDetailsApplyConfiguration) WithUID(value types.UID) *StatusDetailsApplyConfiguration
- type TypeMetaApplyConfiguration
- type UnstructuredExtractor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionApplyConfiguration ¶
type ConditionApplyConfiguration struct { Type *string `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.
func Condition ¶
func Condition() *ConditionApplyConfiguration
ConditionApplyConfiguration constructs an declarative configuration of the Condition type for use with apply.
func (*ConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *ConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithMessage ¶
func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithObservedGeneration ¶
func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration
WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithReason ¶
func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
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.
func (*ConditionApplyConfiguration) WithStatus ¶
func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithType ¶
func (b *ConditionApplyConfiguration) WithType(value string) *ConditionApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type DeleteOptionsApplyConfiguration ¶
type DeleteOptionsApplyConfiguration struct { TypeMetaApplyConfiguration `json:",inline"` GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"` Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"` OrphanDependents *bool `json:"orphanDependents,omitempty"` PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"` DryRun []string `json:"dryRun,omitempty"` }
DeleteOptionsApplyConfiguration represents an declarative configuration of the DeleteOptions type for use with apply.
func DeleteOptions ¶
func DeleteOptions() *DeleteOptionsApplyConfiguration
DeleteOptionsApplyConfiguration constructs an declarative configuration of the DeleteOptions type for use with apply.
func (*DeleteOptionsApplyConfiguration) WithAPIVersion ¶
func (b *DeleteOptionsApplyConfiguration) WithAPIVersion(value string) *DeleteOptionsApplyConfiguration
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 (*DeleteOptionsApplyConfiguration) WithDryRun ¶
func (b *DeleteOptionsApplyConfiguration) WithDryRun(values ...string) *DeleteOptionsApplyConfiguration
WithDryRun adds the given value to the DryRun 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 DryRun field.
func (*DeleteOptionsApplyConfiguration) WithGracePeriodSeconds ¶
func (b *DeleteOptionsApplyConfiguration) WithGracePeriodSeconds(value int64) *DeleteOptionsApplyConfiguration
WithGracePeriodSeconds sets the GracePeriodSeconds 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 GracePeriodSeconds field is set to the value of the last call.
func (*DeleteOptionsApplyConfiguration) WithKind ¶
func (b *DeleteOptionsApplyConfiguration) WithKind(value string) *DeleteOptionsApplyConfiguration
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 (*DeleteOptionsApplyConfiguration) WithOrphanDependents ¶
func (b *DeleteOptionsApplyConfiguration) WithOrphanDependents(value bool) *DeleteOptionsApplyConfiguration
WithOrphanDependents sets the OrphanDependents 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 OrphanDependents field is set to the value of the last call.
func (*DeleteOptionsApplyConfiguration) WithPreconditions ¶
func (b *DeleteOptionsApplyConfiguration) WithPreconditions(value *PreconditionsApplyConfiguration) *DeleteOptionsApplyConfiguration
WithPreconditions sets the Preconditions 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 Preconditions field is set to the value of the last call.
func (*DeleteOptionsApplyConfiguration) WithPropagationPolicy ¶
func (b *DeleteOptionsApplyConfiguration) WithPropagationPolicy(value metav1.DeletionPropagation) *DeleteOptionsApplyConfiguration
WithPropagationPolicy sets the PropagationPolicy 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 PropagationPolicy field is set to the value of the last call.
type GroupVersionKindApplyConfiguration ¶ added in v0.26.0
type GroupVersionKindApplyConfiguration struct { Group *string `json:"group,omitempty"` Version *string `json:"version,omitempty"` Kind *string `json:"kind,omitempty"` }
GroupVersionKindApplyConfiguration represents an declarative configuration of the GroupVersionKind type for use with apply.
func GroupVersionKind ¶ added in v0.26.0
func GroupVersionKind() *GroupVersionKindApplyConfiguration
GroupVersionKindApplyConfiguration constructs an declarative configuration of the GroupVersionKind type for use with apply.
func (*GroupVersionKindApplyConfiguration) WithGroup ¶ added in v0.26.0
func (b *GroupVersionKindApplyConfiguration) WithGroup(value string) *GroupVersionKindApplyConfiguration
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 (*GroupVersionKindApplyConfiguration) WithKind ¶ added in v0.26.0
func (b *GroupVersionKindApplyConfiguration) WithKind(value string) *GroupVersionKindApplyConfiguration
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 (*GroupVersionKindApplyConfiguration) WithVersion ¶ added in v0.26.0
func (b *GroupVersionKindApplyConfiguration) WithVersion(value string) *GroupVersionKindApplyConfiguration
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 LabelSelectorApplyConfiguration ¶
type LabelSelectorApplyConfiguration struct { MatchLabels map[string]string `json:"matchLabels,omitempty"` MatchExpressions []LabelSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"` }
LabelSelectorApplyConfiguration represents an declarative configuration of the LabelSelector type for use with apply.
func LabelSelector ¶
func LabelSelector() *LabelSelectorApplyConfiguration
LabelSelectorApplyConfiguration constructs an declarative configuration of the LabelSelector type for use with apply.
func (*LabelSelectorApplyConfiguration) WithMatchExpressions ¶
func (b *LabelSelectorApplyConfiguration) WithMatchExpressions(values ...*LabelSelectorRequirementApplyConfiguration) *LabelSelectorApplyConfiguration
WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.
func (*LabelSelectorApplyConfiguration) WithMatchLabels ¶
func (b *LabelSelectorApplyConfiguration) WithMatchLabels(entries map[string]string) *LabelSelectorApplyConfiguration
WithMatchLabels puts the entries into the MatchLabels 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 MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.
type LabelSelectorRequirementApplyConfiguration ¶
type LabelSelectorRequirementApplyConfiguration struct { Key *string `json:"key,omitempty"` Operator *v1.LabelSelectorOperator `json:"operator,omitempty"` Values []string `json:"values,omitempty"` }
LabelSelectorRequirementApplyConfiguration represents an declarative configuration of the LabelSelectorRequirement type for use with apply.
func LabelSelectorRequirement ¶
func LabelSelectorRequirement() *LabelSelectorRequirementApplyConfiguration
LabelSelectorRequirementApplyConfiguration constructs an declarative configuration of the LabelSelectorRequirement type for use with apply.
func (*LabelSelectorRequirementApplyConfiguration) WithKey ¶
func (b *LabelSelectorRequirementApplyConfiguration) WithKey(value string) *LabelSelectorRequirementApplyConfiguration
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 (*LabelSelectorRequirementApplyConfiguration) WithOperator ¶
func (b *LabelSelectorRequirementApplyConfiguration) WithOperator(value v1.LabelSelectorOperator) *LabelSelectorRequirementApplyConfiguration
WithOperator sets the Operator 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 Operator field is set to the value of the last call.
func (*LabelSelectorRequirementApplyConfiguration) WithValues ¶
func (b *LabelSelectorRequirementApplyConfiguration) WithValues(values ...string) *LabelSelectorRequirementApplyConfiguration
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 ListMetaApplyConfiguration ¶ added in v0.25.0
type ListMetaApplyConfiguration struct { SelfLink *string `json:"selfLink,omitempty"` ResourceVersion *string `json:"resourceVersion,omitempty"` Continue *string `json:"continue,omitempty"` RemainingItemCount *int64 `json:"remainingItemCount,omitempty"` }
ListMetaApplyConfiguration represents an declarative configuration of the ListMeta type for use with apply.
func ListMeta ¶ added in v0.25.0
func ListMeta() *ListMetaApplyConfiguration
ListMetaApplyConfiguration constructs an declarative configuration of the ListMeta type for use with apply.
func (*ListMetaApplyConfiguration) WithContinue ¶ added in v0.25.0
func (b *ListMetaApplyConfiguration) WithContinue(value string) *ListMetaApplyConfiguration
WithContinue sets the Continue 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 Continue field is set to the value of the last call.
func (*ListMetaApplyConfiguration) WithRemainingItemCount ¶ added in v0.25.0
func (b *ListMetaApplyConfiguration) WithRemainingItemCount(value int64) *ListMetaApplyConfiguration
WithRemainingItemCount sets the RemainingItemCount 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 RemainingItemCount field is set to the value of the last call.
func (*ListMetaApplyConfiguration) WithResourceVersion ¶ added in v0.25.0
func (b *ListMetaApplyConfiguration) WithResourceVersion(value string) *ListMetaApplyConfiguration
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 (*ListMetaApplyConfiguration) WithSelfLink ¶ added in v0.25.0
func (b *ListMetaApplyConfiguration) WithSelfLink(value string) *ListMetaApplyConfiguration
WithSelfLink sets the SelfLink 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 SelfLink field is set to the value of the last call.
type ManagedFieldsEntryApplyConfiguration ¶
type ManagedFieldsEntryApplyConfiguration struct { Manager *string `json:"manager,omitempty"` Operation *v1.ManagedFieldsOperationType `json:"operation,omitempty"` APIVersion *string `json:"apiVersion,omitempty"` Time *v1.Time `json:"time,omitempty"` FieldsType *string `json:"fieldsType,omitempty"` FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"` Subresource *string `json:"subresource,omitempty"` }
ManagedFieldsEntryApplyConfiguration represents an declarative configuration of the ManagedFieldsEntry type for use with apply.
func ManagedFieldsEntry ¶
func ManagedFieldsEntry() *ManagedFieldsEntryApplyConfiguration
ManagedFieldsEntryApplyConfiguration constructs an declarative configuration of the ManagedFieldsEntry type for use with apply.
func (*ManagedFieldsEntryApplyConfiguration) WithAPIVersion ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithAPIVersion(value string) *ManagedFieldsEntryApplyConfiguration
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 (*ManagedFieldsEntryApplyConfiguration) WithFieldsType ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsType(value string) *ManagedFieldsEntryApplyConfiguration
WithFieldsType sets the FieldsType 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 FieldsType field is set to the value of the last call.
func (*ManagedFieldsEntryApplyConfiguration) WithFieldsV1 ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsV1(value v1.FieldsV1) *ManagedFieldsEntryApplyConfiguration
WithFieldsV1 sets the FieldsV1 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 FieldsV1 field is set to the value of the last call.
func (*ManagedFieldsEntryApplyConfiguration) WithManager ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithManager(value string) *ManagedFieldsEntryApplyConfiguration
WithManager sets the Manager 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 Manager field is set to the value of the last call.
func (*ManagedFieldsEntryApplyConfiguration) WithOperation ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithOperation(value v1.ManagedFieldsOperationType) *ManagedFieldsEntryApplyConfiguration
WithOperation sets the Operation 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 Operation field is set to the value of the last call.
func (*ManagedFieldsEntryApplyConfiguration) WithSubresource ¶ added in v0.22.0
func (b *ManagedFieldsEntryApplyConfiguration) WithSubresource(value string) *ManagedFieldsEntryApplyConfiguration
WithSubresource sets the Subresource 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 Subresource field is set to the value of the last call.
func (*ManagedFieldsEntryApplyConfiguration) WithTime ¶
func (b *ManagedFieldsEntryApplyConfiguration) WithTime(value v1.Time) *ManagedFieldsEntryApplyConfiguration
WithTime sets the Time 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 Time field is set to the value of the last call.
type ObjectMetaApplyConfiguration ¶
type ObjectMetaApplyConfiguration struct { Name *string `json:"name,omitempty"` GenerateName *string `json:"generateName,omitempty"` Namespace *string `json:"namespace,omitempty"` UID *types.UID `json:"uid,omitempty"` ResourceVersion *string `json:"resourceVersion,omitempty"` Generation *int64 `json:"generation,omitempty"` CreationTimestamp *v1.Time `json:"creationTimestamp,omitempty"` DeletionTimestamp *v1.Time `json:"deletionTimestamp,omitempty"` DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` OwnerReferences []OwnerReferenceApplyConfiguration `json:"ownerReferences,omitempty"` Finalizers []string `json:"finalizers,omitempty"` }
ObjectMetaApplyConfiguration represents an declarative configuration of the ObjectMeta type for use with apply.
func ObjectMeta ¶
func ObjectMeta() *ObjectMetaApplyConfiguration
ObjectMetaApplyConfiguration constructs an declarative configuration of the ObjectMeta type for use with apply.
func (*ObjectMetaApplyConfiguration) WithAnnotations ¶
func (b *ObjectMetaApplyConfiguration) WithAnnotations(entries map[string]string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithCreationTimestamp ¶
func (b *ObjectMetaApplyConfiguration) WithCreationTimestamp(value v1.Time) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ObjectMetaApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithDeletionTimestamp ¶
func (b *ObjectMetaApplyConfiguration) WithDeletionTimestamp(value v1.Time) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithFinalizers ¶
func (b *ObjectMetaApplyConfiguration) WithFinalizers(values ...string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithGenerateName ¶
func (b *ObjectMetaApplyConfiguration) WithGenerateName(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithGeneration ¶
func (b *ObjectMetaApplyConfiguration) WithGeneration(value int64) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithLabels ¶
func (b *ObjectMetaApplyConfiguration) WithLabels(entries map[string]string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithName ¶
func (b *ObjectMetaApplyConfiguration) WithName(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithNamespace ¶
func (b *ObjectMetaApplyConfiguration) WithNamespace(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithOwnerReferences ¶
func (b *ObjectMetaApplyConfiguration) WithOwnerReferences(values ...*OwnerReferenceApplyConfiguration) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithResourceVersion ¶
func (b *ObjectMetaApplyConfiguration) WithResourceVersion(value string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithUID ¶
func (b *ObjectMetaApplyConfiguration) WithUID(value types.UID) *ObjectMetaApplyConfiguration
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 OwnerReferenceApplyConfiguration ¶
type OwnerReferenceApplyConfiguration struct { APIVersion *string `json:"apiVersion,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` UID *types.UID `json:"uid,omitempty"` Controller *bool `json:"controller,omitempty"` BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty"` }
OwnerReferenceApplyConfiguration represents an declarative configuration of the OwnerReference type for use with apply.
func OwnerReference ¶
func OwnerReference() *OwnerReferenceApplyConfiguration
OwnerReferenceApplyConfiguration constructs an declarative configuration of the OwnerReference type for use with apply.
func (*OwnerReferenceApplyConfiguration) WithAPIVersion ¶
func (b *OwnerReferenceApplyConfiguration) WithAPIVersion(value string) *OwnerReferenceApplyConfiguration
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 (*OwnerReferenceApplyConfiguration) WithBlockOwnerDeletion ¶
func (b *OwnerReferenceApplyConfiguration) WithBlockOwnerDeletion(value bool) *OwnerReferenceApplyConfiguration
WithBlockOwnerDeletion sets the BlockOwnerDeletion 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 BlockOwnerDeletion field is set to the value of the last call.
func (*OwnerReferenceApplyConfiguration) WithController ¶
func (b *OwnerReferenceApplyConfiguration) WithController(value bool) *OwnerReferenceApplyConfiguration
WithController sets the Controller 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 Controller field is set to the value of the last call.
func (*OwnerReferenceApplyConfiguration) WithKind ¶
func (b *OwnerReferenceApplyConfiguration) WithKind(value string) *OwnerReferenceApplyConfiguration
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 (*OwnerReferenceApplyConfiguration) WithName ¶
func (b *OwnerReferenceApplyConfiguration) WithName(value string) *OwnerReferenceApplyConfiguration
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 (*OwnerReferenceApplyConfiguration) WithUID ¶
func (b *OwnerReferenceApplyConfiguration) WithUID(value types.UID) *OwnerReferenceApplyConfiguration
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 PreconditionsApplyConfiguration ¶
type PreconditionsApplyConfiguration struct { UID *types.UID `json:"uid,omitempty"` ResourceVersion *string `json:"resourceVersion,omitempty"` }
PreconditionsApplyConfiguration represents an declarative configuration of the Preconditions type for use with apply.
func Preconditions ¶
func Preconditions() *PreconditionsApplyConfiguration
PreconditionsApplyConfiguration constructs an declarative configuration of the Preconditions type for use with apply.
func (*PreconditionsApplyConfiguration) WithResourceVersion ¶
func (b *PreconditionsApplyConfiguration) WithResourceVersion(value string) *PreconditionsApplyConfiguration
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 (*PreconditionsApplyConfiguration) WithUID ¶
func (b *PreconditionsApplyConfiguration) WithUID(value types.UID) *PreconditionsApplyConfiguration
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 StatusApplyConfiguration ¶ added in v0.26.0
type StatusApplyConfiguration struct { TypeMetaApplyConfiguration `json:",inline"` *ListMetaApplyConfiguration `json:"metadata,omitempty"` Status *string `json:"status,omitempty"` Message *string `json:"message,omitempty"` Reason *metav1.StatusReason `json:"reason,omitempty"` Details *StatusDetailsApplyConfiguration `json:"details,omitempty"` Code *int32 `json:"code,omitempty"` }
StatusApplyConfiguration represents an declarative configuration of the Status type for use with apply.
func Status ¶ added in v0.26.0
func Status() *StatusApplyConfiguration
StatusApplyConfiguration constructs an declarative configuration of the Status type for use with apply.
func (*StatusApplyConfiguration) WithAPIVersion ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithAPIVersion(value string) *StatusApplyConfiguration
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 (*StatusApplyConfiguration) WithCode ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithCode(value int32) *StatusApplyConfiguration
WithCode sets the Code 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 Code field is set to the value of the last call.
func (*StatusApplyConfiguration) WithContinue ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithContinue(value string) *StatusApplyConfiguration
WithContinue sets the Continue 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 Continue field is set to the value of the last call.
func (*StatusApplyConfiguration) WithDetails ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithDetails(value *StatusDetailsApplyConfiguration) *StatusApplyConfiguration
WithDetails sets the Details 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 Details field is set to the value of the last call.
func (*StatusApplyConfiguration) WithKind ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithKind(value string) *StatusApplyConfiguration
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 (*StatusApplyConfiguration) WithMessage ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithMessage(value string) *StatusApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*StatusApplyConfiguration) WithReason ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithReason(value metav1.StatusReason) *StatusApplyConfiguration
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.
func (*StatusApplyConfiguration) WithRemainingItemCount ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithRemainingItemCount(value int64) *StatusApplyConfiguration
WithRemainingItemCount sets the RemainingItemCount 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 RemainingItemCount field is set to the value of the last call.
func (*StatusApplyConfiguration) WithResourceVersion ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithResourceVersion(value string) *StatusApplyConfiguration
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 (*StatusApplyConfiguration) WithSelfLink ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithSelfLink(value string) *StatusApplyConfiguration
WithSelfLink sets the SelfLink 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 SelfLink field is set to the value of the last call.
func (*StatusApplyConfiguration) WithStatus ¶ added in v0.26.0
func (b *StatusApplyConfiguration) WithStatus(value string) *StatusApplyConfiguration
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.
type StatusCauseApplyConfiguration ¶ added in v0.26.0
type StatusCauseApplyConfiguration struct { Type *v1.CauseType `json:"reason,omitempty"` Message *string `json:"message,omitempty"` Field *string `json:"field,omitempty"` }
StatusCauseApplyConfiguration represents an declarative configuration of the StatusCause type for use with apply.
func StatusCause ¶ added in v0.26.0
func StatusCause() *StatusCauseApplyConfiguration
StatusCauseApplyConfiguration constructs an declarative configuration of the StatusCause type for use with apply.
func (*StatusCauseApplyConfiguration) WithField ¶ added in v0.26.0
func (b *StatusCauseApplyConfiguration) WithField(value string) *StatusCauseApplyConfiguration
WithField sets the Field 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 Field field is set to the value of the last call.
func (*StatusCauseApplyConfiguration) WithMessage ¶ added in v0.26.0
func (b *StatusCauseApplyConfiguration) WithMessage(value string) *StatusCauseApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*StatusCauseApplyConfiguration) WithType ¶ added in v0.26.0
func (b *StatusCauseApplyConfiguration) WithType(value v1.CauseType) *StatusCauseApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type StatusDetailsApplyConfiguration ¶ added in v0.26.0
type StatusDetailsApplyConfiguration struct { Name *string `json:"name,omitempty"` Group *string `json:"group,omitempty"` Kind *string `json:"kind,omitempty"` UID *types.UID `json:"uid,omitempty"` Causes []StatusCauseApplyConfiguration `json:"causes,omitempty"` RetryAfterSeconds *int32 `json:"retryAfterSeconds,omitempty"` }
StatusDetailsApplyConfiguration represents an declarative configuration of the StatusDetails type for use with apply.
func StatusDetails ¶ added in v0.26.0
func StatusDetails() *StatusDetailsApplyConfiguration
StatusDetailsApplyConfiguration constructs an declarative configuration of the StatusDetails type for use with apply.
func (*StatusDetailsApplyConfiguration) WithCauses ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithCauses(values ...*StatusCauseApplyConfiguration) *StatusDetailsApplyConfiguration
WithCauses adds the given value to the Causes 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 Causes field.
func (*StatusDetailsApplyConfiguration) WithGroup ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithGroup(value string) *StatusDetailsApplyConfiguration
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 (*StatusDetailsApplyConfiguration) WithKind ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithKind(value string) *StatusDetailsApplyConfiguration
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 (*StatusDetailsApplyConfiguration) WithName ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithName(value string) *StatusDetailsApplyConfiguration
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 (*StatusDetailsApplyConfiguration) WithRetryAfterSeconds ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithRetryAfterSeconds(value int32) *StatusDetailsApplyConfiguration
WithRetryAfterSeconds sets the RetryAfterSeconds 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 RetryAfterSeconds field is set to the value of the last call.
func (*StatusDetailsApplyConfiguration) WithUID ¶ added in v0.26.0
func (b *StatusDetailsApplyConfiguration) WithUID(value types.UID) *StatusDetailsApplyConfiguration
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 TypeMetaApplyConfiguration ¶
type TypeMetaApplyConfiguration struct { Kind *string `json:"kind,omitempty"` APIVersion *string `json:"apiVersion,omitempty"` }
TypeMetaApplyConfiguration represents an declarative configuration of the TypeMeta type for use with apply.
func TypeMeta ¶
func TypeMeta() *TypeMetaApplyConfiguration
TypeMetaApplyConfiguration constructs an declarative configuration of the TypeMeta type for use with apply.
func (*TypeMetaApplyConfiguration) WithAPIVersion ¶
func (b *TypeMetaApplyConfiguration) WithAPIVersion(value string) *TypeMetaApplyConfiguration
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 (*TypeMetaApplyConfiguration) WithKind ¶
func (b *TypeMetaApplyConfiguration) WithKind(value string) *TypeMetaApplyConfiguration
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.
type UnstructuredExtractor ¶ added in v0.23.0
type UnstructuredExtractor interface { Extract(object *unstructured.Unstructured, fieldManager string) (*unstructured.Unstructured, error) ExtractStatus(object *unstructured.Unstructured, fieldManager string) (*unstructured.Unstructured, error) }
UnstructuredExtractor enables extracting the applied configuration state from object for fieldManager into an unstructured object type.
func NewUnstructuredExtractor ¶ added in v0.23.0
func NewUnstructuredExtractor(dc discovery.DiscoveryInterface) (UnstructuredExtractor, error)
NewUnstructuredExtractor creates the extractor with which you can extract the applied configuration for a given manager from an unstructured object.