Documentation ¶
Overview ¶
+groupName=snapshot.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 FromURL
- func (in *FromURL) DeepCopy() *FromURL
- func (in *FromURL) DeepCopyInto(out *FromURL)
- func (in *FromURL) DeepCopyObject() runtime.Object
- func (r *FromURL) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *FromURL) ValidateCreate() error
- func (r *FromURL) ValidateDelete() error
- func (r *FromURL) ValidateUpdate(old runtime.Object) error
- type FromURLList
- type FromURLSpec
- type FromURLSpecResource
- type FromURLStatus
- 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: snapshot.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 FromURL ¶
type FromURL struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FromURLSpec `json:"spec,omitempty"` Status FromURLStatus `json:"status,omitempty"` }
func (*FromURL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromURL.
func (*FromURL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FromURL) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FromURL) SetupWebhookWithManager ¶
func (*FromURL) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*FromURL) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FromURLList ¶
type FromURLList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of FromURL CRD objects Items []FromURL `json:"items,omitempty"` }
FromURLList is a list of FromURLs
func (*FromURLList) DeepCopy ¶
func (in *FromURLList) DeepCopy() *FromURLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromURLList.
func (*FromURLList) DeepCopyInto ¶
func (in *FromURLList) DeepCopyInto(out *FromURLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FromURLList) DeepCopyObject ¶
func (in *FromURLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FromURLSpec ¶
type FromURLSpec struct { State *FromURLSpecResource `json:"state,omitempty" tf:"-"` Resource FromURLSpecResource `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 (*FromURLSpec) DeepCopy ¶
func (in *FromURLSpec) DeepCopy() *FromURLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromURLSpec.
func (*FromURLSpec) DeepCopyInto ¶
func (in *FromURLSpec) DeepCopyInto(out *FromURLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromURLSpecResource ¶
type FromURLSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AppID *int64 `json:"appID,omitempty" tf:"app_id"` // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional OsID *int64 `json:"osID,omitempty" tf:"os_id"` // +optional Size *int64 `json:"size,omitempty" tf:"size"` // +optional Status *string `json:"status,omitempty" tf:"status"` Url *string `json:"url" tf:"url"` }
func (*FromURLSpecResource) DeepCopy ¶
func (in *FromURLSpecResource) DeepCopy() *FromURLSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromURLSpecResource.
func (*FromURLSpecResource) DeepCopyInto ¶
func (in *FromURLSpecResource) DeepCopyInto(out *FromURLSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FromURLStatus ¶
type FromURLStatus 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 (*FromURLStatus) DeepCopy ¶
func (in *FromURLStatus) DeepCopy() *FromURLStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromURLStatus.
func (*FromURLStatus) DeepCopyInto ¶
func (in *FromURLStatus) DeepCopyInto(out *FromURLStatus)
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 { State *SnapshotSpecResource `json:"state,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:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" 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 AppID *int64 `json:"appID,omitempty" tf:"app_id"` // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional Description *string `json:"description,omitempty" tf:"description"` InstanceID *string `json:"instanceID" tf:"instance_id"` // +optional OsID *int64 `json:"osID,omitempty" tf:"os_id"` // +optional Size *int64 `json:"size,omitempty" tf:"size"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
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.