v1alpha1

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterCachedResourceApplyConfiguration added in v0.33.0

type ClusterCachedResourceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ClusterCachedResourceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ClusterCachedResourceStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterCachedResourceApplyConfiguration represents a declarative configuration of the ClusterCachedResource type for use with apply.

ClusterCachedResource defines a resource that should be published to other workspaces

func ClusterCachedResource added in v0.33.0

func ClusterCachedResource(name string) *ClusterCachedResourceApplyConfiguration

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

func (*ClusterCachedResourceApplyConfiguration) GetAPIVersion added in v0.33.0

func (b *ClusterCachedResourceApplyConfiguration) GetAPIVersion() *string

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

func (*ClusterCachedResourceApplyConfiguration) GetKind added in v0.33.0

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

func (*ClusterCachedResourceApplyConfiguration) GetName added in v0.33.0

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

func (*ClusterCachedResourceApplyConfiguration) GetNamespace added in v0.33.0

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

func (ClusterCachedResourceApplyConfiguration) IsApplyConfiguration added in v0.33.0

func (b ClusterCachedResourceApplyConfiguration) IsApplyConfiguration()

func (*ClusterCachedResourceApplyConfiguration) WithAPIVersion added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithAnnotations added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithCreationTimestamp added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithDeletionTimestamp added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithFinalizers added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithGenerateName added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithGeneration added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithKind added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithLabels added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithName added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithNamespace added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithOwnerReferences added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithResourceVersion added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithSpec added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithStatus added in v0.33.0

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 (*ClusterCachedResourceApplyConfiguration) WithUID added in v0.33.0

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 ClusterCachedResourceEndpointSliceApplyConfiguration added in v0.33.0

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

ClusterCachedResourceEndpointSliceApplyConfiguration represents a declarative configuration of the ClusterCachedResourceEndpointSlice type for use with apply.

ClusterCachedResourceEndpointSlice is a sink for the endpoints of ClusterCachedResource virtual workspaces.

func ClusterCachedResourceEndpointSlice added in v0.33.0

func ClusterCachedResourceEndpointSlice(name string) *ClusterCachedResourceEndpointSliceApplyConfiguration

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

func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetAPIVersion added in v0.33.0

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

func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetKind added in v0.33.0

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

func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetName added in v0.33.0

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

func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetNamespace added in v0.33.0

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

func (ClusterCachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration added in v0.33.0

func (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithAPIVersion added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithAnnotations added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithCreationTimestamp added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionTimestamp added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithFinalizers added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithGenerateName added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithGeneration added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithKind added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithLabels added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithName added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithNamespace added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithOwnerReferences added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithResourceVersion added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithSpec added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithStatus added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithUID added in v0.33.0

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 ClusterCachedResourceEndpointSliceSpecApplyConfiguration added in v0.33.0

type ClusterCachedResourceEndpointSliceSpecApplyConfiguration struct {
	// ClusterCachedResource points to the real ClusterCachedResource the slice is created for.
	ClusterCachedResource *ClusterCachedResourceReferenceApplyConfiguration `json:"clusterCachedResource,omitempty"`
	// export points to the APIExport that exports this ClusterCachedResourceEndpointSlice.
	APIExport *ExportBindingReferenceApplyConfiguration `json:"export,omitempty"`
	// partition points to a partition that is used for filtering the endpoints
	// of the ClusterCachedResource part of the slice.
	Partition *string `json:"partition,omitempty"`
}

ClusterCachedResourceEndpointSliceSpecApplyConfiguration represents a declarative configuration of the ClusterCachedResourceEndpointSliceSpec type for use with apply.

ClusterCachedResourceEndpointSliceSpec defines the desired state of the ClusterCachedResourceEndpointSlice.

func ClusterCachedResourceEndpointSliceSpec added in v0.33.0

func ClusterCachedResourceEndpointSliceSpec() *ClusterCachedResourceEndpointSliceSpecApplyConfiguration

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

func (*ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithAPIExport added in v0.33.0

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

func (*ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithClusterCachedResource added in v0.33.0

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

func (*ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithPartition added in v0.33.0

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 ClusterCachedResourceEndpointSliceStatusApplyConfiguration added in v0.33.0

type ClusterCachedResourceEndpointSliceStatusApplyConfiguration struct {
	// conditions is a list of conditions that apply to the ClusterCachedResourceEndpointSlice.
	Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
	// endpoints contains all the URLs of the Replication service.
	ClusterCachedResourceEndpoints []corev1alpha1.EndpointApplyConfiguration `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"`
}

ClusterCachedResourceEndpointSliceStatusApplyConfiguration represents a declarative configuration of the ClusterCachedResourceEndpointSliceStatus type for use with apply.

ClusterCachedResourceEndpointSliceStatus defines the observed state of ClusterCachedResourceEndpointSlice.

func ClusterCachedResourceEndpointSliceStatus added in v0.33.0

func ClusterCachedResourceEndpointSliceStatus() *ClusterCachedResourceEndpointSliceStatusApplyConfiguration

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

func (*ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithClusterCachedResourceEndpoints added in v0.33.0

WithClusterCachedResourceEndpoints adds the given value to the ClusterCachedResourceEndpoints 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 ClusterCachedResourceEndpoints field.

func (*ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithConditions added in v0.33.0

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 (*ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector added in v0.33.0

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 ClusterCachedResourceReferenceApplyConfiguration added in v0.33.0

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

ClusterCachedResourceReferenceApplyConfiguration represents a declarative configuration of the ClusterCachedResourceReference type for use with apply.

ClusterCachedResourceReference is a reference to a ClusterCachedResource.

func ClusterCachedResourceReference added in v0.33.0

func ClusterCachedResourceReference() *ClusterCachedResourceReferenceApplyConfiguration

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

func (*ClusterCachedResourceReferenceApplyConfiguration) WithName added in v0.33.0

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 (*ClusterCachedResourceReferenceApplyConfiguration) WithPath added in v0.33.0

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 ClusterCachedResourceSpecApplyConfiguration added in v0.33.0

type ClusterCachedResourceSpecApplyConfiguration 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 ClusterCachedResource's resources via the APIExport.
	//
	// Different  ClusterCachedResource 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 ClusterCachedResource is automatically
	// created.
	Identity *IdentityApplyConfiguration `json:"identity,omitempty"`
	// LabelSelector is used to filter which resources should be published
	LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
	// names narrows publishing to resources called exactly these.
	//
	// Leaving it empty publishes every resource the label selector allows,
	// which is the usual case: a ClusterCachedResource normally stands for a
	// whole kind. Naming resources is for the case where something points at
	// one object in particular and only that object is worth caching.
	//
	// Names and labelSelector both apply -- a resource has to satisfy each of
	// the ones that is set.
	Names []string `json:"names,omitempty"`
}

ClusterCachedResourceSpecApplyConfiguration represents a declarative configuration of the ClusterCachedResourceSpec type for use with apply.

ClusterCachedResourceSpec defines the desired state of ClusterCachedResource.

func ClusterCachedResourceSpec added in v0.33.0

func ClusterCachedResourceSpec() *ClusterCachedResourceSpecApplyConfiguration

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

func (*ClusterCachedResourceSpecApplyConfiguration) WithGroup added in v0.33.0

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 (*ClusterCachedResourceSpecApplyConfiguration) WithIdentity added in v0.33.0

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 (*ClusterCachedResourceSpecApplyConfiguration) WithLabelSelector added in v0.33.0

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 (*ClusterCachedResourceSpecApplyConfiguration) WithNames added in v0.33.0

WithNames adds the given value to the Names 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 Names field.

func (*ClusterCachedResourceSpecApplyConfiguration) WithResource added in v0.33.0

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 (*ClusterCachedResourceSpecApplyConfiguration) WithVersion added in v0.33.0

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 ClusterCachedResourceStatusApplyConfiguration added in v0.33.0

type ClusterCachedResourceStatusApplyConfiguration 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.ClusterCachedResourcePhaseType `json:"phase,omitempty"`
	// Current processing state of the Workspace.
	Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
}

ClusterCachedResourceStatusApplyConfiguration represents a declarative configuration of the ClusterCachedResourceStatus type for use with apply.

ClusterCachedResourceStatus defines the observed state of ClusterCachedResource.

func ClusterCachedResourceStatus added in v0.33.0

func ClusterCachedResourceStatus() *ClusterCachedResourceStatusApplyConfiguration

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

func (*ClusterCachedResourceStatusApplyConfiguration) WithConditions added in v0.33.0

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 (*ClusterCachedResourceStatusApplyConfiguration) WithIdentityHash added in v0.33.0

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 (*ClusterCachedResourceStatusApplyConfiguration) WithPhase added in v0.33.0

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 (*ClusterCachedResourceStatusApplyConfiguration) WithResourceCounts added in v0.33.0

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 ExportBindingReferenceApplyConfiguration added in v0.32.0

type ExportBindingReferenceApplyConfiguration struct {
	// path is a logical cluster path where the APIExport is defined.
	// If the path is unset, the logical cluster of the referencing object is used.
	Path *string `json:"path,omitempty"`
	// name is the name of the APIExport that describes the API.
	Name *string `json:"name,omitempty"`
}

ExportBindingReferenceApplyConfiguration represents a declarative configuration of the ExportBindingReference type for use with apply.

ExportBindingReference is a reference to an APIExport by cluster and name.

func ExportBindingReference added in v0.32.0

func ExportBindingReference() *ExportBindingReferenceApplyConfiguration

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

func (*ExportBindingReferenceApplyConfiguration) WithName added in v0.32.0

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 (*ExportBindingReferenceApplyConfiguration) WithPath added in v0.32.0

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 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 a ClusterCachedResource, i.e. determines the cached resource access of the resources, that are published by this ClusterCachedResource.

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