Documentation
¶
Index ¶
- type CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) GetAPIVersion() *string
- func (b *CachedObjectApplyConfiguration) GetKind() *string
- func (b *CachedObjectApplyConfiguration) GetName() *string
- func (b *CachedObjectApplyConfiguration) GetNamespace() *string
- func (b CachedObjectApplyConfiguration) IsApplyConfiguration()
- func (b *CachedObjectApplyConfiguration) WithAPIVersion(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithAnnotations(entries map[string]string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithFinalizers(values ...string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithGenerateName(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithGeneration(value int64) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithKind(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithLabels(entries map[string]string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithName(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithNamespace(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithResourceVersion(value string) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithSpec(value *CachedObjectSpecApplyConfiguration) *CachedObjectApplyConfiguration
- func (b *CachedObjectApplyConfiguration) WithUID(value types.UID) *CachedObjectApplyConfiguration
- type CachedObjectSpecApplyConfiguration
- type CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) GetAPIVersion() *string
- func (b *CachedResourceApplyConfiguration) GetKind() *string
- func (b *CachedResourceApplyConfiguration) GetName() *string
- func (b *CachedResourceApplyConfiguration) GetNamespace() *string
- func (b CachedResourceApplyConfiguration) IsApplyConfiguration()
- func (b *CachedResourceApplyConfiguration) WithAPIVersion(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithFinalizers(values ...string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithGenerateName(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithGeneration(value int64) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithKind(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithLabels(entries map[string]string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithName(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithNamespace(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithResourceVersion(value string) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithSpec(value *CachedResourceSpecApplyConfiguration) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithStatus(value *CachedResourceStatusApplyConfiguration) *CachedResourceApplyConfiguration
- func (b *CachedResourceApplyConfiguration) WithUID(value types.UID) *CachedResourceApplyConfiguration
- type CachedResourceEndpointApplyConfiguration
- type CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) GetAPIVersion() *string
- func (b *CachedResourceEndpointSliceApplyConfiguration) GetKind() *string
- func (b *CachedResourceEndpointSliceApplyConfiguration) GetName() *string
- func (b *CachedResourceEndpointSliceApplyConfiguration) GetNamespace() *string
- func (b CachedResourceEndpointSliceApplyConfiguration) IsApplyConfiguration()
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithAPIVersion(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithAnnotations(entries map[string]string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithFinalizers(values ...string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithGenerateName(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithGeneration(value int64) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithKind(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithLabels(entries map[string]string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithName(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithNamespace(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithResourceVersion(value string) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithSpec(value *CachedResourceEndpointSliceSpecApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithStatus(value *CachedResourceEndpointSliceStatusApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
- func (b *CachedResourceEndpointSliceApplyConfiguration) WithUID(value types.UID) *CachedResourceEndpointSliceApplyConfiguration
- type CachedResourceEndpointSliceSpecApplyConfiguration
- func (b *CachedResourceEndpointSliceSpecApplyConfiguration) WithCachedResource(value *CachedResourceReferenceApplyConfiguration) *CachedResourceEndpointSliceSpecApplyConfiguration
- func (b *CachedResourceEndpointSliceSpecApplyConfiguration) WithPartition(value string) *CachedResourceEndpointSliceSpecApplyConfiguration
- type CachedResourceEndpointSliceStatusApplyConfiguration
- func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithCachedResourceEndpoints(values ...*CachedResourceEndpointApplyConfiguration) *CachedResourceEndpointSliceStatusApplyConfiguration
- func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *CachedResourceEndpointSliceStatusApplyConfiguration
- func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector(value string) *CachedResourceEndpointSliceStatusApplyConfiguration
- type CachedResourceReferenceApplyConfiguration
- type CachedResourceSpecApplyConfiguration
- func (b *CachedResourceSpecApplyConfiguration) WithGroup(value string) *CachedResourceSpecApplyConfiguration
- func (b *CachedResourceSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *CachedResourceSpecApplyConfiguration
- func (b *CachedResourceSpecApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *CachedResourceSpecApplyConfiguration
- func (b *CachedResourceSpecApplyConfiguration) WithResource(value string) *CachedResourceSpecApplyConfiguration
- func (b *CachedResourceSpecApplyConfiguration) WithVersion(value string) *CachedResourceSpecApplyConfiguration
- type CachedResourceStatusApplyConfiguration
- func (b *CachedResourceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *CachedResourceStatusApplyConfiguration
- func (b *CachedResourceStatusApplyConfiguration) WithIdentityHash(value string) *CachedResourceStatusApplyConfiguration
- func (b *CachedResourceStatusApplyConfiguration) WithPhase(value cachev1alpha1.CachedResourcePhaseType) *CachedResourceStatusApplyConfiguration
- func (b *CachedResourceStatusApplyConfiguration) WithResourceCounts(value *ResourceCountApplyConfiguration) *CachedResourceStatusApplyConfiguration
- 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 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 ¶
func (b *CachedObjectApplyConfiguration) WithAPIVersion(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithAnnotations(entries map[string]string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithFinalizers(values ...string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithGenerateName(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithGeneration(value int64) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithKind(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithLabels(entries map[string]string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithName(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithNamespace(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithResourceVersion(value string) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithSpec(value *CachedObjectSpecApplyConfiguration) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectApplyConfiguration) WithUID(value types.UID) *CachedObjectApplyConfiguration
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 ¶
func (b *CachedObjectSpecApplyConfiguration) WithRaw(value runtime.RawExtension) *CachedObjectSpecApplyConfiguration
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
func (b *CachedResourceApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*CachedResourceApplyConfiguration) GetName ¶
func (b *CachedResourceApplyConfiguration) GetName() *string
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 ¶
func (b *CachedResourceApplyConfiguration) WithAPIVersion(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithAnnotations(entries map[string]string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithFinalizers(values ...string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithGenerateName(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithGeneration(value int64) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithKind(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithLabels(entries map[string]string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithName(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithNamespace(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithResourceVersion(value string) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithSpec(value *CachedResourceSpecApplyConfiguration) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithStatus(value *CachedResourceStatusApplyConfiguration) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceApplyConfiguration) WithUID(value types.UID) *CachedResourceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointApplyConfiguration) WithURL(value string) *CachedResourceEndpointApplyConfiguration
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
func (b *CachedResourceEndpointSliceApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*CachedResourceEndpointSliceApplyConfiguration) GetKind ¶ added in v0.30.0
func (b *CachedResourceEndpointSliceApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*CachedResourceEndpointSliceApplyConfiguration) GetName ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*CachedResourceEndpointSliceApplyConfiguration) GetNamespace ¶ added in v0.30.0
func (b *CachedResourceEndpointSliceApplyConfiguration) GetNamespace() *string
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithAPIVersion(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithAnnotations(entries map[string]string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithFinalizers(values ...string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithGenerateName(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithGeneration(value int64) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithKind(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithLabels(entries map[string]string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithName(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithNamespace(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithResourceVersion(value string) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithSpec(value *CachedResourceEndpointSliceSpecApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithStatus(value *CachedResourceEndpointSliceStatusApplyConfiguration) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceApplyConfiguration) WithUID(value types.UID) *CachedResourceEndpointSliceApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceSpecApplyConfiguration) WithCachedResource(value *CachedResourceReferenceApplyConfiguration) *CachedResourceEndpointSliceSpecApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceSpecApplyConfiguration) WithPartition(value string) *CachedResourceEndpointSliceSpecApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithCachedResourceEndpoints(values ...*CachedResourceEndpointApplyConfiguration) *CachedResourceEndpointSliceStatusApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *CachedResourceEndpointSliceStatusApplyConfiguration
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 ¶
func (b *CachedResourceEndpointSliceStatusApplyConfiguration) WithShardSelector(value string) *CachedResourceEndpointSliceStatusApplyConfiguration
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 ¶
func (b *CachedResourceReferenceApplyConfiguration) WithName(value string) *CachedResourceReferenceApplyConfiguration
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 ¶
func (b *CachedResourceReferenceApplyConfiguration) WithPath(value string) *CachedResourceReferenceApplyConfiguration
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 ¶
func (b *CachedResourceSpecApplyConfiguration) WithGroup(value string) *CachedResourceSpecApplyConfiguration
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 ¶
func (b *CachedResourceSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *CachedResourceSpecApplyConfiguration
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 ¶
func (b *CachedResourceSpecApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *CachedResourceSpecApplyConfiguration
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 ¶
func (b *CachedResourceSpecApplyConfiguration) WithResource(value string) *CachedResourceSpecApplyConfiguration
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 ¶
func (b *CachedResourceSpecApplyConfiguration) WithVersion(value string) *CachedResourceSpecApplyConfiguration
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 ¶
func (b *CachedResourceStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *CachedResourceStatusApplyConfiguration
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 ¶
func (b *CachedResourceStatusApplyConfiguration) WithIdentityHash(value string) *CachedResourceStatusApplyConfiguration
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 ¶
func (b *CachedResourceStatusApplyConfiguration) WithPhase(value cachev1alpha1.CachedResourcePhaseType) *CachedResourceStatusApplyConfiguration
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 ¶
func (b *CachedResourceStatusApplyConfiguration) WithResourceCounts(value *ResourceCountApplyConfiguration) *CachedResourceStatusApplyConfiguration
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 ¶
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 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 ¶
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.