Documentation ¶
Overview ¶
+groupName=droplet.digitalocean.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 Droplet
- func (in *Droplet) DeepCopy() *Droplet
- func (in *Droplet) DeepCopyInto(out *Droplet)
- func (in *Droplet) DeepCopyObject() runtime.Object
- func (r *Droplet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Droplet) ValidateCreate() error
- func (r *Droplet) ValidateDelete() error
- func (r *Droplet) ValidateUpdate(old runtime.Object) error
- type DropletList
- type DropletSpec
- type DropletSpecResource
- type DropletStatus
- type Snapshot
- func (in *Snapshot) DeepCopy() *Snapshot
- func (in *Snapshot) DeepCopyInto(out *Snapshot)
- func (in *Snapshot) DeepCopyObject() runtime.Object
- func (r *Snapshot) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Snapshot) ValidateCreate() error
- func (r *Snapshot) ValidateDelete() error
- func (r *Snapshot) ValidateUpdate(old runtime.Object) error
- type SnapshotList
- type SnapshotSpec
- type SnapshotSpecResource
- type SnapshotStatus
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: droplet.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 Droplet ¶
type Droplet struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DropletSpec `json:"spec,omitempty"` Status DropletStatus `json:"status,omitempty"` }
func (*Droplet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Droplet.
func (*Droplet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Droplet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Droplet) SetupWebhookWithManager ¶
func (*Droplet) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Droplet) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DropletList ¶
type DropletList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Droplet CRD objects Items []Droplet `json:"items,omitempty"` }
DropletList is a list of Droplets
func (*DropletList) DeepCopy ¶
func (in *DropletList) DeepCopy() *DropletList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropletList.
func (*DropletList) DeepCopyInto ¶
func (in *DropletList) DeepCopyInto(out *DropletList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DropletList) DeepCopyObject ¶
func (in *DropletList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DropletSpec ¶
type DropletSpec struct { KubeformOutput *DropletSpecResource `json:"kubeformOutput,omitempty" tf:"-"` Resource DropletSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*DropletSpec) DeepCopy ¶
func (in *DropletSpec) DeepCopy() *DropletSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropletSpec.
func (*DropletSpec) DeepCopyInto ¶
func (in *DropletSpec) DeepCopyInto(out *DropletSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropletSpecResource ¶
type DropletSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Backups *bool `json:"backups,omitempty" tf:"backups"` // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // +optional Disk *int64 `json:"disk,omitempty" tf:"disk"` Image *string `json:"image" tf:"image"` // +optional Ipv4Address *string `json:"ipv4Address,omitempty" tf:"ipv4_address"` // +optional Ipv4AddressPrivate *string `json:"ipv4AddressPrivate,omitempty" tf:"ipv4_address_private"` // +optional Ipv6 *bool `json:"ipv6,omitempty" tf:"ipv6"` // +optional Ipv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address"` // +optional Locked *bool `json:"locked,omitempty" tf:"locked"` // +optional Memory *int64 `json:"memory,omitempty" tf:"memory"` // +optional Monitoring *bool `json:"monitoring,omitempty" tf:"monitoring"` Name *string `json:"name" tf:"name"` // +optional PriceHourly *float64 `json:"priceHourly,omitempty" tf:"price_hourly"` // +optional PriceMonthly *float64 `json:"priceMonthly,omitempty" tf:"price_monthly"` // +optional PrivateNetworking *bool `json:"privateNetworking,omitempty" tf:"private_networking"` Region *string `json:"region" tf:"region"` // +optional ResizeDisk *bool `json:"resizeDisk,omitempty" tf:"resize_disk"` Size *string `json:"size" tf:"size"` // +optional SshKeys []string `json:"sshKeys,omitempty" tf:"ssh_keys"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional Urn *string `json:"urn,omitempty" tf:"urn"` // +optional UserData *string `json:"userData,omitempty" tf:"user_data"` // +optional Vcpus *int64 `json:"vcpus,omitempty" tf:"vcpus"` // +optional VolumeIDS []string `json:"volumeIDS,omitempty" tf:"volume_ids"` // +optional VpcUUID *string `json:"vpcUUID,omitempty" tf:"vpc_uuid"` }
func (*DropletSpecResource) DeepCopy ¶
func (in *DropletSpecResource) DeepCopy() *DropletSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropletSpecResource.
func (*DropletSpecResource) DeepCopyInto ¶
func (in *DropletSpecResource) DeepCopyInto(out *DropletSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropletStatus ¶
type DropletStatus 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 (*DropletStatus) DeepCopy ¶
func (in *DropletStatus) DeepCopy() *DropletStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropletStatus.
func (*DropletStatus) DeepCopyInto ¶
func (in *DropletStatus) DeepCopyInto(out *DropletStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Snapshot ¶
type Snapshot struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SnapshotSpec `json:"spec,omitempty"` Status SnapshotStatus `json:"status,omitempty"` }
func (*Snapshot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
func (*Snapshot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Snapshot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Snapshot) SetupWebhookWithManager ¶
func (*Snapshot) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Snapshot) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SnapshotList ¶
type SnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Snapshot CRD objects Items []Snapshot `json:"items,omitempty"` }
SnapshotList is a list of Snapshots
func (*SnapshotList) DeepCopy ¶
func (in *SnapshotList) DeepCopy() *SnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
func (*SnapshotList) DeepCopyInto ¶
func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotList) DeepCopyObject ¶
func (in *SnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotSpec ¶
type SnapshotSpec struct { KubeformOutput *SnapshotSpecResource `json:"kubeformOutput,omitempty" tf:"-"` Resource SnapshotSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*SnapshotSpec) DeepCopy ¶
func (in *SnapshotSpec) DeepCopy() *SnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.
func (*SnapshotSpec) DeepCopyInto ¶
func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpecResource ¶
type SnapshotSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` DropletID *string `json:"dropletID" tf:"droplet_id"` // +optional MinDiskSize *int64 `json:"minDiskSize,omitempty" tf:"min_disk_size"` Name *string `json:"name" tf:"name"` // +optional Regions []string `json:"regions,omitempty" tf:"regions"` // +optional Size *float64 `json:"size,omitempty" tf:"size"` }
func (*SnapshotSpecResource) DeepCopy ¶
func (in *SnapshotSpecResource) DeepCopy() *SnapshotSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecResource.
func (*SnapshotSpecResource) DeepCopyInto ¶
func (in *SnapshotSpecResource) DeepCopyInto(out *SnapshotSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotStatus ¶
type SnapshotStatus 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 (*SnapshotStatus) DeepCopy ¶
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
func (*SnapshotStatus) DeepCopyInto ¶
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.