v1alpha1

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedObjectApplyConfiguration

type CachedObjectApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CachedObjectSpecApplyConfiguration `json:"spec,omitempty"`
}

CachedObjectApplyConfiguration represents a declarative configuration of the CachedObject type for use with apply.

CachedObject defines a resource that is cached in the cache.

func CachedObject

func CachedObject(name string) *CachedObjectApplyConfiguration

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

func (*CachedObjectApplyConfiguration) GetAPIVersion added in v0.30.0

func (b *CachedObjectApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*CachedObjectApplyConfiguration) GetKind added in v0.30.0

func (b *CachedObjectApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CachedObjectApplyConfiguration) GetName

func (b *CachedObjectApplyConfiguration) GetName() *string

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

func (*CachedObjectApplyConfiguration) GetNamespace added in v0.30.0

func (b *CachedObjectApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (CachedObjectApplyConfiguration) IsApplyConfiguration added in v0.30.0

func (b CachedObjectApplyConfiguration) IsApplyConfiguration()

func (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 (*CachedObjectApplyConfiguration) 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 CachedObjectSpecApplyConfiguration

type CachedObjectSpecApplyConfiguration struct {
	Raw *runtime.RawExtension `json:"raw,omitempty"`
}

CachedObjectSpecApplyConfiguration represents a declarative configuration of the CachedObjectSpec type for use with apply.

CachedObjectSpec defines the desired state of CachedObject.

func CachedObjectSpec

func CachedObjectSpec() *CachedObjectSpecApplyConfiguration

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

func (*CachedObjectSpecApplyConfiguration) WithRaw

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

type CachedResourceApplyConfiguration

type CachedResourceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CachedResourceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *CachedResourceStatusApplyConfiguration `json:"status,omitempty"`
}

CachedResourceApplyConfiguration represents a declarative configuration of the CachedResource type for use with apply.

CachedResource defines a resource that should be published to other workspaces

func CachedResource

func CachedResource(name string) *CachedResourceApplyConfiguration

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

func (*CachedResourceApplyConfiguration) GetAPIVersion added in v0.30.0

func (b *CachedResourceApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*CachedResourceApplyConfiguration) GetKind added in v0.30.0

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CachedResourceApplyConfiguration) GetName

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

func (*CachedResourceApplyConfiguration) GetNamespace added in v0.30.0

func (b *CachedResourceApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (CachedResourceApplyConfiguration) IsApplyConfiguration added in v0.30.0

func (b CachedResourceApplyConfiguration) IsApplyConfiguration()

func (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 (*CachedResourceApplyConfiguration) 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 CachedResourceEndpointApplyConfiguration

type CachedResourceEndpointApplyConfiguration struct {
	// url is an CachedResource virtual workspace URL.
	URL *string `json:"url,omitempty"`
}

CachedResourceEndpointApplyConfiguration represents a declarative configuration of the CachedResourceEndpoint type for use with apply.

Using a struct provides an extension point CachedResourceEndpoint contains the endpoint information of a Replication service for a specific shard.

func CachedResourceEndpoint

func CachedResourceEndpoint() *CachedResourceEndpointApplyConfiguration

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

func (*CachedResourceEndpointApplyConfiguration) WithURL

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

type CachedResourceEndpointSliceApplyConfiguration

type CachedResourceEndpointSliceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	// spec holds the desired state:
	// - the targeted CachedResource
	Spec *CachedResourceEndpointSliceSpecApplyConfiguration `json:"spec,omitempty"`
	// status communicates the observed state:
	// the filtered list of endpoints for the Replication service.
	Status *CachedResourceEndpointSliceStatusApplyConfiguration `json:"status,omitempty"`
}

CachedResourceEndpointSliceApplyConfiguration represents a declarative configuration of the CachedResourceEndpointSlice type for use with apply.

CachedResourceEndpointSlice is a sink for the endpoints of CachedResource virtual workspaces.

func CachedResourceEndpointSlice

func CachedResourceEndpointSlice(name string) *CachedResourceEndpointSliceApplyConfiguration

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

func (*CachedResourceEndpointSliceApplyConfiguration) GetAPIVersion added in v0.30.0

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*CachedResourceEndpointSliceApplyConfiguration) GetKind added in v0.30.0

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CachedResourceEndpointSliceApplyConfiguration) GetName

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

func (*CachedResourceEndpointSliceApplyConfiguration) GetNamespace added in v0.30.0

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (CachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration added in v0.30.0

func (b CachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration()

func (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds

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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 (*CachedResourceEndpointSliceApplyConfiguration) 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 CachedResourceEndpointSliceSpecApplyConfiguration

type CachedResourceEndpointSliceSpecApplyConfiguration struct {
	// CachedResource points to the real CachedResource the slice is created for.
	CachedResource *CachedResourceReferenceApplyConfiguration `json:"cachedResource,omitempty"`
	// partition points to a partition that is used for filtering the endpoints
	// of the CachedResource part of the slice.
	Partition *string `json:"partition,omitempty"`
}

CachedResourceEndpointSliceSpecApplyConfiguration represents a declarative configuration of the CachedResourceEndpointSliceSpec type for use with apply.

CachedResourceEndpointSliceSpec defines the desired state of the CachedResourceEndpointSlice.

func CachedResourceEndpointSliceSpec

func CachedResourceEndpointSliceSpec() *CachedResourceEndpointSliceSpecApplyConfiguration

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

func (*CachedResourceEndpointSliceSpecApplyConfiguration) WithCachedResource

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

func (*CachedResourceEndpointSliceSpecApplyConfiguration) WithPartition

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

type CachedResourceEndpointSliceStatusApplyConfiguration

type CachedResourceEndpointSliceStatusApplyConfiguration struct {
	// conditions is a list of conditions that apply to the CachedResourceEndpointSlice.
	Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
	// endpoints contains all the URLs of the Replication service.
	CachedResourceEndpoints []CachedResourceEndpointApplyConfiguration `json:"endpoints,omitempty"`
	// shardSelector is the selector used to filter the shards. It is used to filter the shards
	// when determining partition scope when deriving the endpoints. This is set by owning shard,
	// and is used by follower shards to determine if its inscope or not.
	ShardSelector *string `json:"shardSelector,omitempty"`
}

CachedResourceEndpointSliceStatusApplyConfiguration represents a declarative configuration of the CachedResourceEndpointSliceStatus type for use with apply.

CachedResourceEndpointSliceStatus defines the observed state of CachedResourceEndpointSlice.

func CachedResourceEndpointSliceStatus

func CachedResourceEndpointSliceStatus() *CachedResourceEndpointSliceStatusApplyConfiguration

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

func (*CachedResourceEndpointSliceStatusApplyConfiguration) WithCachedResourceEndpoints

WithCachedResourceEndpoints adds the given value to the CachedResourceEndpoints 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 CachedResourceEndpoints field.

func (*CachedResourceEndpointSliceStatusApplyConfiguration) WithConditions

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

func (*CachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector

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

type CachedResourceReferenceApplyConfiguration

type CachedResourceReferenceApplyConfiguration struct {
	// path is a logical cluster path where the CachedResource is defined. If empty,
	// the CachedResource is assumed to be co-located with the referencing resource.
	Path *string `json:"path,omitempty"`
	// name is the name of the CachedResource the reference points to.
	Name *string `json:"name,omitempty"`
}

CachedResourceReferenceApplyConfiguration represents a declarative configuration of the CachedResourceReference type for use with apply.

CachedResourceReference is a reference to a CachedResource.

func CachedResourceReference

func CachedResourceReference() *CachedResourceReferenceApplyConfiguration

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

func (*CachedResourceReferenceApplyConfiguration) 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 (*CachedResourceReferenceApplyConfiguration) 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 CachedResourceSpecApplyConfiguration

type CachedResourceSpecApplyConfiguration struct {
	// GroupVersionResource is the fully qualified name of the resource to be published.
	GroupVersionResourceApplyConfiguration `json:",inline"`
	// identity points to a secret that contains the API identity in the 'key' file.
	// The API identity allows access to CachedResource's resources via the APIExport.
	//
	// Different  CachedResource in a workspace can share a common identity, or have different
	// ones. The identity (the secret) can also be transferred to another workspace
	// when the  ublishedResource is moved.
	//
	// The identity is defaulted. A secret with the name of the CachedResource is automatically
	// created.
	Identity *IdentityApplyConfiguration `json:"identity,omitempty"`
	// LabelSelector is used to filter which resources should be published
	LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
}

CachedResourceSpecApplyConfiguration represents a declarative configuration of the CachedResourceSpec type for use with apply.

CachedResourceSpec defines the desired state of CachedResource.

func CachedResourceSpec

func CachedResourceSpec() *CachedResourceSpecApplyConfiguration

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

func (*CachedResourceSpecApplyConfiguration) 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 (*CachedResourceSpecApplyConfiguration) WithIdentity

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

func (*CachedResourceSpecApplyConfiguration) WithLabelSelector

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

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

func (*CachedResourceSpecApplyConfiguration) 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 CachedResourceStatusApplyConfiguration

type CachedResourceStatusApplyConfiguration struct {
	// IdentityHash is a hash of the identity configuration
	IdentityHash *string `json:"identityHash,omitempty"`
	// ResourceCount is the number of resources that match the label selector
	ResourceCounts *ResourceCountApplyConfiguration `json:"resourceCounts,omitempty"`
	// Phase of the workspace (Initializing, Ready, Unavailable).
	Phase *cachev1alpha1.CachedResourcePhaseType `json:"phase,omitempty"`
	// Current processing state of the Workspace.
	Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
}

CachedResourceStatusApplyConfiguration represents a declarative configuration of the CachedResourceStatus type for use with apply.

CachedResourceStatus defines the observed state of CachedResource.

func CachedResourceStatus

func CachedResourceStatus() *CachedResourceStatusApplyConfiguration

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

func (*CachedResourceStatusApplyConfiguration) WithConditions

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

func (*CachedResourceStatusApplyConfiguration) WithIdentityHash

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

func (*CachedResourceStatusApplyConfiguration) WithPhase

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

func (*CachedResourceStatusApplyConfiguration) WithResourceCounts

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

type GroupVersionResourceApplyConfiguration

type GroupVersionResourceApplyConfiguration struct {
	// group is the name of an API group.
	// For core groups this is the empty string '""'.
	Group *string `json:"group,omitempty"`
	// version is the version of the resource.
	Version *string `json:"version,omitempty"`
	// resource is the name of the resource.
	// Note: it is worth noting that you can not ask for permissions for resource provided by a CRD
	// not provided by an api export.
	Resource *string `json:"resource,omitempty"`
}

GroupVersionResourceApplyConfiguration represents a declarative configuration of the GroupVersionResource type for use with apply.

GroupVersionResource identifies a resource.

func GroupVersionResource

func GroupVersionResource() *GroupVersionResourceApplyConfiguration

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

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

func (*GroupVersionResourceApplyConfiguration) 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 IdentityApplyConfiguration

type IdentityApplyConfiguration struct {
	// secretRef is a reference to a secret that contains the API identity in the 'key' file.
	SecretRef *v1.SecretReference `json:"secretRef,omitempty"`
}

IdentityApplyConfiguration represents a declarative configuration of the Identity type for use with apply.

Identity defines the identity of an CachedResource, i.e. determines the cached resource access of the resources, that are published by this CachedResource.

func Identity

func Identity() *IdentityApplyConfiguration

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

func (*IdentityApplyConfiguration) WithSecretRef

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

type ResourceCountApplyConfiguration

type ResourceCountApplyConfiguration struct {
	Cache *int `json:"cache,omitempty"`
	Local *int `json:"local,omitempty"`
}

ResourceCountApplyConfiguration represents a declarative configuration of the ResourceCount type for use with apply.

ResourceCount is the number of resources that match the label selector and are cached in the cache.

func ResourceCount

func ResourceCount() *ResourceCountApplyConfiguration

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

func (*ResourceCountApplyConfiguration) WithCache

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

func (*ResourceCountApplyConfiguration) WithLocal

WithLocal sets the Local 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 Local 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