v1beta1

package
v1.9.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 12 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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*AgentPool) ConvertFrom added in v1.2.0

func (tr *AgentPool) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the AgentPool type.

func (*AgentPool) ConvertTo added in v1.2.0

func (tr *AgentPool) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this AgentPool to the hub type.

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) GetInitParameters added in v0.35.0

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

GetInitParameters of this AgentPool

func (*AgentPool) GetManagementPolicies added in v0.35.0

func (mg *AgentPool) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this AgentPool.

func (*AgentPool) GetMergedParameters added in v0.40.0

func (tr *AgentPool) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) SetManagementPolicies added in v0.35.0

func (mg *AgentPool) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 AgentPoolInitParameters added in v0.35.0

type AgentPoolInitParameters struct {

	// Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
	// Structure is documented below.
	BandwidthLimit []BandwidthLimitInitParameters `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit,omitempty"`

	// Specifies the client-specified AgentPool description.
	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.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*AgentPoolInitParameters) DeepCopy added in v0.35.0

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

func (*AgentPoolInitParameters) DeepCopyInto added in v0.35.0

func (in *AgentPoolInitParameters) DeepCopyInto(out *AgentPoolInitParameters)

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

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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AgentPoolInitParameters `json:"initProvider,omitempty"`
}

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 BandwidthLimitInitParameters added in v0.35.0

type BandwidthLimitInitParameters 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 (*BandwidthLimitInitParameters) DeepCopy added in v0.35.0

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

func (*BandwidthLimitInitParameters) DeepCopyInto added in v0.35.0

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:Optional
	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