Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=storagetransfer.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type AgentPool
- func (in *AgentPool) DeepCopy() *AgentPool
- func (in *AgentPool) DeepCopyInto(out *AgentPool)
- func (in *AgentPool) DeepCopyObject() runtime.Object
- func (mg *AgentPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AgentPool) GetConnectionDetailsMapping() map[string]string
- func (mg *AgentPool) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AgentPool) GetID() string
- func (mg *AgentPool) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *AgentPool) GetObservation() (map[string]any, error)
- func (tr *AgentPool) GetParameters() (map[string]any, error)
- func (mg *AgentPool) GetProviderConfigReference() *xpv1.Reference
- func (mg *AgentPool) GetProviderReference() *xpv1.Reference
- func (mg *AgentPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AgentPool) GetTerraformResourceType() string
- func (tr *AgentPool) GetTerraformSchemaVersion() int
- func (mg *AgentPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AgentPool) LateInitialize(attrs []byte) (bool, error)
- func (mg *AgentPool) SetConditions(c ...xpv1.Condition)
- func (mg *AgentPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AgentPool) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *AgentPool) SetObservation(obs map[string]any) error
- func (tr *AgentPool) SetParameters(params map[string]any) error
- func (mg *AgentPool) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AgentPool) SetProviderReference(r *xpv1.Reference)
- func (mg *AgentPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AgentPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AgentPoolList
- type AgentPoolObservation
- type AgentPoolParameters
- type AgentPoolSpec
- type AgentPoolStatus
- type BandwidthLimitObservation
- type BandwidthLimitParameters
Constants ¶
const ( CRDGroup = "storagetransfer.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( AgentPool_Kind = "AgentPool" AgentPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AgentPool_Kind}.String() AgentPool_KindAPIVersion = AgentPool_Kind + "." + CRDGroupVersion.String() AgentPool_GroupVersionKind = CRDGroupVersion.WithKind(AgentPool_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AgentPool ¶
type AgentPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgentPoolSpec `json:"spec"` Status AgentPoolStatus `json:"status,omitempty"` }
AgentPool is the Schema for the AgentPools API. Represents an On-Premises Agent pool. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*AgentPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPool.
func (*AgentPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentPool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AgentPool) GetCondition ¶
func (mg *AgentPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AgentPool.
func (*AgentPool) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this AgentPool
func (*AgentPool) GetDeletionPolicy ¶
func (mg *AgentPool) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AgentPool.
func (*AgentPool) GetManagementPolicy ¶ added in v0.31.0
func (mg *AgentPool) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this AgentPool.
func (*AgentPool) GetObservation ¶
GetObservation of this AgentPool
func (*AgentPool) GetParameters ¶
GetParameters of this AgentPool
func (*AgentPool) GetProviderConfigReference ¶
GetProviderConfigReference of this AgentPool.
func (*AgentPool) GetProviderReference ¶
GetProviderReference of this AgentPool. Deprecated: Use GetProviderConfigReference.
func (*AgentPool) GetPublishConnectionDetailsTo ¶
func (mg *AgentPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AgentPool.
func (*AgentPool) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this AgentPool
func (*AgentPool) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AgentPool) GetWriteConnectionSecretToReference ¶
func (mg *AgentPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AgentPool.
func (*AgentPool) LateInitialize ¶
LateInitialize this AgentPool using its observed tfState. returns True if there are any spec changes for the resource.
func (*AgentPool) SetConditions ¶
SetConditions of this AgentPool.
func (*AgentPool) SetDeletionPolicy ¶
func (mg *AgentPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AgentPool.
func (*AgentPool) SetManagementPolicy ¶ added in v0.31.0
func (mg *AgentPool) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this AgentPool.
func (*AgentPool) SetObservation ¶
SetObservation for this AgentPool
func (*AgentPool) SetParameters ¶
SetParameters for this AgentPool
func (*AgentPool) SetProviderConfigReference ¶
SetProviderConfigReference of this AgentPool.
func (*AgentPool) SetProviderReference ¶
SetProviderReference of this AgentPool. Deprecated: Use SetProviderConfigReference.
func (*AgentPool) SetPublishConnectionDetailsTo ¶
func (mg *AgentPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AgentPool.
func (*AgentPool) SetWriteConnectionSecretToReference ¶
func (mg *AgentPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AgentPool.
type AgentPoolList ¶
type AgentPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgentPool `json:"items"` }
AgentPoolList contains a list of AgentPools
func (*AgentPoolList) DeepCopy ¶
func (in *AgentPoolList) DeepCopy() *AgentPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolList.
func (*AgentPoolList) DeepCopyInto ¶
func (in *AgentPoolList) DeepCopyInto(out *AgentPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentPoolList) DeepCopyObject ¶
func (in *AgentPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AgentPoolList) GetItems ¶
func (l *AgentPoolList) GetItems() []resource.Managed
GetItems of this AgentPoolList.
type AgentPoolObservation ¶
type AgentPoolObservation struct { // Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. // Structure is documented below. BandwidthLimit []BandwidthLimitObservation `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"` // Specifies the client-specified AgentPool description. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // an identifier for the resource with format projects/{{project}}/agentPools/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Specifies the state of the AgentPool. State *string `json:"state,omitempty" tf:"state,omitempty"` }
func (*AgentPoolObservation) DeepCopy ¶
func (in *AgentPoolObservation) DeepCopy() *AgentPoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolObservation.
func (*AgentPoolObservation) DeepCopyInto ¶
func (in *AgentPoolObservation) DeepCopyInto(out *AgentPoolObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentPoolParameters ¶
type AgentPoolParameters struct { // Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. // Structure is documented below. // +kubebuilder:validation:Optional BandwidthLimit []BandwidthLimitParameters `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"` // Specifies the client-specified AgentPool description. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` }
func (*AgentPoolParameters) DeepCopy ¶
func (in *AgentPoolParameters) DeepCopy() *AgentPoolParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolParameters.
func (*AgentPoolParameters) DeepCopyInto ¶
func (in *AgentPoolParameters) DeepCopyInto(out *AgentPoolParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentPoolSpec ¶
type AgentPoolSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AgentPoolParameters `json:"forProvider"` }
AgentPoolSpec defines the desired state of AgentPool
func (*AgentPoolSpec) DeepCopy ¶
func (in *AgentPoolSpec) DeepCopy() *AgentPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSpec.
func (*AgentPoolSpec) DeepCopyInto ¶
func (in *AgentPoolSpec) DeepCopyInto(out *AgentPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentPoolStatus ¶
type AgentPoolStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AgentPoolObservation `json:"atProvider,omitempty"` }
AgentPoolStatus defines the observed state of AgentPool.
func (*AgentPoolStatus) DeepCopy ¶
func (in *AgentPoolStatus) DeepCopy() *AgentPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolStatus.
func (*AgentPoolStatus) DeepCopyInto ¶
func (in *AgentPoolStatus) DeepCopyInto(out *AgentPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BandwidthLimitObservation ¶
type BandwidthLimitObservation struct { // Bandwidth rate in megabytes per second, distributed across all the agents in the pool. LimitMbps *string `json:"limitMbps,omitempty" tf:"limit_mbps,omitempty"` }
func (*BandwidthLimitObservation) DeepCopy ¶
func (in *BandwidthLimitObservation) DeepCopy() *BandwidthLimitObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BandwidthLimitObservation.
func (*BandwidthLimitObservation) DeepCopyInto ¶
func (in *BandwidthLimitObservation) DeepCopyInto(out *BandwidthLimitObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BandwidthLimitParameters ¶
type BandwidthLimitParameters struct { // Bandwidth rate in megabytes per second, distributed across all the agents in the pool. // +kubebuilder:validation:Required LimitMbps *string `json:"limitMbps" tf:"limit_mbps,omitempty"` }
func (*BandwidthLimitParameters) DeepCopy ¶
func (in *BandwidthLimitParameters) DeepCopy() *BandwidthLimitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BandwidthLimitParameters.
func (*BandwidthLimitParameters) DeepCopyInto ¶
func (in *BandwidthLimitParameters) DeepCopyInto(out *BandwidthLimitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.