v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=project.taikun.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "project.taikun.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	Project_Kind             = "Project"
	Project_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Project_Kind}.String()
	Project_KindAPIVersion   = Project_Kind + "." + CRDGroupVersion.String()
	Project_GroupVersionKind = CRDGroupVersion.WithKind(Project_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DiskObservation

type DiskObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DiskObservation) DeepCopy

func (in *DiskObservation) DeepCopy() *DiskObservation

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

func (*DiskObservation) DeepCopyInto

func (in *DiskObservation) DeepCopyInto(out *DiskObservation)

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

type DiskParameters

type DiskParameters struct {

	// Name of the device (required with AWS).
	// +kubebuilder:validation:Optional
	DeviceName *string `json:"deviceName,omitempty" tf:"device_name,omitempty"`

	// LUN ID (required with Azure).
	// +kubebuilder:validation:Optional
	LunID *float64 `json:"lunId,omitempty" tf:"lun_id,omitempty"`

	// Name of the disk.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The disk size in GBs.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Type of the volume (only valid with OpenStack).
	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*DiskParameters) DeepCopy

func (in *DiskParameters) DeepCopy() *DiskParameters

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

func (*DiskParameters) DeepCopyInto

func (in *DiskParameters) DeepCopyInto(out *DiskParameters)

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

type KubernetesNodeLabelObservation

type KubernetesNodeLabelObservation struct {
}

func (*KubernetesNodeLabelObservation) DeepCopy

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

func (*KubernetesNodeLabelObservation) DeepCopyInto

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

type KubernetesNodeLabelParameters

type KubernetesNodeLabelParameters struct {

	// Kubernetes node label key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Kubernetes node label value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*KubernetesNodeLabelParameters) DeepCopy

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

func (*KubernetesNodeLabelParameters) DeepCopyInto

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

type Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProjectSpec   `json:"spec"`
	Status            ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the Projects API +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,taikunjet}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) GetCondition

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

GetCondition of this Project.

func (*Project) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Project

func (*Project) GetDeletionPolicy

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

GetDeletionPolicy of this Project.

func (*Project) GetID

func (tr *Project) GetID() string

GetID returns ID of underlying Terraform resource of this Project

func (*Project) GetObservation

func (tr *Project) GetObservation() (map[string]interface{}, error)

GetObservation of this Project

func (*Project) GetParameters

func (tr *Project) GetParameters() (map[string]interface{}, error)

GetParameters of this Project

func (*Project) GetProviderConfigReference

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

GetProviderConfigReference of this Project.

func (*Project) GetProviderReference

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

GetProviderReference of this Project. Deprecated: Use GetProviderConfigReference.

func (*Project) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Project.

func (*Project) GetTerraformResourceType

func (mg *Project) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Project

func (*Project) GetTerraformSchemaVersion

func (tr *Project) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Project) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Project.

func (*Project) LateInitialize

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

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

func (*Project) ResolveReferences

func (mg *Project) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Project.

func (*Project) SetConditions

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

SetConditions of this Project.

func (*Project) SetDeletionPolicy

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

SetDeletionPolicy of this Project.

func (*Project) SetObservation

func (tr *Project) SetObservation(obs map[string]interface{}) error

SetObservation for this Project

func (*Project) SetParameters

func (tr *Project) SetParameters(params map[string]interface{}) error

SetParameters for this Project

func (*Project) SetProviderConfigReference

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

SetProviderConfigReference of this Project.

func (*Project) SetProviderReference

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

SetProviderReference of this Project. Deprecated: Use SetProviderConfigReference.

func (*Project) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Project.

func (*Project) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Project.

type ProjectList

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

ProjectList contains a list of Projects

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) GetItems

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

GetItems of this ProjectList.

type ProjectObservation

type ProjectObservation struct {
	AccessIP *string `json:"accessIp,omitempty" tf:"access_ip,omitempty"`

	AlertingProfileName *string `json:"alertingProfileName,omitempty" tf:"alerting_profile_name,omitempty"`

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

	ServerBastion []ServerBastionObservation `json:"serverBastion,omitempty" tf:"server_bastion,omitempty"`

	ServerKubemaster []ServerKubemasterObservation `json:"serverKubemaster,omitempty" tf:"server_kubemaster,omitempty"`

	ServerKubeworker []ServerKubeworkerObservation `json:"serverKubeworker,omitempty" tf:"server_kubeworker,omitempty"`

	VM []VMObservation `json:"vm,omitempty" tf:"vm,omitempty"`
}

func (*ProjectObservation) DeepCopy

func (in *ProjectObservation) DeepCopy() *ProjectObservation

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

func (*ProjectObservation) DeepCopyInto

func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)

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

type ProjectParameters

type ProjectParameters struct {

	// ID of the project's access profile. Defaults to the default access profile of the project's organization.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/accessprofile/v1alpha1.Profile
	// +kubebuilder:validation:Optional
	AccessProfileID *string `json:"accessProfileId,omitempty" tf:"access_profile_id,omitempty"`

	// +kubebuilder:validation:Optional
	AccessProfileIDRef *v1.Reference `json:"accessProfileIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	AccessProfileIDSelector *v1.Selector `json:"accessProfileIdSelector,omitempty" tf:"-"`

	// ID of the project's alerting profile.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/alertingprofile/v1alpha1.Profile
	// +kubebuilder:validation:Optional
	AlertingProfileID *string `json:"alertingProfileId,omitempty" tf:"alerting_profile_id,omitempty"`

	// +kubebuilder:validation:Optional
	AlertingProfileIDRef *v1.Reference `json:"alertingProfileIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	AlertingProfileIDSelector *v1.Selector `json:"alertingProfileIdSelector,omitempty" tf:"-"`

	// If enabled, the Kubespray version will be automatically upgraded when a new version is available. Defaults to `false`.
	// +kubebuilder:validation:Optional
	AutoUpgrade *bool `json:"autoUpgrade,omitempty" tf:"auto_upgrade,omitempty"`

	// ID of the backup credential. If unspecified, backups are disabled.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/backupcredential/v1alpha1.Credential
	// +kubebuilder:validation:Optional
	BackupCredentialID *string `json:"backupCredentialId,omitempty" tf:"backup_credential_id,omitempty"`

	// +kubebuilder:validation:Optional
	BackupCredentialIDRef *v1.Reference `json:"backupCredentialIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	BackupCredentialIDSelector *v1.Selector `json:"backupCredentialIdSelector,omitempty" tf:"-"`

	// ID of the cloud credential used to create the project's servers.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/cloudcredential/v1alpha1.Credential
	// +kubebuilder:validation:Optional
	CloudCredentialID *string `json:"cloudCredentialId,omitempty" tf:"cloud_credential_id,omitempty"`

	// +kubebuilder:validation:Optional
	CloudCredentialIDRef *v1.Reference `json:"cloudCredentialIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	CloudCredentialIDSelector *v1.Selector `json:"cloudCredentialIdSelector,omitempty" tf:"-"`

	// If enabled, the project will be deleted on the expiration date and it will not be possible to recover it. Defaults to `false`. Required with: `expiration_date`.
	// +kubebuilder:validation:Optional
	DeleteOnExpiration *bool `json:"deleteOnExpiration,omitempty" tf:"delete_on_expiration,omitempty"`

	// Project's expiration date in the format: 'dd/mm/yyyy'.
	// +kubebuilder:validation:Optional
	ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"`

	// List of flavors bound to the project.
	// +kubebuilder:validation:Optional
	Flavors []*string `json:"flavors,omitempty" tf:"flavors,omitempty"`

	// List of images bound to the project.
	// +kubebuilder:validation:Optional
	Images []*string `json:"images,omitempty" tf:"images,omitempty"`

	// ID of the project's Kubernetes profile. Defaults to the default Kubernetes profile of the project's organization.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/kubernetesprofile/v1alpha1.Profile
	// +kubebuilder:validation:Optional
	KubernetesProfileID *string `json:"kubernetesProfileId,omitempty" tf:"kubernetes_profile_id,omitempty"`

	// +kubebuilder:validation:Optional
	KubernetesProfileIDRef *v1.Reference `json:"kubernetesProfileIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	KubernetesProfileIDSelector *v1.Selector `json:"kubernetesProfileIdSelector,omitempty" tf:"-"`

	// Kubernetes Version at project creation. Use the meta-argument `ignore_changes` to ignore future upgrades.
	// +kubebuilder:validation:Optional
	KubernetesVersion *string `json:"kubernetesVersion,omitempty" tf:"kubernetes_version,omitempty"`

	// Indicates whether to lock the project. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Lock *bool `json:"lock,omitempty" tf:"lock,omitempty"`

	// Kubernetes cluster monitoring. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring,omitempty"`

	// Project name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// ID of the organization which owns the project.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/organization/v1alpha1.Organization
	// +kubebuilder:validation:Optional
	OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`

	// +kubebuilder:validation:Optional
	OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"`

	// ID of the Policy profile. If unspecified, Gatekeeper is disabled.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/policyprofile/v1alpha1.Profile
	// +kubebuilder:validation:Optional
	PolicyProfileID *string `json:"policyProfileId,omitempty" tf:"policy_profile_id,omitempty"`

	// +kubebuilder:validation:Optional
	PolicyProfileIDRef *v1.Reference `json:"policyProfileIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	PolicyProfileIDSelector *v1.Selector `json:"policyProfileIdSelector,omitempty" tf:"-"`

	// Maximum CPU units. Defaults to `1000000`.
	// +kubebuilder:validation:Optional
	QuotaCPUUnits *float64 `json:"quotaCpuUnits,omitempty" tf:"quota_cpu_units,omitempty"`

	// Maximum disk size in GBs. Defaults to `102400`.
	// +kubebuilder:validation:Optional
	QuotaDiskSize *float64 `json:"quotaDiskSize,omitempty" tf:"quota_disk_size,omitempty"`

	// Maximum RAM size in GBs. Defaults to `102400`.
	// +kubebuilder:validation:Optional
	QuotaRAMSize *float64 `json:"quotaRamSize,omitempty" tf:"quota_ram_size,omitempty"`

	// Maximum CPU units for standalone VMs. Defaults to `1000000`.
	// +kubebuilder:validation:Optional
	QuotaVMCPUUnits *float64 `json:"quotaVmCpuUnits,omitempty" tf:"quota_vm_cpu_units,omitempty"`

	// Maximum RAM size in GBs for standalone VMs. Defaults to `102400`.
	// +kubebuilder:validation:Optional
	QuotaVMRAMSize *float64 `json:"quotaVmRamSize,omitempty" tf:"quota_vm_ram_size,omitempty"`

	// Maximum volume size in GBs for standalone VMs. Defaults to `102400`.
	// +kubebuilder:validation:Optional
	QuotaVMVolumeSize *float64 `json:"quotaVmVolumeSize,omitempty" tf:"quota_vm_volume_size,omitempty"`

	// Router ID end range (specify only if using OpenStack cloud credentials with Taikun Load Balancer enabled). Required with: `router_id_start_range`, `taikun_lb_flavor`.
	// +kubebuilder:validation:Optional
	RouterIDEndRange *float64 `json:"routerIdEndRange,omitempty" tf:"router_id_end_range,omitempty"`

	// Router ID start range (specify only if using OpenStack cloud credentials with Taikun Load Balancer enabled). Required with: `router_id_end_range`, `taikun_lb_flavor`.
	// +kubebuilder:validation:Optional
	RouterIDStartRange *float64 `json:"routerIdStartRange,omitempty" tf:"router_id_start_range,omitempty"`

	// Bastion server. Required with: `server_kubemaster`, `server_kubeworker`.
	// +kubebuilder:validation:Optional
	ServerBastion []ServerBastionParameters `json:"serverBastion,omitempty" tf:"server_bastion,omitempty"`

	// Kubemaster server. Required with: `server_bastion`, `server_kubeworker`.
	// +kubebuilder:validation:Optional
	ServerKubemaster []ServerKubemasterParameters `json:"serverKubemaster,omitempty" tf:"server_kubemaster,omitempty"`

	// Kubeworker server. Required with: `server_bastion`, `server_kubemaster`.
	// +kubebuilder:validation:Optional
	ServerKubeworker []ServerKubeworkerParameters `json:"serverKubeworker,omitempty" tf:"server_kubeworker,omitempty"`

	// OpenStack flavor for the Taikun load balancer (specify only if using OpenStack cloud credentials with Taikun Load Balancer enabled). Required with: `router_id_end_range`, `router_id_start_range`.
	// +kubebuilder:validation:Optional
	TaikunLBFlavor *string `json:"taikunLbFlavor,omitempty" tf:"taikun_lb_flavor,omitempty"`

	// Virtual machines.
	// +kubebuilder:validation:Optional
	VM []VMParameters `json:"vm,omitempty" tf:"vm,omitempty"`
}

func (*ProjectParameters) DeepCopy

func (in *ProjectParameters) DeepCopy() *ProjectParameters

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

func (*ProjectParameters) DeepCopyInto

func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)

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

type ProjectSpec

type ProjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectParameters `json:"forProvider"`
}

ProjectSpec defines the desired state of Project

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectStatus

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

ProjectStatus defines the observed state of Project.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

type ServerBastionObservation

type ServerBastionObservation struct {
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ServerBastionObservation) DeepCopy

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

func (*ServerBastionObservation) DeepCopyInto

func (in *ServerBastionObservation) DeepCopyInto(out *ServerBastionObservation)

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

type ServerBastionParameters

type ServerBastionParameters struct {

	// The server's disk size in GBs. Defaults to `30`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The server's flavor.
	// +kubebuilder:validation:Required
	Flavor *string `json:"flavor" tf:"flavor,omitempty"`

	// Name of the server.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ServerBastionParameters) DeepCopy

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

func (*ServerBastionParameters) DeepCopyInto

func (in *ServerBastionParameters) DeepCopyInto(out *ServerBastionParameters)

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

type ServerKubemasterObservation

type ServerKubemasterObservation struct {
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ServerKubemasterObservation) DeepCopy

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

func (*ServerKubemasterObservation) DeepCopyInto

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

type ServerKubemasterParameters

type ServerKubemasterParameters struct {

	// The server's disk size in GBs. Defaults to `30`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The server's flavor.
	// +kubebuilder:validation:Required
	Flavor *string `json:"flavor" tf:"flavor,omitempty"`

	// Attach Kubernetes node labels.
	// +kubebuilder:validation:Optional
	KubernetesNodeLabel []KubernetesNodeLabelParameters `json:"kubernetesNodeLabel,omitempty" tf:"kubernetes_node_label,omitempty"`

	// Name of the server.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ServerKubemasterParameters) DeepCopy

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

func (*ServerKubemasterParameters) DeepCopyInto

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

type ServerKubeworkerKubernetesNodeLabelObservation

type ServerKubeworkerKubernetesNodeLabelObservation struct {
}

func (*ServerKubeworkerKubernetesNodeLabelObservation) DeepCopy

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

func (*ServerKubeworkerKubernetesNodeLabelObservation) DeepCopyInto

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

type ServerKubeworkerKubernetesNodeLabelParameters

type ServerKubeworkerKubernetesNodeLabelParameters struct {

	// Kubernetes node label key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Kubernetes node label value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ServerKubeworkerKubernetesNodeLabelParameters) DeepCopy

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

func (*ServerKubeworkerKubernetesNodeLabelParameters) DeepCopyInto

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

type ServerKubeworkerObservation

type ServerKubeworkerObservation struct {
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ServerKubeworkerObservation) DeepCopy

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

func (*ServerKubeworkerObservation) DeepCopyInto

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

type ServerKubeworkerParameters

type ServerKubeworkerParameters struct {

	// The server's disk size in GBs. Defaults to `30`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// The server's flavor.
	// +kubebuilder:validation:Required
	Flavor *string `json:"flavor" tf:"flavor,omitempty"`

	// Attach Kubernetes node labels.
	// +kubebuilder:validation:Optional
	KubernetesNodeLabel []ServerKubeworkerKubernetesNodeLabelParameters `json:"kubernetesNodeLabel,omitempty" tf:"kubernetes_node_label,omitempty"`

	// Name of the server.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ServerKubeworkerParameters) DeepCopy

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

func (*ServerKubeworkerParameters) DeepCopyInto

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

type TagObservation

type TagObservation struct {
}

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

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

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

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

type TagParameters

type TagParameters struct {

	// Key of the tag.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Value of the tag.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

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

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

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

type VMObservation

type VMObservation struct {
	AccessIP *string `json:"accessIp,omitempty" tf:"access_ip,omitempty"`

	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

	Disk []DiskObservation `json:"disk,omitempty" tf:"disk,omitempty"`

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	ImageName *string `json:"imageName,omitempty" tf:"image_name,omitempty"`

	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*VMObservation) DeepCopy

func (in *VMObservation) DeepCopy() *VMObservation

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

func (*VMObservation) DeepCopyInto

func (in *VMObservation) DeepCopyInto(out *VMObservation)

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

type VMParameters

type VMParameters struct {

	// Cloud init (updating this field will recreate the VM). Defaults to ` `.
	// +kubebuilder:validation:Optional
	CloudInit *string `json:"cloudInit,omitempty" tf:"cloud_init,omitempty"`

	// Disks associated with the VM.
	// +kubebuilder:validation:Optional
	Disk []DiskParameters `json:"disk,omitempty" tf:"disk,omitempty"`

	// The VM's flavor.
	// +kubebuilder:validation:Required
	Flavor *string `json:"flavor" tf:"flavor,omitempty"`

	// The VM's image ID (updating this field will recreate the VM).
	// +kubebuilder:validation:Required
	ImageID *string `json:"imageId" tf:"image_id,omitempty"`

	// Name of the VM (updating this field will recreate the VM).
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Whether a public IP will be available (updating this field will recreate the VM if the project isn't hosted on OpenStack). Defaults to `false`.
	// +kubebuilder:validation:Optional
	PublicIP *bool `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	// Standalone profile ID bound to the VM (updating this field will recreate the VM).
	// +kubebuilder:validation:Required
	StandaloneProfileID *string `json:"standaloneProfileId" tf:"standalone_profile_id,omitempty"`

	// Tags linked to the VM (updating this field will recreate the VM).
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`

	// The VM's username (required for Azure).
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`

	// The VM's volume size in GBs (updating this field will recreate the VM).
	// +kubebuilder:validation:Required
	VolumeSize *float64 `json:"volumeSize" tf:"volume_size,omitempty"`

	// Volume type (updating this field will recreate the VM).
	// +kubebuilder:validation:Optional
	VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}

func (*VMParameters) DeepCopy

func (in *VMParameters) DeepCopy() *VMParameters

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

func (*VMParameters) DeepCopyInto

func (in *VMParameters) DeepCopyInto(out *VMParameters)

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