Documentation
¶
Index ¶
- type ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) GetAPIVersion() *string
- func (b *ClusterCachedResourceApplyConfiguration) GetKind() *string
- func (b *ClusterCachedResourceApplyConfiguration) GetName() *string
- func (b *ClusterCachedResourceApplyConfiguration) GetNamespace() *string
- func (b ClusterCachedResourceApplyConfiguration) IsApplyConfiguration()
- func (b *ClusterCachedResourceApplyConfiguration) WithAPIVersion(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithFinalizers(values ...string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithGenerateName(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithGeneration(value int64) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithKind(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithLabels(entries map[string]string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithName(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithNamespace(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithResourceVersion(value string) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithSpec(value *ClusterCachedResourceSpecApplyConfiguration) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithStatus(value *ClusterCachedResourceStatusApplyConfiguration) *ClusterCachedResourceApplyConfiguration
- func (b *ClusterCachedResourceApplyConfiguration) WithUID(value types.UID) *ClusterCachedResourceApplyConfiguration
- type ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetAPIVersion() *string
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetKind() *string
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetName() *string
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetNamespace() *string
- func (b ClusterCachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration()
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithAPIVersion(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithFinalizers(values ...string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithGenerateName(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithGeneration(value int64) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithKind(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithLabels(entries map[string]string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithName(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithNamespace(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithResourceVersion(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithSpec(value *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithStatus(value *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithUID(value types.UID) *ClusterCachedResourceEndpointSliceApplyConfiguration
- type ClusterCachedResourceEndpointSliceSpecApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithAPIExport(value *ExportBindingReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithClusterCachedResource(value *ClusterCachedResourceReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithPartition(value string) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
- type ClusterCachedResourceEndpointSliceStatusApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithClusterCachedResourceEndpoints(values ...*corev1alpha1.EndpointApplyConfiguration) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
- func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector(value string) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
- type ClusterCachedResourceReferenceApplyConfiguration
- type ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithGroup(value string) *ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithNames(values ...string) *ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithResource(value string) *ClusterCachedResourceSpecApplyConfiguration
- func (b *ClusterCachedResourceSpecApplyConfiguration) WithVersion(value string) *ClusterCachedResourceSpecApplyConfiguration
- type ClusterCachedResourceStatusApplyConfiguration
- func (b *ClusterCachedResourceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *ClusterCachedResourceStatusApplyConfiguration
- func (b *ClusterCachedResourceStatusApplyConfiguration) WithIdentityHash(value string) *ClusterCachedResourceStatusApplyConfiguration
- func (b *ClusterCachedResourceStatusApplyConfiguration) WithPhase(value cachev1alpha1.ClusterCachedResourcePhaseType) *ClusterCachedResourceStatusApplyConfiguration
- func (b *ClusterCachedResourceStatusApplyConfiguration) WithResourceCounts(value *ResourceCountApplyConfiguration) *ClusterCachedResourceStatusApplyConfiguration
- type ExportBindingReferenceApplyConfiguration
- type GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration
- func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration
- type IdentityApplyConfiguration
- type ResourceCountApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ClusterCachedResourceApplyConfiguration) GetName ¶ added in v0.33.0
func (b *ClusterCachedResourceApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ClusterCachedResourceApplyConfiguration) GetNamespace ¶ added in v0.33.0
func (b *ClusterCachedResourceApplyConfiguration) GetNamespace() *string
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
func (b *ClusterCachedResourceApplyConfiguration) WithAPIVersion(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithFinalizers(values ...string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithGenerateName(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithGeneration(value int64) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithKind(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithLabels(entries map[string]string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithName(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithNamespace(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithResourceVersion(value string) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithSpec(value *ClusterCachedResourceSpecApplyConfiguration) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithStatus(value *ClusterCachedResourceStatusApplyConfiguration) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceApplyConfiguration) WithUID(value types.UID) *ClusterCachedResourceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetKind ¶ added in v0.33.0
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetName ¶ added in v0.33.0
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ClusterCachedResourceEndpointSliceApplyConfiguration) GetNamespace ¶ added in v0.33.0
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ClusterCachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration ¶ added in v0.33.0
func (b ClusterCachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration()
func (*ClusterCachedResourceEndpointSliceApplyConfiguration) WithAPIVersion ¶ added in v0.33.0
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithAPIVersion(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithFinalizers(values ...string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithGenerateName(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithGeneration(value int64) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithKind(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithLabels(entries map[string]string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithName(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithNamespace(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithResourceVersion(value string) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithSpec(value *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithStatus(value *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceApplyConfiguration) WithUID(value types.UID) *ClusterCachedResourceEndpointSliceApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithAPIExport(value *ExportBindingReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithClusterCachedResource(value *ClusterCachedResourceReferenceApplyConfiguration) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceSpecApplyConfiguration) WithPartition(value string) *ClusterCachedResourceEndpointSliceSpecApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithClusterCachedResourceEndpoints(values ...*corev1alpha1.EndpointApplyConfiguration) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
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
func (b *ClusterCachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector(value string) *ClusterCachedResourceEndpointSliceStatusApplyConfiguration
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
func (b *ClusterCachedResourceReferenceApplyConfiguration) WithName(value string) *ClusterCachedResourceReferenceApplyConfiguration
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
func (b *ClusterCachedResourceReferenceApplyConfiguration) WithPath(value string) *ClusterCachedResourceReferenceApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithGroup(value string) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithNames(values ...string) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithResource(value string) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceSpecApplyConfiguration) WithVersion(value string) *ClusterCachedResourceSpecApplyConfiguration
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
func (b *ClusterCachedResourceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *ClusterCachedResourceStatusApplyConfiguration
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
func (b *ClusterCachedResourceStatusApplyConfiguration) WithIdentityHash(value string) *ClusterCachedResourceStatusApplyConfiguration
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
func (b *ClusterCachedResourceStatusApplyConfiguration) WithPhase(value cachev1alpha1.ClusterCachedResourcePhaseType) *ClusterCachedResourceStatusApplyConfiguration
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
func (b *ClusterCachedResourceStatusApplyConfiguration) WithResourceCounts(value *ResourceCountApplyConfiguration) *ClusterCachedResourceStatusApplyConfiguration
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
func (b *ExportBindingReferenceApplyConfiguration) WithName(value string) *ExportBindingReferenceApplyConfiguration
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
func (b *ExportBindingReferenceApplyConfiguration) WithPath(value string) *ExportBindingReferenceApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration
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 ¶
func (b *IdentityApplyConfiguration) WithSecretRef(value v1.SecretReference) *IdentityApplyConfiguration
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 ¶
func (b *ResourceCountApplyConfiguration) WithCache(value int) *ResourceCountApplyConfiguration
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 ¶
func (b *ResourceCountApplyConfiguration) WithLocal(value int) *ResourceCountApplyConfiguration
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.
Source Files
¶
- clustercachedresource.go
- clustercachedresourceendpointslice.go
- clustercachedresourceendpointslicespec.go
- clustercachedresourceendpointslicestatus.go
- clustercachedresourcereference.go
- clustercachedresourcespec.go
- clustercachedresourcestatus.go
- exportbindingreference.go
- groupversionresource.go
- identity.go
- resourcecount.go