v1alpha1

package
v1.118.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for storagetransfer/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the storagetransfer v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/storagetransfer +k8s:defaulter-gen=TypeMeta +groupName=storagetransfer.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "storagetransfer.cnrm.cloud.google.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	StorageTransferAgentPoolGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(StorageTransferAgentPool{}).Name(),
	}
)

Functions

This section is empty.

Types

type AgentpoolBandwidthLimit

type AgentpoolBandwidthLimit struct {
	/* Bandwidth rate in megabytes per second, distributed across all the agents in the pool. */
	LimitMbps string `json:"limitMbps"`
}

func (*AgentpoolBandwidthLimit) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentpoolBandwidthLimit.

func (*AgentpoolBandwidthLimit) DeepCopyInto

func (in *AgentpoolBandwidthLimit) DeepCopyInto(out *AgentpoolBandwidthLimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StorageTransferAgentPool

type StorageTransferAgentPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   StorageTransferAgentPoolSpec   `json:"spec,omitempty"`
	Status StorageTransferAgentPoolStatus `json:"status,omitempty"`
}

StorageTransferAgentPool is the Schema for the storagetransfer API +k8s:openapi-gen=true

func (*StorageTransferAgentPool) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPool.

func (*StorageTransferAgentPool) DeepCopyInto

func (in *StorageTransferAgentPool) DeepCopyInto(out *StorageTransferAgentPool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StorageTransferAgentPool) DeepCopyObject

func (in *StorageTransferAgentPool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageTransferAgentPoolList

type StorageTransferAgentPoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageTransferAgentPool `json:"items"`
}

StorageTransferAgentPoolList contains a list of StorageTransferAgentPool

func (*StorageTransferAgentPoolList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolList.

func (*StorageTransferAgentPoolList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StorageTransferAgentPoolList) DeepCopyObject

func (in *StorageTransferAgentPoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageTransferAgentPoolSpec

type StorageTransferAgentPoolSpec struct {
	/* Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. */
	// +optional
	BandwidthLimit *AgentpoolBandwidthLimit `json:"bandwidthLimit,omitempty"`

	/* Specifies the client-specified AgentPool description. */
	// +optional
	DisplayName *string `json:"displayName,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*StorageTransferAgentPoolSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolSpec.

func (*StorageTransferAgentPoolSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StorageTransferAgentPoolStatus

type StorageTransferAgentPoolStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageTransferAgentPool's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Specifies the state of the AgentPool. */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*StorageTransferAgentPoolStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolStatus.

func (*StorageTransferAgentPoolStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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