Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rfc1035 v1alpha1 API group +kubebuilder:object:generate=true +groupName=rfc1035.ksdns.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rfc1035.ksdns.io", 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 DynamicRR ¶
type DynamicRR struct {
RR string `json:"rr,omitempty"`
}
func (*DynamicRR) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicRR.
func (*DynamicRR) DeepCopyInto ¶
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"` }
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 ZoneSpec ¶
type ZoneSpec struct { // +operator-sdk:csv:customresourcedefinitions:type=spec Zone string `json:"zone,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 { // +operator-sdk:csv:customresourcedefinitions:type=status DynamicRRs []DynamicRR `json:"dynamicRRs,omitempty"` Serial uint32 `json:"serial,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.
func (*ZoneStatus) GetDynamicRRs ¶
func (zs *ZoneStatus) GetDynamicRRs() []DynamicRR
func (*ZoneStatus) GetDynamicRRsAsZone ¶
func (zs *ZoneStatus) GetDynamicRRsAsZone(name string) *file.Zone
func (*ZoneStatus) SetDynamicRRs ¶
func (zs *ZoneStatus) SetDynamicRRs(rrs []dns.RR)
AddDynamicRR to ZoneStatus