var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dnsmasq.kvaps.cf", Version: "v1beta1"} // 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 )
DnsmasqDhcpHost holds the mapping between Macs and IP that will be added to dnsmasq dhcp-hosts file.
type DhcpHost struct { Macs []string `json:"macs,omitempty"` ClientID string `json:"clientID,omitempty"` SetTags []string `json:"setTags,omitempty"` Tags []string `json:"tags,omitempty"` IP string `json:"ip,omitempty"` Hostname string `json:"hostname,omitempty"` LeaseTime string `json:"leaseTime,omitempty"` Ignore bool `json:"ignore,omitempty"` }
func (in *DhcpHost) DeepCopy() *DhcpHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHost.
func (in *DhcpHost) DeepCopyInto(out *DhcpHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DhcpHosts is the Schema for the dhcphosts API
type DhcpHosts struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DhcpHostsSpec `json:"spec,omitempty"` Status DhcpHostsStatus `json:"status,omitempty"` }
func (in *DhcpHosts) DeepCopy() *DhcpHosts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHosts.
func (in *DhcpHosts) DeepCopyInto(out *DhcpHosts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DhcpHosts) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DhcpHostsList contains a list of DhcpHosts
type DhcpHostsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DhcpHosts `json:"items"` }
func (in *DhcpHostsList) DeepCopy() *DhcpHostsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsList.
func (in *DhcpHostsList) DeepCopyInto(out *DhcpHostsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DhcpHostsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DhcpHostsSpec defines the desired state of DhcpHosts
type DhcpHostsSpec struct { Controller string `json:"controller,omitempty"` Hosts []DhcpHost `json:"hosts,omitempty"` }
func (in *DhcpHostsSpec) DeepCopy() *DhcpHostsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsSpec.
func (in *DhcpHostsSpec) DeepCopyInto(out *DhcpHostsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DhcpHostsStatus defines the observed state of DhcpHosts
type DhcpHostsStatus struct { }
func (in *DhcpHostsStatus) DeepCopy() *DhcpHostsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsStatus.
func (in *DhcpHostsStatus) DeepCopyInto(out *DhcpHostsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DhcpOption defines dhcp-option for dnsmasq
type DhcpOption struct { // +kubebuilder:validation:Pattern="^([0-9]+|option:.+|option6:.+)$" Key string `json:"key"` Values []string `json:"values"` Tags []string `json:"tags,omitempty"` Encap string `json:"encap,omitempty"` ViEncap string `json:"viEncap,omitempty"` Vendor string `json:"leaseTime,omitempty"` }
func (in *DhcpOption) DeepCopy() *DhcpOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOption.
func (in *DhcpOption) DeepCopyInto(out *DhcpOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DhcpOptions is the Schema for the dhcpoptions API
type DhcpOptions struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DhcpOptionsSpec `json:"spec,omitempty"` Status DhcpOptionsStatus `json:"status,omitempty"` }
func (in *DhcpOptions) DeepCopy() *DhcpOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptions.
func (in *DhcpOptions) DeepCopyInto(out *DhcpOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DhcpOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DhcpOptionsList contains a list of DhcpOptions
type DhcpOptionsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DhcpOptions `json:"items"` }
func (in *DhcpOptionsList) DeepCopy() *DhcpOptionsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsList.
func (in *DhcpOptionsList) DeepCopyInto(out *DhcpOptionsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DhcpOptionsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DhcpOptionsSpec defines the desired state of DhcpOptions
type DhcpOptionsSpec struct { Controller string `json:"controller,omitempty"` Options []DhcpOption `json:"options,omitempty"` }
func (in *DhcpOptionsSpec) DeepCopy() *DhcpOptionsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsSpec.
func (in *DhcpOptionsSpec) DeepCopyInto(out *DhcpOptionsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DhcpOptionsStatus defines the observed state of DhcpOptions
type DhcpOptionsStatus struct { }
func (in *DhcpOptionsStatus) DeepCopy() *DhcpOptionsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsStatus.
func (in *DhcpOptionsStatus) DeepCopyInto(out *DhcpOptionsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsHost holds the mapping between IP and hostnames that will be added to dnsmasq hosts file.
type DnsHost struct { // IP address of the host file entry. IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"` // Hostnames for the above IP address. Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,2,rep,name=hostnames"` }
func (in *DnsHost) DeepCopy() *DnsHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHost.
func (in *DnsHost) DeepCopyInto(out *DnsHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsHosts is the Schema for the dnshosts API
type DnsHosts struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DnsHostsSpec `json:"spec,omitempty"` Status DnsHostsStatus `json:"status,omitempty"` }
func (in *DnsHosts) DeepCopy() *DnsHosts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHosts.
func (in *DnsHosts) DeepCopyInto(out *DnsHosts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DnsHosts) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DnsHostsList contains a list of DnsHosts
type DnsHostsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DnsHosts `json:"items"` }
func (in *DnsHostsList) DeepCopy() *DnsHostsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsList.
func (in *DnsHostsList) DeepCopyInto(out *DnsHostsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DnsHostsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DnsHostsSpec defines the desired state of DnsHosts
type DnsHostsSpec struct { Controller string `json:"controller,omitempty"` Hosts []DnsHost `json:"hosts,omitempty"` }
func (in *DnsHostsSpec) DeepCopy() *DnsHostsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsSpec.
func (in *DnsHostsSpec) DeepCopyInto(out *DnsHostsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsHostsStatus defines the observed state of DnsHosts
type DnsHostsStatus struct { }
func (in *DnsHostsStatus) DeepCopy() *DnsHostsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsStatus.
func (in *DnsHostsStatus) DeepCopyInto(out *DnsHostsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsmasqOption defines option for dnsmasq
type DnsmasqOption struct { // +kubebuilder:validation:Enum=dhcp-range;dhcp-host;dhcp-userclass;dhcp-circuitid;dhcp-remoteid;dhcp-subscrid;dhcp-ignore;dhcp-broadcast;mx-host;dhcp-boot;dhcp-option;dhcp-option-force;server;rev-server;local;domain;dhcp-vendorclass;alias;dhcp-vendorclass;srv-host;txt-record;ptr-record;bootp-dynamic;dhcp-mac;dhcp-ignore-names;rebind-domain-ok;dhcp-match;dhcp-name-match;tag-if;naptr-record;dhcp-generate-names;cname;pxe-service;add-mac;dhcp-duid;host-record;caa-record;dns-rr;auth-zone;synth-domain Key string `json:"key"` Values []string `json:"values"` }
func (in *DnsmasqOption) DeepCopy() *DnsmasqOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOption.
func (in *DnsmasqOption) DeepCopyInto(out *DnsmasqOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsmasqOptions is the Schema for the dnsmasqoptions API
type DnsmasqOptions struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DnsmasqOptionsSpec `json:"spec,omitempty"` Status DnsmasqOptionsStatus `json:"status,omitempty"` }
func (in *DnsmasqOptions) DeepCopy() *DnsmasqOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptions.
func (in *DnsmasqOptions) DeepCopyInto(out *DnsmasqOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DnsmasqOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DnsmasqOptionsList contains a list of DnsmasqOptions
type DnsmasqOptionsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DnsmasqOptions `json:"items,omitempty"` }
func (in *DnsmasqOptionsList) DeepCopy() *DnsmasqOptionsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsList.
func (in *DnsmasqOptionsList) DeepCopyInto(out *DnsmasqOptionsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DnsmasqOptionsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
DnsmasqOptionsSpec defines the desired state of DnsmasqOptions
type DnsmasqOptionsSpec struct { Controller string `json:"controller,omitempty"` Options []DnsmasqOption `json:"options,omitempty"` }
func (in *DnsmasqOptionsSpec) DeepCopy() *DnsmasqOptionsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsSpec.
func (in *DnsmasqOptionsSpec) DeepCopyInto(out *DnsmasqOptionsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DnsmasqOptionsStatus defines the observed state of DnsmasqOptions
type DnsmasqOptionsStatus struct { }
func (in *DnsmasqOptionsStatus) DeepCopy() *DnsmasqOptionsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsStatus.
func (in *DnsmasqOptionsStatus) DeepCopyInto(out *DnsmasqOptionsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.