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 ¶
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 ¶
func (in *AgentpoolBandwidthLimit) DeepCopy() *AgentpoolBandwidthLimit
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 ¶
func (in *StorageTransferAgentPool) DeepCopy() *StorageTransferAgentPool
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 ¶
func (in *StorageTransferAgentPoolList) DeepCopy() *StorageTransferAgentPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolList.
func (*StorageTransferAgentPoolList) DeepCopyInto ¶
func (in *StorageTransferAgentPoolList) DeepCopyInto(out *StorageTransferAgentPoolList)
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 ¶
func (in *StorageTransferAgentPoolSpec) DeepCopy() *StorageTransferAgentPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolSpec.
func (*StorageTransferAgentPoolSpec) DeepCopyInto ¶
func (in *StorageTransferAgentPoolSpec) DeepCopyInto(out *StorageTransferAgentPoolSpec)
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 ¶
func (in *StorageTransferAgentPoolStatus) DeepCopy() *StorageTransferAgentPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageTransferAgentPoolStatus.
func (*StorageTransferAgentPoolStatus) DeepCopyInto ¶
func (in *StorageTransferAgentPoolStatus) DeepCopyInto(out *StorageTransferAgentPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.