Documentation ¶
Overview ¶
+groupName=instance.vultr.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instance) ValidateCreate() error
- func (r *Instance) ValidateDelete() error
- func (r *Instance) ValidateUpdate(old runtime.Object) error
- type InstanceList
- type InstanceSpec
- type InstanceSpecBackupsSchedule
- type InstanceSpecBackupsScheduleCodec
- type InstanceSpecResource
- type InstanceStatus
- type Ipv4
- func (in *Ipv4) DeepCopy() *Ipv4
- func (in *Ipv4) DeepCopyInto(out *Ipv4)
- func (in *Ipv4) DeepCopyObject() runtime.Object
- func (r *Ipv4) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Ipv4) ValidateCreate() error
- func (r *Ipv4) ValidateDelete() error
- func (r *Ipv4) ValidateUpdate(old runtime.Object) error
- type Ipv4List
- type Ipv4Spec
- type Ipv4SpecResource
- type Ipv4Status
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: instance.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec,omitempty"` Status InstanceStatus `json:"status,omitempty"` }
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) SetupWebhookWithManager ¶
func (*Instance) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Instance) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Instance CRD objects Items []Instance `json:"items,omitempty"` }
InstanceList is 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.
type InstanceSpec ¶
type InstanceSpec struct { State *InstanceSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 InstanceSpecBackupsSchedule ¶
type InstanceSpecBackupsSchedule struct { // +optional Dom *int64 `json:"dom,omitempty" tf:"dom"` // +optional Dow *int64 `json:"dow,omitempty" tf:"dow"` // +optional Hour *int64 `json:"hour,omitempty" tf:"hour"` Type *string `json:"type" tf:"type"` }
func (*InstanceSpecBackupsSchedule) DeepCopy ¶
func (in *InstanceSpecBackupsSchedule) DeepCopy() *InstanceSpecBackupsSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecBackupsSchedule.
func (*InstanceSpecBackupsSchedule) DeepCopyInto ¶
func (in *InstanceSpecBackupsSchedule) DeepCopyInto(out *InstanceSpecBackupsSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecBackupsScheduleCodec ¶
type InstanceSpecBackupsScheduleCodec struct { }
+k8s:deepcopy-gen=false
func (InstanceSpecBackupsScheduleCodec) Decode ¶
func (InstanceSpecBackupsScheduleCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ActivationEmail *bool `json:"activationEmail,omitempty" tf:"activation_email"` // +optional AllowedBandwidth *int64 `json:"allowedBandwidth,omitempty" tf:"allowed_bandwidth"` // +optional AppID *int64 `json:"appID,omitempty" tf:"app_id"` // +optional Backups *string `json:"backups,omitempty" tf:"backups"` // +optional BackupsSchedule *InstanceSpecBackupsSchedule `json:"backupsSchedule,omitempty" tf:"backups_schedule"` // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional DdosProtection *bool `json:"ddosProtection,omitempty" tf:"ddos_protection"` // +optional DefaultPassword *string `json:"-" sensitive:"true" tf:"default_password"` // +optional Disk *int64 `json:"disk,omitempty" tf:"disk"` // +optional EnableIpv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6"` // +optional // Deprecated EnablePrivateNetwork *bool `json:"enablePrivateNetwork,omitempty" tf:"enable_private_network"` // +optional Features []string `json:"features,omitempty" tf:"features"` // +optional FirewallGroupID *string `json:"firewallGroupID,omitempty" tf:"firewall_group_id"` // +optional GatewayV4 *string `json:"gatewayV4,omitempty" tf:"gateway_v4"` // +optional Hostname *string `json:"hostname,omitempty" tf:"hostname"` // +optional ImageID *string `json:"imageID,omitempty" tf:"image_id"` // +optional InternalIP *string `json:"internalIP,omitempty" tf:"internal_ip"` // +optional IsoID *string `json:"isoID,omitempty" tf:"iso_id"` // +optional Kvm *string `json:"kvm,omitempty" tf:"kvm"` // +optional Label *string `json:"label,omitempty" tf:"label"` // +optional MainIP *string `json:"mainIP,omitempty" tf:"main_ip"` // +optional NetmaskV4 *string `json:"netmaskV4,omitempty" tf:"netmask_v4"` // +optional Os *string `json:"os,omitempty" tf:"os"` // +optional OsID *int64 `json:"osID,omitempty" tf:"os_id"` Plan *string `json:"plan" tf:"plan"` // +optional PowerStatus *string `json:"powerStatus,omitempty" tf:"power_status"` // +optional PrivateNetworkIDS []string `json:"privateNetworkIDS,omitempty" tf:"private_network_ids"` // +optional Ram *int64 `json:"ram,omitempty" tf:"ram"` Region *string `json:"region" tf:"region"` // +optional ReservedIPID *string `json:"reservedIPID,omitempty" tf:"reserved_ip_id"` // +optional ScriptID *string `json:"scriptID,omitempty" tf:"script_id"` // +optional ServerStatus *string `json:"serverStatus,omitempty" tf:"server_status"` // +optional SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"` // +optional SshKeyIDS []string `json:"sshKeyIDS,omitempty" tf:"ssh_key_ids"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tag *string `json:"tag,omitempty" tf:"tag"` // +optional UserData *string `json:"userData,omitempty" tf:"user_data"` // +optional V6MainIP *string `json:"v6MainIP,omitempty" tf:"v6_main_ip"` // +optional V6Network *string `json:"v6Network,omitempty" tf:"v6_network"` // +optional V6NetworkSize *int64 `json:"v6NetworkSize,omitempty" tf:"v6_network_size"` // +optional VcpuCount *int64 `json:"vcpuCount,omitempty" tf:"vcpu_count"` }
func (*InstanceSpecResource) DeepCopy ¶
func (in *InstanceSpecResource) DeepCopy() *InstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.
func (*InstanceSpecResource) DeepCopyInto ¶
func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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 Ipv4 ¶
type Ipv4 struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Ipv4Spec `json:"spec,omitempty"` Status Ipv4Status `json:"status,omitempty"` }
func (*Ipv4) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4.
func (*Ipv4) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ipv4) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Ipv4) SetupWebhookWithManager ¶
func (*Ipv4) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Ipv4) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type Ipv4List ¶
type Ipv4List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Ipv4 CRD objects Items []Ipv4 `json:"items,omitempty"` }
Ipv4List is a list of Ipv4s
func (*Ipv4List) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4List.
func (*Ipv4List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ipv4List) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Ipv4Spec ¶
type Ipv4Spec struct { State *Ipv4SpecResource `json:"state,omitempty" tf:"-"` Resource Ipv4SpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*Ipv4Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4Spec.
func (*Ipv4Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ipv4SpecResource ¶
type Ipv4SpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Gateway *string `json:"gateway,omitempty" tf:"gateway"` InstanceID *string `json:"instanceID" tf:"instance_id"` // +optional Ip *string `json:"ip,omitempty" tf:"ip"` // +optional Netmask *string `json:"netmask,omitempty" tf:"netmask"` // +optional Reboot *bool `json:"reboot,omitempty" tf:"reboot"` // +optional Reverse *string `json:"reverse,omitempty" tf:"reverse"` }
func (*Ipv4SpecResource) DeepCopy ¶
func (in *Ipv4SpecResource) DeepCopy() *Ipv4SpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4SpecResource.
func (*Ipv4SpecResource) DeepCopyInto ¶
func (in *Ipv4SpecResource) DeepCopyInto(out *Ipv4SpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ipv4Status ¶
type Ipv4Status struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*Ipv4Status) DeepCopy ¶
func (in *Ipv4Status) DeepCopy() *Ipv4Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ipv4Status.
func (*Ipv4Status) DeepCopyInto ¶
func (in *Ipv4Status) DeepCopyInto(out *Ipv4Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.