v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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"`
	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

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

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 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

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

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

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

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

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) 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.

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

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 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

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

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

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 {
	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

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

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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL