Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dns v1alpha1 API group +kubebuilder:object:generate=true +groupName=dns.linka.cloud
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dns.linka.cloud", Version: "v1alpha1"} // 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 ARecord ¶
type ARecord struct { Name string `json:"name"` // +optional Class uint16 `json:"class,omitempty"` Ttl uint32 `json:"ttl"` // TODO(adphi): support service, e.g. default/kubernetes Target string `json:"target,omitempty"` }
func (*ARecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecord.
func (*ARecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CNAMERecord ¶
type CNAMERecord struct { Name string `json:"name"` // +optional Class uint16 `json:"class,omitempty"` Ttl uint32 `json:"ttl"` Target string `json:"target"` }
func (*CNAMERecord) DeepCopy ¶
func (in *CNAMERecord) DeepCopy() *CNAMERecord
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNAMERecord.
func (*CNAMERecord) DeepCopyInto ¶
func (in *CNAMERecord) DeepCopyInto(out *CNAMERecord)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecord ¶
type DNSRecord struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DNSRecordSpec `json:"spec,omitempty"` Status DNSRecordStatus `json:"status,omitempty"` }
DNSRecord is the Schema for the dnsrecords API
func (*DNSRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecord.
func (*DNSRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSRecord) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSRecordList ¶
type DNSRecordList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DNSRecord `json:"items"` }
DNSRecordList contains a list of DNSRecord
func (*DNSRecordList) DeepCopy ¶
func (in *DNSRecordList) DeepCopy() *DNSRecordList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordList.
func (*DNSRecordList) DeepCopyInto ¶
func (in *DNSRecordList) DeepCopyInto(out *DNSRecordList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSRecordList) DeepCopyObject ¶
func (in *DNSRecordList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSRecordSpec ¶
type DNSRecordSpec struct { Active *bool `json:"active,omitempty"` A *ARecord `json:"a,omitempty"` CNAME *CNAMERecord `json:"cname,omitempty"` TXT *TXTRecord `json:"txt,omitempty"` SRV *SRVRecord `json:"srv,omitempty"` MX *MXRecord `json:"rx,omitempty"` // Raw is a RFC 1035 style record string that github.com/miekg/dns will try to parse // +optional Raw string `json:"raw,omitempty"` }
DNSRecordSpec defines the desired state of DNSRecord
func (*DNSRecordSpec) DeepCopy ¶
func (in *DNSRecordSpec) DeepCopy() *DNSRecordSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordSpec.
func (*DNSRecordSpec) DeepCopyInto ¶
func (in *DNSRecordSpec) DeepCopyInto(out *DNSRecordSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecordStatus ¶
type DNSRecordStatus struct { Record string `json:"record,omitempty"` Active *bool `json:"active,omitempty"` }
DNSRecordStatus defines the observed state of DNSRecord
func (*DNSRecordStatus) DeepCopy ¶
func (in *DNSRecordStatus) DeepCopy() *DNSRecordStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordStatus.
func (*DNSRecordStatus) DeepCopyInto ¶
func (in *DNSRecordStatus) DeepCopyInto(out *DNSRecordStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MXRecord ¶
type MXRecord struct { Name string `json:"name"` // +optional Class uint16 `json:"class,omitempty"` Ttl uint32 `json:"ttl"` // +optional Preference uint16 `json:"preference,omitempty"` Target string `json:"target,omitempty"` }
func (*MXRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MXRecord.
func (*MXRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SRVRecord ¶
type SRVRecord struct { Name string `json:"name"` // +optional Class uint16 `json:"class,omitempty"` Ttl uint32 `json:"ttl"` // +optional Priority uint16 `json:"priority,omitempty"` // +optional Weight uint16 `json:"weight,omitempty"` Port uint16 `json:"port,omitempty"` Target string `json:"target,omitempty"` }
func (*SRVRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SRVRecord.
func (*SRVRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TXTRecord ¶
type TXTRecord struct { Name string `json:"name"` // +optional Class uint16 `json:"class,omitempty"` Ttl uint32 `json:"ttl"` Targets []string `json:"targets,omitempty"` }
func (*TXTRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TXTRecord.
func (*TXTRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.