v1beta1

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=storagetransfer.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "storagetransfer.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
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.

View Source
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

func (in *AgentPool) DeepCopy() *AgentPool

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

func (*AgentPool) DeepCopyInto

func (in *AgentPool) DeepCopyInto(out *AgentPool)

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

func (*AgentPool) DeepCopyObject

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

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

func (tr *AgentPool) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this AgentPool

func (*AgentPool) GetDeletionPolicy

func (mg *AgentPool) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this AgentPool.

func (*AgentPool) GetID

func (tr *AgentPool) GetID() string

GetID returns ID of underlying Terraform resource of this AgentPool

func (*AgentPool) GetManagementPolicy added in v0.31.0

func (mg *AgentPool) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this AgentPool.

func (*AgentPool) GetObservation

func (tr *AgentPool) GetObservation() (map[string]any, error)

GetObservation of this AgentPool

func (*AgentPool) GetParameters

func (tr *AgentPool) GetParameters() (map[string]any, error)

GetParameters of this AgentPool

func (*AgentPool) GetProviderConfigReference

func (mg *AgentPool) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this AgentPool.

func (*AgentPool) GetProviderReference

func (mg *AgentPool) GetProviderReference() *xpv1.Reference

GetProviderReference of this AgentPool. Deprecated: Use GetProviderConfigReference.

func (*AgentPool) GetPublishConnectionDetailsTo

func (mg *AgentPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AgentPool.

func (*AgentPool) GetTerraformResourceType

func (mg *AgentPool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AgentPool

func (*AgentPool) GetTerraformSchemaVersion

func (tr *AgentPool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AgentPool) GetWriteConnectionSecretToReference

func (mg *AgentPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this AgentPool.

func (*AgentPool) LateInitialize

func (tr *AgentPool) LateInitialize(attrs []byte) (bool, error)

LateInitialize this AgentPool using its observed tfState. returns True if there are any spec changes for the resource.

func (*AgentPool) SetConditions

func (mg *AgentPool) SetConditions(c ...xpv1.Condition)

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

func (tr *AgentPool) SetObservation(obs map[string]any) error

SetObservation for this AgentPool

func (*AgentPool) SetParameters

func (tr *AgentPool) SetParameters(params map[string]any) error

SetParameters for this AgentPool

func (*AgentPool) SetProviderConfigReference

func (mg *AgentPool) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this AgentPool.

func (*AgentPool) SetProviderReference

func (mg *AgentPool) SetProviderReference(r *xpv1.Reference)

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

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

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

func (*BandwidthLimitObservation) DeepCopyInto

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

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.

Jump to

Keyboard shortcuts

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