Documentation
¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the dns v1alpha2 API group +kubebuilder:object:generate=true +groupName=dns.cav.enablers.ob
Index ¶
- Variables
- type ClusterRRset
- func (c *ClusterRRset) Copy() GenericRRset
- func (in *ClusterRRset) DeepCopy() *ClusterRRset
- func (in *ClusterRRset) DeepCopyInto(out *ClusterRRset)
- func (in *ClusterRRset) DeepCopyObject() runtime.Object
- func (c *ClusterRRset) GetObjectMeta() *metav1.ObjectMeta
- func (c *ClusterRRset) GetSpec() *RRsetSpec
- func (c *ClusterRRset) GetStatus() RRsetStatus
- func (c *ClusterRRset) GetTypeMeta() *metav1.TypeMeta
- func (r *ClusterRRset) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
- func (c *ClusterRRset) SetStatus(status RRsetStatus)
- type ClusterRRsetList
- type ClusterZone
- func (c *ClusterZone) Copy() GenericZone
- func (in *ClusterZone) DeepCopy() *ClusterZone
- func (in *ClusterZone) DeepCopyInto(out *ClusterZone)
- func (in *ClusterZone) DeepCopyObject() runtime.Object
- func (c *ClusterZone) GetObjectMeta() *metav1.ObjectMeta
- func (c *ClusterZone) GetSpec() *ZoneSpec
- func (c *ClusterZone) GetStatus() ZoneStatus
- func (c *ClusterZone) GetTypeMeta() *metav1.TypeMeta
- func (z *ClusterZone) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
- func (c *ClusterZone) SetStatus(status ZoneStatus)
- type ClusterZoneList
- type GenericRRset
- type GenericZone
- type RRset
- func (c *RRset) Copy() GenericRRset
- func (in *RRset) DeepCopy() *RRset
- func (in *RRset) DeepCopyInto(out *RRset)
- func (in *RRset) DeepCopyObject() runtime.Object
- func (c *RRset) GetObjectMeta() *metav1.ObjectMeta
- func (c *RRset) GetSpec() *RRsetSpec
- func (c *RRset) GetStatus() RRsetStatus
- func (c *RRset) GetTypeMeta() *metav1.TypeMeta
- func (r *RRset) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
- func (c *RRset) SetStatus(status RRsetStatus)
- type RRsetList
- type RRsetSpec
- type RRsetStatus
- type Zone
- func (c *Zone) Copy() GenericZone
- func (in *Zone) DeepCopy() *Zone
- func (in *Zone) DeepCopyInto(out *Zone)
- func (in *Zone) DeepCopyObject() runtime.Object
- func (c *Zone) GetObjectMeta() *metav1.ObjectMeta
- func (c *Zone) GetSpec() *ZoneSpec
- func (c *Zone) GetStatus() ZoneStatus
- func (c *Zone) GetTypeMeta() *metav1.TypeMeta
- func (z *Zone) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
- func (c *Zone) SetStatus(status ZoneStatus)
- type ZoneList
- type ZoneRef
- type ZoneSpec
- type ZoneStatus
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: "v1alpha2"} // 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 ClusterRRset ¶ added in v0.4.2
type ClusterRRset 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" ClusterRRset is the Schema for the clusterrrsets API
func (*ClusterRRset) Copy ¶ added in v0.4.2
func (c *ClusterRRset) Copy() GenericRRset
func (*ClusterRRset) DeepCopy ¶ added in v0.4.2
func (in *ClusterRRset) DeepCopy() *ClusterRRset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRRset.
func (*ClusterRRset) DeepCopyInto ¶ added in v0.4.2
func (in *ClusterRRset) DeepCopyInto(out *ClusterRRset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRRset) DeepCopyObject ¶ added in v0.4.2
func (in *ClusterRRset) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterRRset) GetObjectMeta ¶ added in v0.4.2
func (c *ClusterRRset) GetObjectMeta() *metav1.ObjectMeta
func (*ClusterRRset) GetSpec ¶ added in v0.4.2
func (c *ClusterRRset) GetSpec() *RRsetSpec
func (*ClusterRRset) GetStatus ¶ added in v0.4.2
func (c *ClusterRRset) GetStatus() RRsetStatus
func (*ClusterRRset) GetTypeMeta ¶ added in v0.4.2
func (c *ClusterRRset) GetTypeMeta() *metav1.TypeMeta
func (*ClusterRRset) IsInExpectedStatus ¶ added in v0.4.2
func (r *ClusterRRset) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
IsInExpectedStatus returns true if Status.SyncStatus and Status.ObservedGeneration are, at least, at expected value
func (*ClusterRRset) SetStatus ¶ added in v0.4.2
func (c *ClusterRRset) SetStatus(status RRsetStatus)
type ClusterRRsetList ¶ added in v0.4.2
type ClusterRRsetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterRRset `json:"items"` }
ClusterRRsetList contains a list of ClusterRRset
func (*ClusterRRsetList) DeepCopy ¶ added in v0.4.2
func (in *ClusterRRsetList) DeepCopy() *ClusterRRsetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRRsetList.
func (*ClusterRRsetList) DeepCopyInto ¶ added in v0.4.2
func (in *ClusterRRsetList) DeepCopyInto(out *ClusterRRsetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRRsetList) DeepCopyObject ¶ added in v0.4.2
func (in *ClusterRRsetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterZone ¶
type ClusterZone 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" ClusterZone is the Schema for the clusterzones API
func (*ClusterZone) Copy ¶
func (c *ClusterZone) Copy() GenericZone
func (*ClusterZone) DeepCopy ¶
func (in *ClusterZone) DeepCopy() *ClusterZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterZone.
func (*ClusterZone) DeepCopyInto ¶
func (in *ClusterZone) DeepCopyInto(out *ClusterZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterZone) DeepCopyObject ¶
func (in *ClusterZone) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterZone) GetObjectMeta ¶
func (c *ClusterZone) GetObjectMeta() *metav1.ObjectMeta
func (*ClusterZone) GetSpec ¶
func (c *ClusterZone) GetSpec() *ZoneSpec
func (*ClusterZone) GetStatus ¶
func (c *ClusterZone) GetStatus() ZoneStatus
func (*ClusterZone) GetTypeMeta ¶
func (c *ClusterZone) GetTypeMeta() *metav1.TypeMeta
func (*ClusterZone) IsInExpectedStatus ¶
func (z *ClusterZone) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
IsInExpectedStatus returns true if Status.SyncStatus and Status.ObservedGeneration are, at least, at expected value
func (*ClusterZone) SetStatus ¶
func (c *ClusterZone) SetStatus(status ZoneStatus)
type ClusterZoneList ¶
type ClusterZoneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterZone `json:"items"` }
ClusterZoneList contains a list of ClusterZone
func (*ClusterZoneList) DeepCopy ¶
func (in *ClusterZoneList) DeepCopy() *ClusterZoneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterZoneList.
func (*ClusterZoneList) DeepCopyInto ¶
func (in *ClusterZoneList) DeepCopyInto(out *ClusterZoneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterZoneList) DeepCopyObject ¶
func (in *ClusterZoneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GenericRRset ¶ added in v0.4.2
type GenericRRset interface { runtime.Object metav1.Object GetObjectMeta() *metav1.ObjectMeta GetTypeMeta() *metav1.TypeMeta GetSpec() *RRsetSpec GetStatus() RRsetStatus SetStatus(status RRsetStatus) Copy() GenericRRset }
GenericRRset is a common interface for interacting with ClusterRRset or a namespaced RRset.
type GenericZone ¶
type GenericZone interface { runtime.Object metav1.Object GetObjectMeta() *metav1.ObjectMeta GetTypeMeta() *metav1.TypeMeta GetSpec() *ZoneSpec GetStatus() ZoneStatus SetStatus(status ZoneStatus) Copy() GenericZone }
GenericZone is a common interface for interacting with ClusterZone or a namespaced Zone.
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) Copy ¶ added in v0.4.2
func (c *RRset) Copy() GenericRRset
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.
func (*RRset) GetObjectMeta ¶ added in v0.4.2
func (c *RRset) GetObjectMeta() *metav1.ObjectMeta
func (*RRset) GetStatus ¶ added in v0.4.2
func (c *RRset) GetStatus() RRsetStatus
func (*RRset) GetTypeMeta ¶ added in v0.4.2
func (*RRset) IsInExpectedStatus ¶
func (r *RRset) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
IsInExpectedStatus returns true if Status.SyncStatus and Status.ObservedGeneration are, at least, at expected value
func (*RRset) SetStatus ¶ added in v0.4.2
func (c *RRset) SetStatus(status RRsetStatus)
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) Copy ¶
func (c *Zone) Copy() GenericZone
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.
func (*Zone) GetObjectMeta ¶
func (c *Zone) GetObjectMeta() *metav1.ObjectMeta
func (*Zone) GetStatus ¶
func (c *Zone) GetStatus() ZoneStatus
func (*Zone) GetTypeMeta ¶
func (*Zone) IsInExpectedStatus ¶
func (z *Zone) IsInExpectedStatus(expectedMinimumObservedGeneration int64, expectedSyncStatus string) bool
IsInExpectedStatus returns true if Status.SyncStatus and Status.ObservedGeneration are, at least, at expected value
func (*Zone) SetStatus ¶
func (c *Zone) SetStatus(status ZoneStatus)
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"` // Kind of the Zone resource (Zone or ClusterZone) // +kubebuilder:validation:Enum:=Zone;ClusterZone Kind string `json:"kind"` }
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.