Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the domain v1 API group +kubebuilder:object:generate=true +groupName=domain.lxz.io
Index ¶
Constants ¶
const ( // StatusType Active StatusType = "Active" Provisioning StatusType = "Provisioning" Failed StatusType = "Failed" // Provider Namecheap Provider = "Namecheap" // RecordType A RecordType = "A" AAAA RecordType = "AAAA" MX RecordType = "MX" CNAME RecordType = "CNAME" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "domain.lxz.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RecordSpec `json:"spec,omitempty"` Status RecordStatus `json:"status,omitempty"` }
Record is the Schema for the records API
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.
type RecordList ¶
type RecordList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Record `json:"items"` }
RecordList contains a list of Record
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 { Provider Provider `json:"provider"` Domain string `json:"domain"` Hostname string `json:"hostname"` Address string `json:"address"` Type RecordType `json:"type"` TTL int `json:"ttl,omitempty"` }
RecordSpec defines the desired state of Record
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 RecordStatus ¶
type RecordStatus struct { LastModified metav1.Time `json:"last_modified,omitempty"` Status StatusType `json:"status,omitempty"` }
RecordStatus defines the observed state of Record
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.
type RecordType ¶
type RecordType string
type StatusType ¶
type StatusType string