v1alpha1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL