Documentation ¶
Index ¶
- type PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) GetName() *string
- func (b *PublishedResourceApplyConfiguration) WithAPIVersion(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithFinalizers(values ...string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithGenerateName(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithGeneration(value int64) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithKind(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithLabels(entries map[string]string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithName(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithNamespace(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithResourceVersion(value string) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithSpec(value *PublishedResourceSpecApplyConfiguration) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithStatus(value *PublishedResourceStatusApplyConfiguration) *PublishedResourceApplyConfiguration
- func (b *PublishedResourceApplyConfiguration) WithUID(value types.UID) *PublishedResourceApplyConfiguration
- type PublishedResourceSpecApplyConfiguration
- func (b *PublishedResourceSpecApplyConfiguration) WithFilter(value *ResourceFilterApplyConfiguration) *PublishedResourceSpecApplyConfiguration
- func (b *PublishedResourceSpecApplyConfiguration) WithNaming(value *ResourceNamingApplyConfiguration) *PublishedResourceSpecApplyConfiguration
- func (b *PublishedResourceSpecApplyConfiguration) WithProjection(value *ResourceProjectionApplyConfiguration) *PublishedResourceSpecApplyConfiguration
- func (b *PublishedResourceSpecApplyConfiguration) WithRelated(values ...*RelatedResourceSpecApplyConfiguration) *PublishedResourceSpecApplyConfiguration
- func (b *PublishedResourceSpecApplyConfiguration) WithResource(value *SourceResourceDescriptorApplyConfiguration) *PublishedResourceSpecApplyConfiguration
- type PublishedResourceStatusApplyConfiguration
- type RegexResourceLocatorApplyConfiguration
- type RelatedResourceReferenceApplyConfiguration
- func (b *RelatedResourceReferenceApplyConfiguration) WithName(value *ResourceLocatorApplyConfiguration) *RelatedResourceReferenceApplyConfiguration
- func (b *RelatedResourceReferenceApplyConfiguration) WithNamespace(value *ResourceLocatorApplyConfiguration) *RelatedResourceReferenceApplyConfiguration
- type RelatedResourceSpecApplyConfiguration
- func (b *RelatedResourceSpecApplyConfiguration) WithIdentifier(value string) *RelatedResourceSpecApplyConfiguration
- func (b *RelatedResourceSpecApplyConfiguration) WithKind(value string) *RelatedResourceSpecApplyConfiguration
- func (b *RelatedResourceSpecApplyConfiguration) WithOrigin(value string) *RelatedResourceSpecApplyConfiguration
- func (b *RelatedResourceSpecApplyConfiguration) WithReference(value *RelatedResourceReferenceApplyConfiguration) *RelatedResourceSpecApplyConfiguration
- type ResourceFilterApplyConfiguration
- type ResourceLocatorApplyConfiguration
- type ResourceNamingApplyConfiguration
- type ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithCategories(values ...string) *ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithKind(value string) *ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithPlural(value string) *ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithScope(value v1alpha1.ResourceScope) *ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithShortNames(values ...string) *ResourceProjectionApplyConfiguration
- func (b *ResourceProjectionApplyConfiguration) WithVersion(value string) *ResourceProjectionApplyConfiguration
- type SourceResourceDescriptorApplyConfiguration
- func (b *SourceResourceDescriptorApplyConfiguration) WithAPIGroup(value string) *SourceResourceDescriptorApplyConfiguration
- func (b *SourceResourceDescriptorApplyConfiguration) WithKind(value string) *SourceResourceDescriptorApplyConfiguration
- func (b *SourceResourceDescriptorApplyConfiguration) WithVersion(value string) *SourceResourceDescriptorApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PublishedResourceApplyConfiguration) WithAPIVersion ¶
func (b *PublishedResourceApplyConfiguration) WithAPIVersion(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithFinalizers(values ...string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithGenerateName(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithGeneration(value int64) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithKind(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithLabels(entries map[string]string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithName(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithNamespace(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithResourceVersion(value string) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithSpec(value *PublishedResourceSpecApplyConfiguration) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithStatus(value *PublishedResourceStatusApplyConfiguration) *PublishedResourceApplyConfiguration
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 ¶
func (b *PublishedResourceApplyConfiguration) WithUID(value types.UID) *PublishedResourceApplyConfiguration
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"` Projection *ResourceProjectionApplyConfiguration `json:"projection,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) WithFilter ¶
func (b *PublishedResourceSpecApplyConfiguration) WithFilter(value *ResourceFilterApplyConfiguration) *PublishedResourceSpecApplyConfiguration
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) WithNaming ¶
func (b *PublishedResourceSpecApplyConfiguration) WithNaming(value *ResourceNamingApplyConfiguration) *PublishedResourceSpecApplyConfiguration
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 ¶
func (b *PublishedResourceSpecApplyConfiguration) WithProjection(value *ResourceProjectionApplyConfiguration) *PublishedResourceSpecApplyConfiguration
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 ¶
func (b *PublishedResourceSpecApplyConfiguration) WithRelated(values ...*RelatedResourceSpecApplyConfiguration) *PublishedResourceSpecApplyConfiguration
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 ¶
func (b *PublishedResourceSpecApplyConfiguration) WithResource(value *SourceResourceDescriptorApplyConfiguration) *PublishedResourceSpecApplyConfiguration
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 ¶
func (b *PublishedResourceStatusApplyConfiguration) WithResourceSchemaName(value string) *PublishedResourceStatusApplyConfiguration
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 RegexResourceLocatorApplyConfiguration ¶
type RegexResourceLocatorApplyConfiguration struct { Pattern *string `json:"pattern,omitempty"` Replacement *string `json:"replacement,omitempty"` }
RegexResourceLocatorApplyConfiguration represents a declarative configuration of the RegexResourceLocator type for use with apply.
func RegexResourceLocator ¶
func RegexResourceLocator() *RegexResourceLocatorApplyConfiguration
RegexResourceLocatorApplyConfiguration constructs a declarative configuration of the RegexResourceLocator type for use with apply.
func (*RegexResourceLocatorApplyConfiguration) WithPattern ¶
func (b *RegexResourceLocatorApplyConfiguration) WithPattern(value string) *RegexResourceLocatorApplyConfiguration
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 (*RegexResourceLocatorApplyConfiguration) WithReplacement ¶
func (b *RegexResourceLocatorApplyConfiguration) WithReplacement(value string) *RegexResourceLocatorApplyConfiguration
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 RelatedResourceReferenceApplyConfiguration ¶
type RelatedResourceReferenceApplyConfiguration struct { Name *ResourceLocatorApplyConfiguration `json:"name,omitempty"` Namespace *ResourceLocatorApplyConfiguration `json:"namespace,omitempty"` }
RelatedResourceReferenceApplyConfiguration represents a declarative configuration of the RelatedResourceReference type for use with apply.
func RelatedResourceReference ¶
func RelatedResourceReference() *RelatedResourceReferenceApplyConfiguration
RelatedResourceReferenceApplyConfiguration constructs a declarative configuration of the RelatedResourceReference type for use with apply.
func (*RelatedResourceReferenceApplyConfiguration) WithName ¶
func (b *RelatedResourceReferenceApplyConfiguration) WithName(value *ResourceLocatorApplyConfiguration) *RelatedResourceReferenceApplyConfiguration
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 (*RelatedResourceReferenceApplyConfiguration) WithNamespace ¶
func (b *RelatedResourceReferenceApplyConfiguration) WithNamespace(value *ResourceLocatorApplyConfiguration) *RelatedResourceReferenceApplyConfiguration
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 RelatedResourceSpecApplyConfiguration ¶
type RelatedResourceSpecApplyConfiguration struct { Identifier *string `json:"identifier,omitempty"` Origin *string `json:"origin,omitempty"` Kind *string `json:"kind,omitempty"` Reference *RelatedResourceReferenceApplyConfiguration `json:"reference,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 ¶
func (b *RelatedResourceSpecApplyConfiguration) WithIdentifier(value string) *RelatedResourceSpecApplyConfiguration
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 ¶
func (b *RelatedResourceSpecApplyConfiguration) WithKind(value string) *RelatedResourceSpecApplyConfiguration
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) WithOrigin ¶
func (b *RelatedResourceSpecApplyConfiguration) WithOrigin(value string) *RelatedResourceSpecApplyConfiguration
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.
func (*RelatedResourceSpecApplyConfiguration) WithReference ¶
func (b *RelatedResourceSpecApplyConfiguration) WithReference(value *RelatedResourceReferenceApplyConfiguration) *RelatedResourceSpecApplyConfiguration
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.
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 ¶
func (b *ResourceFilterApplyConfiguration) WithNamespace(value *v1.LabelSelectorApplyConfiguration) *ResourceFilterApplyConfiguration
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 ¶
func (b *ResourceFilterApplyConfiguration) WithResource(value *v1.LabelSelectorApplyConfiguration) *ResourceFilterApplyConfiguration
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 ResourceLocatorApplyConfiguration ¶
type ResourceLocatorApplyConfiguration struct { Path *string `json:"path,omitempty"` Regex *RegexResourceLocatorApplyConfiguration `json:"regex,omitempty"` }
ResourceLocatorApplyConfiguration represents a declarative configuration of the ResourceLocator type for use with apply.
func ResourceLocator ¶
func ResourceLocator() *ResourceLocatorApplyConfiguration
ResourceLocatorApplyConfiguration constructs a declarative configuration of the ResourceLocator type for use with apply.
func (*ResourceLocatorApplyConfiguration) WithPath ¶
func (b *ResourceLocatorApplyConfiguration) WithPath(value string) *ResourceLocatorApplyConfiguration
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 (*ResourceLocatorApplyConfiguration) WithRegex ¶
func (b *ResourceLocatorApplyConfiguration) WithRegex(value *RegexResourceLocatorApplyConfiguration) *ResourceLocatorApplyConfiguration
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 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 ¶
func (b *ResourceNamingApplyConfiguration) WithName(value string) *ResourceNamingApplyConfiguration
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 ¶
func (b *ResourceNamingApplyConfiguration) WithNamespace(value string) *ResourceNamingApplyConfiguration
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 { Version *string `json:"version,omitempty"` Scope *v1alpha1.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 ¶
func (b *ResourceProjectionApplyConfiguration) WithCategories(values ...string) *ResourceProjectionApplyConfiguration
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) WithKind ¶
func (b *ResourceProjectionApplyConfiguration) WithKind(value string) *ResourceProjectionApplyConfiguration
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 ¶
func (b *ResourceProjectionApplyConfiguration) WithPlural(value string) *ResourceProjectionApplyConfiguration
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 ¶
func (b *ResourceProjectionApplyConfiguration) WithScope(value v1alpha1.ResourceScope) *ResourceProjectionApplyConfiguration
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 ¶
func (b *ResourceProjectionApplyConfiguration) WithShortNames(values ...string) *ResourceProjectionApplyConfiguration
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 ¶
func (b *ResourceProjectionApplyConfiguration) WithVersion(value string) *ResourceProjectionApplyConfiguration
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 SourceResourceDescriptorApplyConfiguration ¶
type SourceResourceDescriptorApplyConfiguration struct { APIGroup *string `json:"apiGroup,omitempty"` Version *string `json:"version,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 ¶
func (b *SourceResourceDescriptorApplyConfiguration) WithAPIGroup(value string) *SourceResourceDescriptorApplyConfiguration
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 ¶
func (b *SourceResourceDescriptorApplyConfiguration) WithKind(value string) *SourceResourceDescriptorApplyConfiguration
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 ¶
func (b *SourceResourceDescriptorApplyConfiguration) WithVersion(value string) *SourceResourceDescriptorApplyConfiguration
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.