v1alpha1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublishedResourceApplyConfiguration

type PublishedResourceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PublishedResourceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PublishedResourceStatusApplyConfiguration `json:"status,omitempty"`
}

PublishedResourceApplyConfiguration represents a declarative configuration of the PublishedResource type for use with apply.

func PublishedResource

func PublishedResource(name string) *PublishedResourceApplyConfiguration

PublishedResource constructs a declarative configuration of the PublishedResource type for use with apply.

func (*PublishedResourceApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

func (*PublishedResourceApplyConfiguration) WithCreationTimestamp

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

func (*PublishedResourceApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

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

func (*PublishedResourceApplyConfiguration) WithFinalizers

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

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

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

func (*PublishedResourceApplyConfiguration) 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 (*PublishedResourceApplyConfiguration) 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 (*PublishedResourceApplyConfiguration) 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 PublishedResourceSpecApplyConfiguration

type PublishedResourceSpecApplyConfiguration struct {
	Resource             *SourceResourceDescriptorApplyConfiguration `json:"resource,omitempty"`
	Filter               *ResourceFilterApplyConfiguration           `json:"filter,omitempty"`
	Naming               *ResourceNamingApplyConfiguration           `json:"naming,omitempty"`
	EnableWorkspacePaths *bool                                       `json:"enableWorkspacePaths,omitempty"`
	Projection           *ResourceProjectionApplyConfiguration       `json:"projection,omitempty"`
	Mutation             *ResourceMutationSpecApplyConfiguration     `json:"mutation,omitempty"`
	Related              []RelatedResourceSpecApplyConfiguration     `json:"related,omitempty"`
}

PublishedResourceSpecApplyConfiguration represents a declarative configuration of the PublishedResourceSpec type for use with apply.

func PublishedResourceSpec

func PublishedResourceSpec() *PublishedResourceSpecApplyConfiguration

PublishedResourceSpecApplyConfiguration constructs a declarative configuration of the PublishedResourceSpec type for use with apply.

func (*PublishedResourceSpecApplyConfiguration) WithEnableWorkspacePaths

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

func (*PublishedResourceSpecApplyConfiguration) WithFilter

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

func (*PublishedResourceSpecApplyConfiguration) WithMutation

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

func (*PublishedResourceSpecApplyConfiguration) WithNaming

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

func (*PublishedResourceSpecApplyConfiguration) WithProjection

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

func (*PublishedResourceSpecApplyConfiguration) WithRelated

WithRelated adds the given value to the Related 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 Related field.

func (*PublishedResourceSpecApplyConfiguration) 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 PublishedResourceStatusApplyConfiguration

type PublishedResourceStatusApplyConfiguration struct {
	ResourceSchemaName *string `json:"resourceSchemaName,omitempty"`
}

PublishedResourceStatusApplyConfiguration represents a declarative configuration of the PublishedResourceStatus type for use with apply.

func PublishedResourceStatus

func PublishedResourceStatus() *PublishedResourceStatusApplyConfiguration

PublishedResourceStatusApplyConfiguration constructs a declarative configuration of the PublishedResourceStatus type for use with apply.

func (*PublishedResourceStatusApplyConfiguration) WithResourceSchemaName

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

type RegularExpressionApplyConfiguration

type RegularExpressionApplyConfiguration struct {
	Pattern     *string `json:"pattern,omitempty"`
	Replacement *string `json:"replacement,omitempty"`
}

RegularExpressionApplyConfiguration represents a declarative configuration of the RegularExpression type for use with apply.

func RegularExpression

func RegularExpression() *RegularExpressionApplyConfiguration

RegularExpressionApplyConfiguration constructs a declarative configuration of the RegularExpression type for use with apply.

func (*RegularExpressionApplyConfiguration) WithPattern

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

func (*RegularExpressionApplyConfiguration) WithReplacement

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

type RelatedResourceObjectApplyConfiguration

type RelatedResourceObjectApplyConfiguration struct {
	RelatedResourceObjectSpecApplyConfiguration `json:",inline"`
	Namespace                                   *RelatedResourceObjectSpecApplyConfiguration `json:"namespace,omitempty"`
}

RelatedResourceObjectApplyConfiguration represents a declarative configuration of the RelatedResourceObject type for use with apply.

func RelatedResourceObject

func RelatedResourceObject() *RelatedResourceObjectApplyConfiguration

RelatedResourceObjectApplyConfiguration constructs a declarative configuration of the RelatedResourceObject type for use with apply.

func (*RelatedResourceObjectApplyConfiguration) 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 (*RelatedResourceObjectApplyConfiguration) WithReference

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

func (*RelatedResourceObjectApplyConfiguration) WithSelector

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

func (*RelatedResourceObjectApplyConfiguration) WithTemplate

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

type RelatedResourceObjectReferenceApplyConfiguration

type RelatedResourceObjectReferenceApplyConfiguration struct {
	Path  *string                              `json:"path,omitempty"`
	Regex *RegularExpressionApplyConfiguration `json:"regex,omitempty"`
}

RelatedResourceObjectReferenceApplyConfiguration represents a declarative configuration of the RelatedResourceObjectReference type for use with apply.

func RelatedResourceObjectReference

func RelatedResourceObjectReference() *RelatedResourceObjectReferenceApplyConfiguration

RelatedResourceObjectReferenceApplyConfiguration constructs a declarative configuration of the RelatedResourceObjectReference type for use with apply.

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

func (*RelatedResourceObjectReferenceApplyConfiguration) WithRegex

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

type RelatedResourceObjectSelectorApplyConfiguration

type RelatedResourceObjectSelectorApplyConfiguration struct {
	v1.LabelSelectorApplyConfiguration `json:",inline"`
	Rewrite                            *RelatedResourceSelectorRewriteApplyConfiguration `json:"rewrite,omitempty"`
}

RelatedResourceObjectSelectorApplyConfiguration represents a declarative configuration of the RelatedResourceObjectSelector type for use with apply.

func RelatedResourceObjectSelector

func RelatedResourceObjectSelector() *RelatedResourceObjectSelectorApplyConfiguration

RelatedResourceObjectSelectorApplyConfiguration constructs a declarative configuration of the RelatedResourceObjectSelector type for use with apply.

func (*RelatedResourceObjectSelectorApplyConfiguration) WithMatchExpressions

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 (*RelatedResourceObjectSelectorApplyConfiguration) WithMatchLabels

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.

func (*RelatedResourceObjectSelectorApplyConfiguration) WithRewrite

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

type RelatedResourceObjectSpecApplyConfiguration

type RelatedResourceObjectSpecApplyConfiguration struct {
	Selector  *RelatedResourceObjectSelectorApplyConfiguration  `json:"selector,omitempty"`
	Reference *RelatedResourceObjectReferenceApplyConfiguration `json:"reference,omitempty"`
	Template  *TemplateExpressionApplyConfiguration             `json:"template,omitempty"`
}

RelatedResourceObjectSpecApplyConfiguration represents a declarative configuration of the RelatedResourceObjectSpec type for use with apply.

func RelatedResourceObjectSpec

func RelatedResourceObjectSpec() *RelatedResourceObjectSpecApplyConfiguration

RelatedResourceObjectSpecApplyConfiguration constructs a declarative configuration of the RelatedResourceObjectSpec type for use with apply.

func (*RelatedResourceObjectSpecApplyConfiguration) WithReference

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

func (*RelatedResourceObjectSpecApplyConfiguration) WithSelector

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

func (*RelatedResourceObjectSpecApplyConfiguration) WithTemplate

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

type RelatedResourceSelectorRewriteApplyConfiguration

type RelatedResourceSelectorRewriteApplyConfiguration struct {
	Regex    *RegularExpressionApplyConfiguration  `json:"regex,omitempty"`
	Template *TemplateExpressionApplyConfiguration `json:"template,omitempty"`
}

RelatedResourceSelectorRewriteApplyConfiguration represents a declarative configuration of the RelatedResourceSelectorRewrite type for use with apply.

func RelatedResourceSelectorRewrite

func RelatedResourceSelectorRewrite() *RelatedResourceSelectorRewriteApplyConfiguration

RelatedResourceSelectorRewriteApplyConfiguration constructs a declarative configuration of the RelatedResourceSelectorRewrite type for use with apply.

func (*RelatedResourceSelectorRewriteApplyConfiguration) WithRegex

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

func (*RelatedResourceSelectorRewriteApplyConfiguration) WithTemplate

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

type RelatedResourceSpecApplyConfiguration

type RelatedResourceSpecApplyConfiguration struct {
	Identifier *string                                  `json:"identifier,omitempty"`
	Origin     *syncagentv1alpha1.RelatedResourceOrigin `json:"origin,omitempty"`
	Kind       *string                                  `json:"kind,omitempty"`
	Object     *RelatedResourceObjectApplyConfiguration `json:"object,omitempty"`
	Mutation   *ResourceMutationSpecApplyConfiguration  `json:"mutation,omitempty"`
}

RelatedResourceSpecApplyConfiguration represents a declarative configuration of the RelatedResourceSpec type for use with apply.

func RelatedResourceSpec

func RelatedResourceSpec() *RelatedResourceSpecApplyConfiguration

RelatedResourceSpecApplyConfiguration constructs a declarative configuration of the RelatedResourceSpec type for use with apply.

func (*RelatedResourceSpecApplyConfiguration) WithIdentifier

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

func (*RelatedResourceSpecApplyConfiguration) 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 (*RelatedResourceSpecApplyConfiguration) WithMutation

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

func (*RelatedResourceSpecApplyConfiguration) WithObject

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

func (*RelatedResourceSpecApplyConfiguration) WithOrigin

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

type ResourceDeleteMutationApplyConfiguration

type ResourceDeleteMutationApplyConfiguration struct {
	Path *string `json:"path,omitempty"`
}

ResourceDeleteMutationApplyConfiguration represents a declarative configuration of the ResourceDeleteMutation type for use with apply.

func ResourceDeleteMutation

func ResourceDeleteMutation() *ResourceDeleteMutationApplyConfiguration

ResourceDeleteMutationApplyConfiguration constructs a declarative configuration of the ResourceDeleteMutation type for use with apply.

func (*ResourceDeleteMutationApplyConfiguration) 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 ResourceFilterApplyConfiguration

type ResourceFilterApplyConfiguration struct {
	Namespace *v1.LabelSelectorApplyConfiguration `json:"namespace,omitempty"`
	Resource  *v1.LabelSelectorApplyConfiguration `json:"resource,omitempty"`
}

ResourceFilterApplyConfiguration represents a declarative configuration of the ResourceFilter type for use with apply.

func ResourceFilter

func ResourceFilter() *ResourceFilterApplyConfiguration

ResourceFilterApplyConfiguration constructs a declarative configuration of the ResourceFilter type for use with apply.

func (*ResourceFilterApplyConfiguration) 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 (*ResourceFilterApplyConfiguration) 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 ResourceMutationApplyConfiguration

type ResourceMutationApplyConfiguration struct {
	Delete   *ResourceDeleteMutationApplyConfiguration   `json:"delete,omitempty"`
	Regex    *ResourceRegexMutationApplyConfiguration    `json:"regex,omitempty"`
	Template *ResourceTemplateMutationApplyConfiguration `json:"template,omitempty"`
}

ResourceMutationApplyConfiguration represents a declarative configuration of the ResourceMutation type for use with apply.

func ResourceMutation

func ResourceMutation() *ResourceMutationApplyConfiguration

ResourceMutationApplyConfiguration constructs a declarative configuration of the ResourceMutation type for use with apply.

func (*ResourceMutationApplyConfiguration) WithDelete

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

func (*ResourceMutationApplyConfiguration) WithRegex

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

func (*ResourceMutationApplyConfiguration) WithTemplate

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

type ResourceMutationSpecApplyConfiguration

type ResourceMutationSpecApplyConfiguration struct {
	Spec   []ResourceMutationApplyConfiguration `json:"spec,omitempty"`
	Status []ResourceMutationApplyConfiguration `json:"status,omitempty"`
}

ResourceMutationSpecApplyConfiguration represents a declarative configuration of the ResourceMutationSpec type for use with apply.

func ResourceMutationSpec

func ResourceMutationSpec() *ResourceMutationSpecApplyConfiguration

ResourceMutationSpecApplyConfiguration constructs a declarative configuration of the ResourceMutationSpec type for use with apply.

func (*ResourceMutationSpecApplyConfiguration) WithSpec

WithSpec adds the given value to the Spec 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 Spec field.

func (*ResourceMutationSpecApplyConfiguration) WithStatus

WithStatus adds the given value to the Status 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 Status field.

type ResourceNamingApplyConfiguration

type ResourceNamingApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

ResourceNamingApplyConfiguration represents a declarative configuration of the ResourceNaming type for use with apply.

func ResourceNaming

func ResourceNaming() *ResourceNamingApplyConfiguration

ResourceNamingApplyConfiguration constructs a declarative configuration of the ResourceNaming type for use with apply.

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

type ResourceProjectionApplyConfiguration

type ResourceProjectionApplyConfiguration struct {
	Group      *string                          `json:"group,omitempty"`
	Version    *string                          `json:"version,omitempty"`
	Versions   map[string]string                `json:"versions,omitempty"`
	Scope      *syncagentv1alpha1.ResourceScope `json:"scope,omitempty"`
	Kind       *string                          `json:"kind,omitempty"`
	Plural     *string                          `json:"plural,omitempty"`
	ShortNames []string                         `json:"shortNames,omitempty"`
	Categories []string                         `json:"categories,omitempty"`
}

ResourceProjectionApplyConfiguration represents a declarative configuration of the ResourceProjection type for use with apply.

func ResourceProjection

func ResourceProjection() *ResourceProjectionApplyConfiguration

ResourceProjectionApplyConfiguration constructs a declarative configuration of the ResourceProjection type for use with apply.

func (*ResourceProjectionApplyConfiguration) WithCategories

WithCategories adds the given value to the Categories 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 Categories field.

func (*ResourceProjectionApplyConfiguration) 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 (*ResourceProjectionApplyConfiguration) 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 (*ResourceProjectionApplyConfiguration) WithPlural

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

func (*ResourceProjectionApplyConfiguration) WithScope

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

func (*ResourceProjectionApplyConfiguration) WithShortNames

WithShortNames adds the given value to the ShortNames 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 ShortNames field.

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

func (*ResourceProjectionApplyConfiguration) WithVersions

WithVersions puts the entries into the Versions 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 Versions field, overwriting an existing map entries in Versions field with the same key.

type ResourceRegexMutationApplyConfiguration

type ResourceRegexMutationApplyConfiguration struct {
	Path        *string `json:"path,omitempty"`
	Pattern     *string `json:"pattern,omitempty"`
	Replacement *string `json:"replacement,omitempty"`
}

ResourceRegexMutationApplyConfiguration represents a declarative configuration of the ResourceRegexMutation type for use with apply.

func ResourceRegexMutation

func ResourceRegexMutation() *ResourceRegexMutationApplyConfiguration

ResourceRegexMutationApplyConfiguration constructs a declarative configuration of the ResourceRegexMutation type for use with apply.

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

func (*ResourceRegexMutationApplyConfiguration) WithPattern

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

func (*ResourceRegexMutationApplyConfiguration) WithReplacement

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

type ResourceTemplateMutationApplyConfiguration

type ResourceTemplateMutationApplyConfiguration struct {
	Path     *string `json:"path,omitempty"`
	Template *string `json:"template,omitempty"`
}

ResourceTemplateMutationApplyConfiguration represents a declarative configuration of the ResourceTemplateMutation type for use with apply.

func ResourceTemplateMutation

func ResourceTemplateMutation() *ResourceTemplateMutationApplyConfiguration

ResourceTemplateMutationApplyConfiguration constructs a declarative configuration of the ResourceTemplateMutation type for use with apply.

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

func (*ResourceTemplateMutationApplyConfiguration) WithTemplate

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

type SourceResourceDescriptorApplyConfiguration

type SourceResourceDescriptorApplyConfiguration struct {
	APIGroup *string  `json:"apiGroup,omitempty"`
	Version  *string  `json:"version,omitempty"`
	Versions []string `json:"versions,omitempty"`
	Kind     *string  `json:"kind,omitempty"`
}

SourceResourceDescriptorApplyConfiguration represents a declarative configuration of the SourceResourceDescriptor type for use with apply.

func SourceResourceDescriptor

func SourceResourceDescriptor() *SourceResourceDescriptorApplyConfiguration

SourceResourceDescriptorApplyConfiguration constructs a declarative configuration of the SourceResourceDescriptor type for use with apply.

func (*SourceResourceDescriptorApplyConfiguration) WithAPIGroup

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

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

func (*SourceResourceDescriptorApplyConfiguration) WithVersions

WithVersions adds the given value to the Versions 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 Versions field.

type TemplateExpressionApplyConfiguration

type TemplateExpressionApplyConfiguration struct {
	Template *string `json:"template,omitempty"`
}

TemplateExpressionApplyConfiguration represents a declarative configuration of the TemplateExpression type for use with apply.

func TemplateExpression

func TemplateExpression() *TemplateExpressionApplyConfiguration

TemplateExpressionApplyConfiguration constructs a declarative configuration of the TemplateExpression type for use with apply.

func (*TemplateExpressionApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template 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