Documentation ¶
Overview ¶
+groupName=record.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 Record
- func (in *Record) DeepCopy() *Record
- func (in *Record) DeepCopyInto(out *Record)
- func (in *Record) DeepCopyObject() runtime.Object
- func (r *Record) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Record) ValidateCreate() error
- func (r *Record) ValidateDelete() error
- func (r *Record) ValidateUpdate(old runtime.Object) error
- type RecordList
- type RecordSpec
- type RecordSpecResource
- type RecordStatus
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: record.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Record ¶
type Record struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RecordSpec `json:"spec,omitempty"` Status RecordStatus `json:"status,omitempty"` }
func (*Record) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.
func (*Record) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Record) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Record) SetupWebhookWithManager ¶
func (*Record) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Record) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type RecordList ¶
type RecordList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Record CRD objects Items []Record `json:"items,omitempty"` }
RecordList is a list of Records
func (*RecordList) DeepCopy ¶
func (in *RecordList) DeepCopy() *RecordList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordList.
func (*RecordList) DeepCopyInto ¶
func (in *RecordList) DeepCopyInto(out *RecordList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecordList) DeepCopyObject ¶
func (in *RecordList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecordSpec ¶
type RecordSpec struct { State *RecordSpecResource `json:"state,omitempty" tf:"-"` Resource RecordSpecResource `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 (*RecordSpec) DeepCopy ¶
func (in *RecordSpec) DeepCopy() *RecordSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSpec.
func (*RecordSpec) DeepCopyInto ¶
func (in *RecordSpec) DeepCopyInto(out *RecordSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecordSpecResource ¶
type RecordSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` Domain *string `json:"domain" tf:"domain"` // +optional Flags *int64 `json:"flags,omitempty" tf:"flags"` // +optional Fqdn *string `json:"fqdn,omitempty" tf:"fqdn"` Name *string `json:"name" tf:"name"` // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional Priority *int64 `json:"priority,omitempty" tf:"priority"` // +optional Tag *string `json:"tag,omitempty" tf:"tag"` // +optional Ttl *int64 `json:"ttl,omitempty" tf:"ttl"` Type *string `json:"type" tf:"type"` Value *string `json:"value" tf:"value"` // +optional Weight *int64 `json:"weight,omitempty" tf:"weight"` }
func (*RecordSpecResource) DeepCopy ¶
func (in *RecordSpecResource) DeepCopy() *RecordSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSpecResource.
func (*RecordSpecResource) DeepCopyInto ¶
func (in *RecordSpecResource) DeepCopyInto(out *RecordSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecordStatus ¶
type RecordStatus 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 (*RecordStatus) DeepCopy ¶
func (in *RecordStatus) DeepCopy() *RecordStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordStatus.
func (*RecordStatus) DeepCopyInto ¶
func (in *RecordStatus) DeepCopyInto(out *RecordStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.