v1alpha1

package
v0.0.0-...-04de0b2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=vultr.vultr.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "vultr.vultr.upbound.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 (
	Instance_Kind             = "Instance"
	Instance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String()
	Instance_KindAPIVersion   = Instance_Kind + "." + CRDGroupVersion.String()
	Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind)
)

Repository type metadata.

View Source
var (
	Kubernetes_Kind             = "Kubernetes"
	Kubernetes_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Kubernetes_Kind}.String()
	Kubernetes_KindAPIVersion   = Kubernetes_Kind + "." + CRDGroupVersion.String()
	Kubernetes_GroupVersionKind = CRDGroupVersion.WithKind(Kubernetes_Kind)
)

Repository type metadata.

View Source
var (
	VPC_Kind             = "VPC"
	VPC_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VPC_Kind}.String()
	VPC_KindAPIVersion   = VPC_Kind + "." + CRDGroupVersion.String()
	VPC_GroupVersionKind = CRDGroupVersion.WithKind(VPC_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BackupsScheduleObservation

type BackupsScheduleObservation struct {
}

func (*BackupsScheduleObservation) DeepCopy

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

func (*BackupsScheduleObservation) DeepCopyInto

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

type BackupsScheduleParameters

type BackupsScheduleParameters struct {

	// Day of month to run. Use values between 1 and 28.
	// +kubebuilder:validation:Optional
	Dom *float64 `json:"dom,omitempty" tf:"dom,omitempty"`

	// Day of week to run. 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday
	// +kubebuilder:validation:Optional
	Dow *float64 `json:"dow,omitempty" tf:"dow,omitempty"`

	// Hour of day to run in UTC.
	// +kubebuilder:validation:Optional
	Hour *float64 `json:"hour,omitempty" tf:"hour,omitempty"`

	// Type of backup schedule Possible values are daily, weekly, monthly, daily_alt_even, or daily_alt_odd.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*BackupsScheduleParameters) DeepCopy

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

func (*BackupsScheduleParameters) DeepCopyInto

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

type Instance

type Instance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceSpec   `json:"spec"`
	Status            InstanceStatus `json:"status,omitempty"`
}

Instance is the Schema for the Instances API. Provides a Vultr instance resource. This can be used to create, read, modify, and delete instances on your Vultr account. +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,vultr}

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) GetCondition

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

GetCondition of this Instance.

func (*Instance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Instance

func (*Instance) GetDeletionPolicy

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

GetDeletionPolicy of this Instance.

func (*Instance) GetID

func (tr *Instance) GetID() string

GetID returns ID of underlying Terraform resource of this Instance

func (*Instance) GetObservation

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

GetObservation of this Instance

func (*Instance) GetParameters

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

GetParameters of this Instance

func (*Instance) GetProviderConfigReference

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

GetProviderConfigReference of this Instance.

func (*Instance) GetProviderReference

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

GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.

func (*Instance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Instance.

func (*Instance) GetTerraformResourceType

func (mg *Instance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Instance

func (*Instance) GetTerraformSchemaVersion

func (tr *Instance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Instance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Instance.

func (*Instance) LateInitialize

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

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

func (*Instance) SetConditions

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

SetConditions of this Instance.

func (*Instance) SetDeletionPolicy

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

SetDeletionPolicy of this Instance.

func (*Instance) SetObservation

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

SetObservation for this Instance

func (*Instance) SetParameters

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

SetParameters for this Instance

func (*Instance) SetProviderConfigReference

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

SetProviderConfigReference of this Instance.

func (*Instance) SetProviderReference

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

SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.

func (*Instance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Instance.

func (*Instance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Instance.

type InstanceList

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

InstanceList contains a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

func (*InstanceList) GetItems

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

GetItems of this InstanceList.

type InstanceObservation

type InstanceObservation struct {

	// The server's allowed bandwidth usage in GB.
	AllowedBandwidth *float64 `json:"allowedBandwidth,omitempty" tf:"allowed_bandwidth,omitempty"`

	// The date the server was added to your Vultr account.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The description of the disk(s) on the server.
	Disk *float64 `json:"disk,omitempty" tf:"disk,omitempty"`

	// Array of which features are enabled.
	Features []*string `json:"features,omitempty" tf:"features,omitempty"`

	// The server's IPv4 gateway.
	GatewayV4 *string `json:"gatewayV4,omitempty" tf:"gateway_v4,omitempty"`

	// ID of the server.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The server's internal IP address.
	InternalIP *string `json:"internalIp,omitempty" tf:"internal_ip,omitempty"`

	// The server's current KVM URL. This URL will change periodically. It is not advised to cache this value.
	Kvm *string `json:"kvm,omitempty" tf:"kvm,omitempty"`

	// The server's main IP address.
	MainIP *string `json:"mainIp,omitempty" tf:"main_ip,omitempty"`

	// The server's IPv4 netmask.
	NetmaskV4 *string `json:"netmaskV4,omitempty" tf:"netmask_v4,omitempty"`

	// The string description of the operating system installed on the server.
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// Whether the server is powered on or not.
	PowerStatus *string `json:"powerStatus,omitempty" tf:"power_status,omitempty"`

	// The amount of memory available on the server in MB.
	RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"`

	// A more detailed server status (none, locked, installingbooting, isomounting, ok).
	ServerStatus *string `json:"serverStatus,omitempty" tf:"server_status,omitempty"`

	// The status of the server's subscription.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The main IPv6 network address.
	V6MainIP *string `json:"v6MainIp,omitempty" tf:"v6_main_ip,omitempty"`

	// The IPv6 subnet.
	V6Network *string `json:"v6Network,omitempty" tf:"v6_network,omitempty"`

	// The IPv6 network size in bits.
	V6NetworkSize *float64 `json:"v6NetworkSize,omitempty" tf:"v6_network_size,omitempty"`

	// The number of virtual CPUs available on the server.
	VcpuCount *float64 `json:"vcpuCount,omitempty" tf:"vcpu_count,omitempty"`
}

func (*InstanceObservation) DeepCopy

func (in *InstanceObservation) DeepCopy() *InstanceObservation

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

func (*InstanceObservation) DeepCopyInto

func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)

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

type InstanceParameters

type InstanceParameters struct {

	// Whether an activation email will be sent when the server is ready.
	// +kubebuilder:validation:Optional
	ActivationEmail *bool `json:"activationEmail,omitempty" tf:"activation_email,omitempty"`

	// The ID of the Vultr application to be installed on the server. See List Applications
	// +kubebuilder:validation:Optional
	AppID *float64 `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Whether automatic backups will be enabled for this server (these have an extra charge associated with them). Values can be enabled or disabled.
	// +kubebuilder:validation:Optional
	Backups *string `json:"backups,omitempty" tf:"backups,omitempty"`

	// A block that defines the way backups should be scheduled. While this is an optional field if backups are enabled this field is mandatory. The configuration of a backups_schedule is listed below.
	// +kubebuilder:validation:Optional
	BackupsSchedule []BackupsScheduleParameters `json:"backupsSchedule,omitempty" tf:"backups_schedule,omitempty"`

	// Whether DDOS protection will be enabled on the server (there is an additional charge for this).
	// +kubebuilder:validation:Optional
	DdosProtection *bool `json:"ddosProtection,omitempty" tf:"ddos_protection,omitempty"`

	// Whether the server has IPv6 networking activated.
	// +kubebuilder:validation:Optional
	EnableIPv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6,omitempty"`

	// The ID of the firewall group to assign to the server.
	// +kubebuilder:validation:Optional
	FirewallGroupID *string `json:"firewallGroupId,omitempty" tf:"firewall_group_id,omitempty"`

	// The hostname to assign to the server.
	// The hostname of the instance. Updating the hostname will cause a force new. This behavior is in place to prevent accidental reinstalls. Issuing an update to the hostname on UI or API issues a reinstall of the OS.
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// The ID of the Vultr marketplace application to be installed on the server. See List Applications Note marketplace applications are denoted by type: marketplace and you must use the image_id not the id.
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The ID of the ISO file to be installed on the server. See List ISO
	// +kubebuilder:validation:Optional
	IsoID *string `json:"isoId,omitempty" tf:"iso_id,omitempty"`

	// A label for the server.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The ID of the operating system to be installed on the server. See List OS
	// +kubebuilder:validation:Optional
	OsID *float64 `json:"osId,omitempty" tf:"os_id,omitempty"`

	// The ID of the plan that you want the instance to subscribe to. See List Plans
	// +kubebuilder:validation:Required
	Plan *string `json:"plan" tf:"plan,omitempty"`

	// (Deprecated: use vpc_ids instead) A list of private network IDs to be attached to the server.
	// +kubebuilder:validation:Optional
	PrivateNetworkIds []*string `json:"privateNetworkIds,omitempty" tf:"private_network_ids,omitempty"`

	// The ID of the region that the instance is to be created in. See List Regions
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// ID of the floating IP to use as the main IP of this server.
	// +kubebuilder:validation:Optional
	ReservedIPID *string `json:"reservedIpId,omitempty" tf:"reserved_ip_id,omitempty"`

	// A list of SSH key IDs to apply to the server on install (only valid for Linux/FreeBSD).
	// +kubebuilder:validation:Optional
	SSHKeyIds []*string `json:"sshKeyIds,omitempty" tf:"ssh_key_ids,omitempty"`

	// The ID of the startup script you want added to the server.
	// +kubebuilder:validation:Optional
	ScriptID *string `json:"scriptId,omitempty" tf:"script_id,omitempty"`

	// The ID of the Vultr snapshot that the server will restore for the initial installation. See List Snapshots
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// (Deprecated: use tags instead)  The tag to assign to the server.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of tags to apply to the instance.
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Generic data store, which some provisioning tools and cloud operating systems use as a configuration file. It is generally consumed only once after an instance has been launched, but individual needs may vary.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`

	// A list of VPC IDs to be attached to the server.
	// +kubebuilder:validation:Optional
	VPCIds []*string `json:"vpcIds,omitempty" tf:"vpc_ids,omitempty"`
}

func (*InstanceParameters) DeepCopy

func (in *InstanceParameters) DeepCopy() *InstanceParameters

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

func (*InstanceParameters) DeepCopyInto

func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)

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

type InstanceSpec

type InstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InstanceParameters `json:"forProvider"`
}

InstanceSpec defines the desired state of Instance

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceStatus

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

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type Kubernetes

type Kubernetes struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesSpec   `json:"spec"`
	Status            KubernetesStatus `json:"status,omitempty"`
}

Kubernetes is the Schema for the Kubernetess API. Provides a Vultr Kubernetes Engine (VKE) resource. This can be used to create, read, modify, and delete VKE clusters on your Vultr account. +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,vultr}

func (*Kubernetes) DeepCopy

func (in *Kubernetes) DeepCopy() *Kubernetes

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

func (*Kubernetes) DeepCopyInto

func (in *Kubernetes) DeepCopyInto(out *Kubernetes)

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

func (*Kubernetes) DeepCopyObject

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

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

func (*Kubernetes) GetCondition

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

GetCondition of this Kubernetes.

func (*Kubernetes) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Kubernetes

func (*Kubernetes) GetDeletionPolicy

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

GetDeletionPolicy of this Kubernetes.

func (*Kubernetes) GetID

func (tr *Kubernetes) GetID() string

GetID returns ID of underlying Terraform resource of this Kubernetes

func (*Kubernetes) GetObservation

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

GetObservation of this Kubernetes

func (*Kubernetes) GetParameters

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

GetParameters of this Kubernetes

func (*Kubernetes) GetProviderConfigReference

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

GetProviderConfigReference of this Kubernetes.

func (*Kubernetes) GetProviderReference

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

GetProviderReference of this Kubernetes. Deprecated: Use GetProviderConfigReference.

func (*Kubernetes) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Kubernetes.

func (*Kubernetes) GetTerraformResourceType

func (mg *Kubernetes) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Kubernetes

func (*Kubernetes) GetTerraformSchemaVersion

func (tr *Kubernetes) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Kubernetes) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Kubernetes.

func (*Kubernetes) LateInitialize

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

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

func (*Kubernetes) SetConditions

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

SetConditions of this Kubernetes.

func (*Kubernetes) SetDeletionPolicy

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

SetDeletionPolicy of this Kubernetes.

func (*Kubernetes) SetObservation

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

SetObservation for this Kubernetes

func (*Kubernetes) SetParameters

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

SetParameters for this Kubernetes

func (*Kubernetes) SetProviderConfigReference

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

SetProviderConfigReference of this Kubernetes.

func (*Kubernetes) SetProviderReference

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

SetProviderReference of this Kubernetes. Deprecated: Use SetProviderConfigReference.

func (*Kubernetes) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Kubernetes.

func (*Kubernetes) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Kubernetes.

type KubernetesList

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

KubernetesList contains a list of Kubernetess

func (*KubernetesList) DeepCopy

func (in *KubernetesList) DeepCopy() *KubernetesList

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

func (*KubernetesList) DeepCopyInto

func (in *KubernetesList) DeepCopyInto(out *KubernetesList)

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

func (*KubernetesList) DeepCopyObject

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

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

func (*KubernetesList) GetItems

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

GetItems of this KubernetesList.

type KubernetesObservation

type KubernetesObservation struct {

	// IP range that your pods will run on in this cluster.
	ClusterSubnet *string `json:"clusterSubnet,omitempty" tf:"cluster_subnet,omitempty"`

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// Domain for your Kubernetes clusters control plane.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// IP address of VKE cluster control plane.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// Base64 encoded Kubeconfig for this VKE cluster.
	// Base64 encoded KubeConfig
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config,omitempty"`

	// Contains the default node pool that was deployed.
	// +kubebuilder:validation:Optional
	NodePools []NodePoolsObservation `json:"nodePools,omitempty" tf:"node_pools,omitempty"`

	// IP range that services will run on this cluster.
	ServiceSubnet *string `json:"serviceSubnet,omitempty" tf:"service_subnet,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*KubernetesObservation) DeepCopy

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

func (*KubernetesObservation) DeepCopyInto

func (in *KubernetesObservation) DeepCopyInto(out *KubernetesObservation)

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

type KubernetesParameters

type KubernetesParameters struct {

	// The VKE clusters label.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// Contains the default node pool that was deployed.
	// +kubebuilder:validation:Optional
	NodePools []NodePoolsParameters `json:"nodePools,omitempty" tf:"node_pools,omitempty"`

	// The region your VKE cluster will be deployed in. Currently, supported values are ewr and lax
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The version your VKE cluster you want deployed. See Available Version
	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*KubernetesParameters) DeepCopy

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

func (*KubernetesParameters) DeepCopyInto

func (in *KubernetesParameters) DeepCopyInto(out *KubernetesParameters)

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

type KubernetesSpec

type KubernetesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KubernetesParameters `json:"forProvider"`
}

KubernetesSpec defines the desired state of Kubernetes

func (*KubernetesSpec) DeepCopy

func (in *KubernetesSpec) DeepCopy() *KubernetesSpec

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

func (*KubernetesSpec) DeepCopyInto

func (in *KubernetesSpec) DeepCopyInto(out *KubernetesSpec)

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

type KubernetesStatus

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

KubernetesStatus defines the observed state of Kubernetes.

func (*KubernetesStatus) DeepCopy

func (in *KubernetesStatus) DeepCopy() *KubernetesStatus

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

func (*KubernetesStatus) DeepCopyInto

func (in *KubernetesStatus) DeepCopyInto(out *KubernetesStatus)

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

type NodePoolsObservation

type NodePoolsObservation struct {

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// Date of node pool updates.
	DateUpdated *string `json:"dateUpdated,omitempty" tf:"date_updated,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Array that contains information about nodes within this node pool.
	Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Tag for node pool.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*NodePoolsObservation) DeepCopy

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

func (*NodePoolsObservation) DeepCopyInto

func (in *NodePoolsObservation) DeepCopyInto(out *NodePoolsObservation)

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

type NodePoolsParameters

type NodePoolsParameters struct {

	// Enable the auto scaler for the default node pool.
	// +kubebuilder:validation:Optional
	AutoScaler *bool `json:"autoScaler,omitempty" tf:"auto_scaler,omitempty"`

	// The VKE clusters label.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The maximum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MaxNodes *float64 `json:"maxNodes,omitempty" tf:"max_nodes,omitempty"`

	// The minimum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MinNodes *float64 `json:"minNodes,omitempty" tf:"min_nodes,omitempty"`

	// The number of nodes in this node pool.
	// +kubebuilder:validation:Required
	NodeQuantity *float64 `json:"nodeQuantity" tf:"node_quantity,omitempty"`

	// The plan to be used in this node pool. See Plans List Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	// +kubebuilder:validation:Required
	Plan *string `json:"plan" tf:"plan,omitempty"`
}

func (*NodePoolsParameters) DeepCopy

func (in *NodePoolsParameters) DeepCopy() *NodePoolsParameters

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

func (*NodePoolsParameters) DeepCopyInto

func (in *NodePoolsParameters) DeepCopyInto(out *NodePoolsParameters)

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

type NodesObservation

type NodesObservation struct {

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The VKE clusters label.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodesObservation) DeepCopy

func (in *NodesObservation) DeepCopy() *NodesObservation

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

func (*NodesObservation) DeepCopyInto

func (in *NodesObservation) DeepCopyInto(out *NodesObservation)

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

type NodesParameters

type NodesParameters struct {
}

func (*NodesParameters) DeepCopy

func (in *NodesParameters) DeepCopy() *NodesParameters

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

func (*NodesParameters) DeepCopyInto

func (in *NodesParameters) DeepCopyInto(out *NodesParameters)

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

type VPC

type VPC struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VPCSpec   `json:"spec"`
	Status            VPCStatus `json:"status,omitempty"`
}

VPC is the Schema for the VPCs API. Provides a Vultr VPC resource. This can be used to create, read, and delete VPCs on your Vultr account. +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,vultr}

func (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

func (*VPC) DeepCopyObject

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

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

func (*VPC) GetCondition

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

GetCondition of this VPC.

func (*VPC) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VPC

func (*VPC) GetDeletionPolicy

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

GetDeletionPolicy of this VPC.

func (*VPC) GetID

func (tr *VPC) GetID() string

GetID returns ID of underlying Terraform resource of this VPC

func (*VPC) GetObservation

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

GetObservation of this VPC

func (*VPC) GetParameters

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

GetParameters of this VPC

func (*VPC) GetProviderConfigReference

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

GetProviderConfigReference of this VPC.

func (*VPC) GetProviderReference

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

GetProviderReference of this VPC. Deprecated: Use GetProviderConfigReference.

func (*VPC) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VPC.

func (*VPC) GetTerraformResourceType

func (mg *VPC) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VPC

func (*VPC) GetTerraformSchemaVersion

func (tr *VPC) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VPC) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VPC.

func (*VPC) LateInitialize

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

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

func (*VPC) SetConditions

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

SetConditions of this VPC.

func (*VPC) SetDeletionPolicy

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

SetDeletionPolicy of this VPC.

func (*VPC) SetObservation

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

SetObservation for this VPC

func (*VPC) SetParameters

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

SetParameters for this VPC

func (*VPC) SetProviderConfigReference

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

SetProviderConfigReference of this VPC.

func (*VPC) SetProviderReference

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

SetProviderReference of this VPC. Deprecated: Use SetProviderConfigReference.

func (*VPC) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VPC.

func (*VPC) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VPC.

type VPCList

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

VPCList contains a list of VPCs

func (*VPCList) DeepCopy

func (in *VPCList) DeepCopy() *VPCList

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

func (*VPCList) DeepCopyInto

func (in *VPCList) DeepCopyInto(out *VPCList)

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

func (*VPCList) DeepCopyObject

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

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

func (*VPCList) GetItems

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

GetItems of this VPCList.

type VPCObservation

type VPCObservation struct {

	// The date that the VPC was added to your Vultr account.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// ID of the VPC.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*VPCObservation) DeepCopy

func (in *VPCObservation) DeepCopy() *VPCObservation

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

func (*VPCObservation) DeepCopyInto

func (in *VPCObservation) DeepCopyInto(out *VPCObservation)

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

type VPCParameters

type VPCParameters struct {

	// The description you want to give your VPC.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The region ID that you want the VPC to be created in.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The IPv4 subnet to be used when attaching instances to this VPC.
	// +kubebuilder:validation:Optional
	V4Subnet *string `json:"v4Subnet,omitempty" tf:"v4_subnet,omitempty"`

	// The number of bits for the netmask in CIDR notation. Example: 32
	// +kubebuilder:validation:Optional
	V4SubnetMask *float64 `json:"v4SubnetMask,omitempty" tf:"v4_subnet_mask,omitempty"`
}

func (*VPCParameters) DeepCopy

func (in *VPCParameters) DeepCopy() *VPCParameters

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

func (*VPCParameters) DeepCopyInto

func (in *VPCParameters) DeepCopyInto(out *VPCParameters)

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

type VPCSpec

type VPCSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VPCParameters `json:"forProvider"`
}

VPCSpec defines the desired state of VPC

func (*VPCSpec) DeepCopy

func (in *VPCSpec) DeepCopy() *VPCSpec

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

func (*VPCSpec) DeepCopyInto

func (in *VPCSpec) DeepCopyInto(out *VPCSpec)

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

type VPCStatus

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

VPCStatus defines the observed state of VPC.

func (*VPCStatus) DeepCopy

func (in *VPCStatus) DeepCopy() *VPCStatus

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

func (*VPCStatus) DeepCopyInto

func (in *VPCStatus) DeepCopyInto(out *VPCStatus)

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