Documentation ¶
Index ¶
- type ResourceToSyncApplyConfiguration
- func (b *ResourceToSyncApplyConfiguration) WithGroup(value string) *ResourceToSyncApplyConfiguration
- func (b *ResourceToSyncApplyConfiguration) WithIdentityHash(value string) *ResourceToSyncApplyConfiguration
- func (b *ResourceToSyncApplyConfiguration) WithResource(value string) *ResourceToSyncApplyConfiguration
- func (b *ResourceToSyncApplyConfiguration) WithState(value workloadv1alpha1.ResourceCompatibleState) *ResourceToSyncApplyConfiguration
- func (b *ResourceToSyncApplyConfiguration) WithVersions(values ...string) *ResourceToSyncApplyConfiguration
- type SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithAPIVersion(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithAnnotations(entries map[string]string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithFinalizers(values ...string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithGenerateName(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithGeneration(value int64) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithKind(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithLabels(entries map[string]string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithName(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithNamespace(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithResourceVersion(value string) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithSpec(value *SyncTargetSpecApplyConfiguration) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithStatus(value *SyncTargetStatusApplyConfiguration) *SyncTargetApplyConfiguration
- func (b *SyncTargetApplyConfiguration) WithUID(value types.UID) *SyncTargetApplyConfiguration
- type SyncTargetSpecApplyConfiguration
- func (b *SyncTargetSpecApplyConfiguration) WithCells(entries map[string]string) *SyncTargetSpecApplyConfiguration
- func (b *SyncTargetSpecApplyConfiguration) WithEvictAfter(value v1.Time) *SyncTargetSpecApplyConfiguration
- func (b *SyncTargetSpecApplyConfiguration) WithSupportedAPIExports(values ...v1alpha1.APIExportReference) *SyncTargetSpecApplyConfiguration
- func (b *SyncTargetSpecApplyConfiguration) WithUnschedulable(value bool) *SyncTargetSpecApplyConfiguration
- type SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithAllocatable(value v1.ResourceList) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithConditions(value v1alpha1.Conditions) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithLastSyncerHeartbeatTime(value metav1.Time) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithSyncedResources(values ...*ResourceToSyncApplyConfiguration) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithTunnelWorkspaces(values ...*TunnelWorkspaceApplyConfiguration) *SyncTargetStatusApplyConfiguration
- func (b *SyncTargetStatusApplyConfiguration) WithVirtualWorkspaces(values ...*VirtualWorkspaceApplyConfiguration) *SyncTargetStatusApplyConfiguration
- type TunnelWorkspaceApplyConfiguration
- type VirtualWorkspaceApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceToSyncApplyConfiguration ¶
type ResourceToSyncApplyConfiguration struct { *v1alpha1.GroupResourceApplyConfiguration `json:"GroupResource,omitempty"` Versions []string `json:"versions,omitempty"` IdentityHash *string `json:"identityHash,omitempty"` State *workloadv1alpha1.ResourceCompatibleState `json:"state,omitempty"` }
ResourceToSyncApplyConfiguration represents an declarative configuration of the ResourceToSync type for use with apply.
func ResourceToSync ¶
func ResourceToSync() *ResourceToSyncApplyConfiguration
ResourceToSyncApplyConfiguration constructs an declarative configuration of the ResourceToSync type for use with apply.
func (*ResourceToSyncApplyConfiguration) WithGroup ¶
func (b *ResourceToSyncApplyConfiguration) WithGroup(value string) *ResourceToSyncApplyConfiguration
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 (*ResourceToSyncApplyConfiguration) WithIdentityHash ¶
func (b *ResourceToSyncApplyConfiguration) WithIdentityHash(value string) *ResourceToSyncApplyConfiguration
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 (*ResourceToSyncApplyConfiguration) WithResource ¶
func (b *ResourceToSyncApplyConfiguration) WithResource(value string) *ResourceToSyncApplyConfiguration
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 (*ResourceToSyncApplyConfiguration) WithState ¶
func (b *ResourceToSyncApplyConfiguration) WithState(value workloadv1alpha1.ResourceCompatibleState) *ResourceToSyncApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
func (*ResourceToSyncApplyConfiguration) WithVersions ¶
func (b *ResourceToSyncApplyConfiguration) WithVersions(values ...string) *ResourceToSyncApplyConfiguration
WithVersions adds the given value to the Versions 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 Versions field.
type SyncTargetApplyConfiguration ¶
type SyncTargetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *SyncTargetSpecApplyConfiguration `json:"spec,omitempty"` Status *SyncTargetStatusApplyConfiguration `json:"status,omitempty"` }
SyncTargetApplyConfiguration represents an declarative configuration of the SyncTarget type for use with apply.
func SyncTarget ¶
func SyncTarget(name string) *SyncTargetApplyConfiguration
SyncTarget constructs an declarative configuration of the SyncTarget type for use with apply.
func (*SyncTargetApplyConfiguration) WithAPIVersion ¶
func (b *SyncTargetApplyConfiguration) WithAPIVersion(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithAnnotations ¶
func (b *SyncTargetApplyConfiguration) WithAnnotations(entries map[string]string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithCreationTimestamp ¶
func (b *SyncTargetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *SyncTargetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithDeletionTimestamp ¶
func (b *SyncTargetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithFinalizers ¶
func (b *SyncTargetApplyConfiguration) WithFinalizers(values ...string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithGenerateName ¶
func (b *SyncTargetApplyConfiguration) WithGenerateName(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithGeneration ¶
func (b *SyncTargetApplyConfiguration) WithGeneration(value int64) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithKind ¶
func (b *SyncTargetApplyConfiguration) WithKind(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithLabels ¶
func (b *SyncTargetApplyConfiguration) WithLabels(entries map[string]string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithName ¶
func (b *SyncTargetApplyConfiguration) WithName(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithNamespace ¶
func (b *SyncTargetApplyConfiguration) WithNamespace(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithOwnerReferences ¶
func (b *SyncTargetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithResourceVersion ¶
func (b *SyncTargetApplyConfiguration) WithResourceVersion(value string) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithSpec ¶
func (b *SyncTargetApplyConfiguration) WithSpec(value *SyncTargetSpecApplyConfiguration) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithStatus ¶
func (b *SyncTargetApplyConfiguration) WithStatus(value *SyncTargetStatusApplyConfiguration) *SyncTargetApplyConfiguration
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 (*SyncTargetApplyConfiguration) WithUID ¶
func (b *SyncTargetApplyConfiguration) WithUID(value types.UID) *SyncTargetApplyConfiguration
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 SyncTargetSpecApplyConfiguration ¶
type SyncTargetSpecApplyConfiguration struct { Unschedulable *bool `json:"unschedulable,omitempty"` EvictAfter *v1.Time `json:"evictAfter,omitempty"` SupportedAPIExports []v1alpha1.APIExportReference `json:"supportedAPIExports,omitempty"` Cells map[string]string `json:"cells,omitempty"` }
SyncTargetSpecApplyConfiguration represents an declarative configuration of the SyncTargetSpec type for use with apply.
func SyncTargetSpec ¶
func SyncTargetSpec() *SyncTargetSpecApplyConfiguration
SyncTargetSpecApplyConfiguration constructs an declarative configuration of the SyncTargetSpec type for use with apply.
func (*SyncTargetSpecApplyConfiguration) WithCells ¶
func (b *SyncTargetSpecApplyConfiguration) WithCells(entries map[string]string) *SyncTargetSpecApplyConfiguration
WithCells puts the entries into the Cells 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 Cells field, overwriting an existing map entries in Cells field with the same key.
func (*SyncTargetSpecApplyConfiguration) WithEvictAfter ¶
func (b *SyncTargetSpecApplyConfiguration) WithEvictAfter(value v1.Time) *SyncTargetSpecApplyConfiguration
WithEvictAfter sets the EvictAfter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EvictAfter field is set to the value of the last call.
func (*SyncTargetSpecApplyConfiguration) WithSupportedAPIExports ¶
func (b *SyncTargetSpecApplyConfiguration) WithSupportedAPIExports(values ...v1alpha1.APIExportReference) *SyncTargetSpecApplyConfiguration
WithSupportedAPIExports adds the given value to the SupportedAPIExports 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 SupportedAPIExports field.
func (*SyncTargetSpecApplyConfiguration) WithUnschedulable ¶
func (b *SyncTargetSpecApplyConfiguration) WithUnschedulable(value bool) *SyncTargetSpecApplyConfiguration
WithUnschedulable sets the Unschedulable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unschedulable field is set to the value of the last call.
type SyncTargetStatusApplyConfiguration ¶
type SyncTargetStatusApplyConfiguration struct { Allocatable *v1.ResourceList `json:"allocatable,omitempty"` Capacity *v1.ResourceList `json:"capacity,omitempty"` Conditions *v1alpha1.Conditions `json:"conditions,omitempty"` SyncedResources []ResourceToSyncApplyConfiguration `json:"syncedResources,omitempty"` LastSyncerHeartbeatTime *metav1.Time `json:"lastSyncerHeartbeatTime,omitempty"` VirtualWorkspaces []VirtualWorkspaceApplyConfiguration `json:"virtualWorkspaces,omitempty"` TunnelWorkspaces []TunnelWorkspaceApplyConfiguration `json:"tunnelWorkspaces,omitempty"` }
SyncTargetStatusApplyConfiguration represents an declarative configuration of the SyncTargetStatus type for use with apply.
func SyncTargetStatus ¶
func SyncTargetStatus() *SyncTargetStatusApplyConfiguration
SyncTargetStatusApplyConfiguration constructs an declarative configuration of the SyncTargetStatus type for use with apply.
func (*SyncTargetStatusApplyConfiguration) WithAllocatable ¶
func (b *SyncTargetStatusApplyConfiguration) WithAllocatable(value v1.ResourceList) *SyncTargetStatusApplyConfiguration
WithAllocatable sets the Allocatable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocatable field is set to the value of the last call.
func (*SyncTargetStatusApplyConfiguration) WithCapacity ¶
func (b *SyncTargetStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *SyncTargetStatusApplyConfiguration
WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.
func (*SyncTargetStatusApplyConfiguration) WithConditions ¶
func (b *SyncTargetStatusApplyConfiguration) WithConditions(value v1alpha1.Conditions) *SyncTargetStatusApplyConfiguration
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 (*SyncTargetStatusApplyConfiguration) WithLastSyncerHeartbeatTime ¶
func (b *SyncTargetStatusApplyConfiguration) WithLastSyncerHeartbeatTime(value metav1.Time) *SyncTargetStatusApplyConfiguration
WithLastSyncerHeartbeatTime sets the LastSyncerHeartbeatTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncerHeartbeatTime field is set to the value of the last call.
func (*SyncTargetStatusApplyConfiguration) WithSyncedResources ¶
func (b *SyncTargetStatusApplyConfiguration) WithSyncedResources(values ...*ResourceToSyncApplyConfiguration) *SyncTargetStatusApplyConfiguration
WithSyncedResources adds the given value to the SyncedResources 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 SyncedResources field.
func (*SyncTargetStatusApplyConfiguration) WithTunnelWorkspaces ¶
func (b *SyncTargetStatusApplyConfiguration) WithTunnelWorkspaces(values ...*TunnelWorkspaceApplyConfiguration) *SyncTargetStatusApplyConfiguration
WithTunnelWorkspaces adds the given value to the TunnelWorkspaces 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 TunnelWorkspaces field.
func (*SyncTargetStatusApplyConfiguration) WithVirtualWorkspaces ¶
func (b *SyncTargetStatusApplyConfiguration) WithVirtualWorkspaces(values ...*VirtualWorkspaceApplyConfiguration) *SyncTargetStatusApplyConfiguration
WithVirtualWorkspaces adds the given value to the VirtualWorkspaces 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 VirtualWorkspaces field.
type TunnelWorkspaceApplyConfiguration ¶
type TunnelWorkspaceApplyConfiguration struct {
URL *string `json:"url,omitempty"`
}
TunnelWorkspaceApplyConfiguration represents an declarative configuration of the TunnelWorkspace type for use with apply.
func TunnelWorkspace ¶
func TunnelWorkspace() *TunnelWorkspaceApplyConfiguration
TunnelWorkspaceApplyConfiguration constructs an declarative configuration of the TunnelWorkspace type for use with apply.
func (*TunnelWorkspaceApplyConfiguration) WithURL ¶
func (b *TunnelWorkspaceApplyConfiguration) WithURL(value string) *TunnelWorkspaceApplyConfiguration
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 VirtualWorkspaceApplyConfiguration ¶
type VirtualWorkspaceApplyConfiguration struct { SyncerURL *string `json:"syncerURL,omitempty"` UpsyncerURL *string `json:"upsyncerURL,omitempty"` }
VirtualWorkspaceApplyConfiguration represents an declarative configuration of the VirtualWorkspace type for use with apply.
func VirtualWorkspace ¶
func VirtualWorkspace() *VirtualWorkspaceApplyConfiguration
VirtualWorkspaceApplyConfiguration constructs an declarative configuration of the VirtualWorkspace type for use with apply.
func (*VirtualWorkspaceApplyConfiguration) WithSyncerURL ¶
func (b *VirtualWorkspaceApplyConfiguration) WithSyncerURL(value string) *VirtualWorkspaceApplyConfiguration
WithSyncerURL sets the SyncerURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SyncerURL field is set to the value of the last call.
func (*VirtualWorkspaceApplyConfiguration) WithUpsyncerURL ¶
func (b *VirtualWorkspaceApplyConfiguration) WithUpsyncerURL(value string) *VirtualWorkspaceApplyConfiguration
WithUpsyncerURL sets the UpsyncerURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpsyncerURL field is set to the value of the last call.