v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the resourcemanager resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=resourcemanager.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=resourcemanager.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "resourcemanager.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Folder_Kind             = "Folder"
	Folder_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Folder_Kind}.String()
	Folder_KindAPIVersion   = Folder_Kind + "." + CRDGroupVersion.String()
	Folder_GroupVersionKind = CRDGroupVersion.WithKind(Folder_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 Folder

type Folder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FolderSpec   `json:"spec"`
	Status            FolderStatus `json:"status,omitempty"`
}

Folder is the Schema for the Folders API. Allows management of the Cloud Folder. +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,yandex-cloud}

func (*Folder) DeepCopy

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto

func (in *Folder) DeepCopyInto(out *Folder)

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

func (*Folder) DeepCopyObject

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

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

func (*Folder) GetCondition

func (mg *Folder) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Folder.

func (*Folder) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Folder

func (*Folder) GetDeletionPolicy

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

GetDeletionPolicy of this Folder.

func (*Folder) GetID

func (tr *Folder) GetID() string

GetID returns ID of underlying Terraform resource of this Folder

func (*Folder) GetInitParameters

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

GetInitParameters of this Folder

func (*Folder) GetManagementPolicies

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

GetManagementPolicies of this Folder.

func (*Folder) GetMergedParameters

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

GetInitParameters of this Folder

func (*Folder) GetObservation

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

GetObservation of this Folder

func (*Folder) GetParameters

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

GetParameters of this Folder

func (*Folder) GetProviderConfigReference

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

GetProviderConfigReference of this Folder.

func (*Folder) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Folder.

func (*Folder) GetTerraformResourceType

func (mg *Folder) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Folder

func (*Folder) GetTerraformSchemaVersion

func (tr *Folder) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Folder) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Folder.

func (*Folder) Hub

func (tr *Folder) Hub()

Hub marks this type as a conversion hub.

func (*Folder) LateInitialize

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

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

func (*Folder) SetConditions

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

SetConditions of this Folder.

func (*Folder) SetDeletionPolicy

func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Folder.

func (*Folder) SetManagementPolicies

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

SetManagementPolicies of this Folder.

func (*Folder) SetObservation

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

SetObservation for this Folder

func (*Folder) SetParameters

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

SetParameters for this Folder

func (*Folder) SetProviderConfigReference

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

SetProviderConfigReference of this Folder.

func (*Folder) SetPublishConnectionDetailsTo

func (mg *Folder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Folder.

func (*Folder) SetWriteConnectionSecretToReference

func (mg *Folder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Folder.

type FolderInitParameters

type FolderInitParameters struct {

	// Cloud that the resource belongs to. If value is omitted, the default provider Cloud ID is used.
	CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"`

	// A description of the Folder.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A set of key/value label pairs to assign to the Folder.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Folder.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*FolderInitParameters) DeepCopy

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

func (*FolderInitParameters) DeepCopyInto

func (in *FolderInitParameters) DeepCopyInto(out *FolderInitParameters)

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

type FolderList

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

FolderList contains a list of Folders

func (*FolderList) DeepCopy

func (in *FolderList) DeepCopy() *FolderList

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

func (*FolderList) DeepCopyInto

func (in *FolderList) DeepCopyInto(out *FolderList)

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

func (*FolderList) DeepCopyObject

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

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

func (*FolderList) GetItems

func (l *FolderList) GetItems() []resource.Managed

GetItems of this FolderList.

type FolderObservation

type FolderObservation struct {

	// Cloud that the resource belongs to. If value is omitted, the default provider Cloud ID is used.
	CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"`

	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// A description of the Folder.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A set of key/value label pairs to assign to the Folder.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Folder.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*FolderObservation) DeepCopy

func (in *FolderObservation) DeepCopy() *FolderObservation

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

func (*FolderObservation) DeepCopyInto

func (in *FolderObservation) DeepCopyInto(out *FolderObservation)

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

type FolderParameters

type FolderParameters struct {

	// Cloud that the resource belongs to. If value is omitted, the default provider Cloud ID is used.
	// +kubebuilder:validation:Optional
	CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"`

	// A description of the Folder.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A set of key/value label pairs to assign to the Folder.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The name of the Folder.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*FolderParameters) DeepCopy

func (in *FolderParameters) DeepCopy() *FolderParameters

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

func (*FolderParameters) DeepCopyInto

func (in *FolderParameters) DeepCopyInto(out *FolderParameters)

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

type FolderSpec

type FolderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FolderParameters `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 FolderInitParameters `json:"initProvider,omitempty"`
}

FolderSpec defines the desired state of Folder

func (*FolderSpec) DeepCopy

func (in *FolderSpec) DeepCopy() *FolderSpec

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

func (*FolderSpec) DeepCopyInto

func (in *FolderSpec) DeepCopyInto(out *FolderSpec)

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

type FolderStatus

type FolderStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FolderObservation `json:"atProvider,omitempty"`
}

FolderStatus defines the observed state of Folder.

func (*FolderStatus) DeepCopy

func (in *FolderStatus) DeepCopy() *FolderStatus

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

func (*FolderStatus) DeepCopyInto

func (in *FolderStatus) DeepCopyInto(out *FolderStatus)

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