Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dns v1alpha1 API group +kubebuilder:object:generate=true +groupName=dns.cav.enablers.ob
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dns.cav.enablers.ob", 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 RRset ¶
type RRset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RRsetSpec `json:"spec,omitempty"` Status RRsetStatus `json:"status,omitempty"` }
+kubebuilder:printcolumn:name="Zone",type="string",JSONPath=".spec.zoneRef.name" +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".status.dnsEntryName" +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="TTL",type="integer",JSONPath=".spec.ttl" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.syncStatus" +kubebuilder:printcolumn:name="Records",type="string",JSONPath=".spec.records" RRset is the Schema for the rrsets API
func (*RRset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RRset.
func (*RRset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RRset) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RRsetList ¶
type RRsetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RRset `json:"items"` }
RRsetList contains a list of RRset
func (*RRsetList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RRsetList.
func (*RRsetList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RRsetList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RRsetSpec ¶
type RRsetSpec struct { // Type of the record (e.g. "A", "PTR", "MX"). Type string `json:"type"` // Name of the record // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable" Name string `json:"name"` // DNS TTL of the records, in seconds. TTL uint32 `json:"ttl"` // All records in this Resource Record Set. Records []string `json:"records"` // Comment on RRSet. // +optional Comment *string `json:"comment,omitempty"` // ZoneRef reference the zone the RRSet depends on. ZoneRef ZoneRef `json:"zoneRef"` }
RRsetSpec defines the desired state of RRset
func (*RRsetSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RRsetSpec.
func (*RRsetSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RRsetStatus ¶
type RRsetStatus struct { LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` DnsEntryName *string `json:"dnsEntryName,omitempty"` SyncStatus *string `json:"syncStatus,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
RRsetStatus defines the observed state of RRset
func (*RRsetStatus) DeepCopy ¶
func (in *RRsetStatus) DeepCopy() *RRsetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RRsetStatus.
func (*RRsetStatus) DeepCopyInto ¶
func (in *RRsetStatus) DeepCopyInto(out *RRsetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Zone ¶
type Zone struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ZoneSpec `json:"spec,omitempty"` Status ZoneStatus `json:"status,omitempty"` }
+kubebuilder:printcolumn:name="Serial",type="integer",JSONPath=".status.serial" +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.syncStatus" Zone is the Schema for the zones API
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zone) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZoneList ¶
type ZoneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Zone `json:"items"` }
ZoneList contains a list of Zone
func (*ZoneList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneList.
func (*ZoneList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZoneList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZoneRef ¶
type ZoneRef struct { // Name of the zone. Name string `json:"name"` }
func (*ZoneRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneRef.
func (*ZoneRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZoneSpec ¶
type ZoneSpec struct { // Kind of the zone, one of "Native", "Master", "Slave", "Producer", "Consumer". // +kubebuilder:validation:Enum:=Native;Master;Slave;Producer;Consumer Kind string `json:"kind"` // List of the nameservers of the zone. // +kubebuilder:validation:MinItems=1 // +kubebuilder:validation:items:Pattern=`^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$` Nameservers []string `json:"nameservers"` // The catalog this zone is a member of // +optional Catalog *string `json:"catalog,omitempty"` // The SOA-EDIT-API metadata item, one of "DEFAULT", "INCREASE", "EPOCH", defaults to "DEFAULT" // +kubebuilder:validation:Enum:=DEFAULT;INCREASE;EPOCH // +kubebuilder:default:="DEFAULT" // +optional SOAEditAPI *string `json:"soa_edit_api,omitempty"` }
ZoneSpec defines the desired state of Zone
func (*ZoneSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneSpec.
func (*ZoneSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZoneStatus ¶
type ZoneStatus struct { // ID define the opaque zone id. // +optional ID *string `json:"id,omitempty"` // Name of the zone (e.g. "example.com.") // +optional Name *string `json:"name,omitempty"` // Kind of the zone, one of "Native", "Master", "Slave", "Producer", "Consumer". // +optional Kind *string `json:"kind,omitempty"` // The SOA serial number. // +optional Serial *uint32 `json:"serial,omitempty"` // The SOA serial notifications have been sent out for // +optional NotifiedSerial *uint32 `json:"notified_serial,omitempty"` // The SOA serial as seen in query responses. // +optional EditedSerial *uint32 `json:"edited_serial,omitempty"` // List of IP addresses configured as a master for this zone ("Slave" type zones only). // +optional Masters []string `json:"masters,omitempty"` // Whether or not this zone is DNSSEC signed. // +optional DNSsec *bool `json:"dnssec,omitempty"` // The catalog this zone is a member of. // +optional Catalog *string `json:"catalog,omitempty"` SyncStatus *string `json:"syncStatus,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
ZoneStatus defines the observed state of Zone
func (*ZoneStatus) DeepCopy ¶
func (in *ZoneStatus) DeepCopy() *ZoneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneStatus.
func (*ZoneStatus) DeepCopyInto ¶
func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.