...

Package v1beta1

import "github.com/kvaps/dnsmasq-controller/api/v1beta1"
Overview
Index

Overview ▾

Package v1beta1 contains API Schema definitions for the dnsmasq v1beta1 API group +kubebuilder:object:generate=true +groupName=dnsmasq.kvaps.cf

Index ▾

Variables
type DhcpHost
    func (in *DhcpHost) DeepCopy() *DhcpHost
    func (in *DhcpHost) DeepCopyInto(out *DhcpHost)
type DhcpHosts
    func (in *DhcpHosts) DeepCopy() *DhcpHosts
    func (in *DhcpHosts) DeepCopyInto(out *DhcpHosts)
    func (in *DhcpHosts) DeepCopyObject() runtime.Object
type DhcpHostsList
    func (in *DhcpHostsList) DeepCopy() *DhcpHostsList
    func (in *DhcpHostsList) DeepCopyInto(out *DhcpHostsList)
    func (in *DhcpHostsList) DeepCopyObject() runtime.Object
type DhcpHostsSpec
    func (in *DhcpHostsSpec) DeepCopy() *DhcpHostsSpec
    func (in *DhcpHostsSpec) DeepCopyInto(out *DhcpHostsSpec)
type DhcpHostsStatus
    func (in *DhcpHostsStatus) DeepCopy() *DhcpHostsStatus
    func (in *DhcpHostsStatus) DeepCopyInto(out *DhcpHostsStatus)
type DhcpOption
    func (in *DhcpOption) DeepCopy() *DhcpOption
    func (in *DhcpOption) DeepCopyInto(out *DhcpOption)
type DhcpOptions
    func (in *DhcpOptions) DeepCopy() *DhcpOptions
    func (in *DhcpOptions) DeepCopyInto(out *DhcpOptions)
    func (in *DhcpOptions) DeepCopyObject() runtime.Object
type DhcpOptionsList
    func (in *DhcpOptionsList) DeepCopy() *DhcpOptionsList
    func (in *DhcpOptionsList) DeepCopyInto(out *DhcpOptionsList)
    func (in *DhcpOptionsList) DeepCopyObject() runtime.Object
type DhcpOptionsSpec
    func (in *DhcpOptionsSpec) DeepCopy() *DhcpOptionsSpec
    func (in *DhcpOptionsSpec) DeepCopyInto(out *DhcpOptionsSpec)
type DhcpOptionsStatus
    func (in *DhcpOptionsStatus) DeepCopy() *DhcpOptionsStatus
    func (in *DhcpOptionsStatus) DeepCopyInto(out *DhcpOptionsStatus)
type DnsHost
    func (in *DnsHost) DeepCopy() *DnsHost
    func (in *DnsHost) DeepCopyInto(out *DnsHost)
type DnsHosts
    func (in *DnsHosts) DeepCopy() *DnsHosts
    func (in *DnsHosts) DeepCopyInto(out *DnsHosts)
    func (in *DnsHosts) DeepCopyObject() runtime.Object
type DnsHostsList
    func (in *DnsHostsList) DeepCopy() *DnsHostsList
    func (in *DnsHostsList) DeepCopyInto(out *DnsHostsList)
    func (in *DnsHostsList) DeepCopyObject() runtime.Object
type DnsHostsSpec
    func (in *DnsHostsSpec) DeepCopy() *DnsHostsSpec
    func (in *DnsHostsSpec) DeepCopyInto(out *DnsHostsSpec)
type DnsHostsStatus
    func (in *DnsHostsStatus) DeepCopy() *DnsHostsStatus
    func (in *DnsHostsStatus) DeepCopyInto(out *DnsHostsStatus)
type DnsmasqOption
    func (in *DnsmasqOption) DeepCopy() *DnsmasqOption
    func (in *DnsmasqOption) DeepCopyInto(out *DnsmasqOption)
type DnsmasqOptions
    func (in *DnsmasqOptions) DeepCopy() *DnsmasqOptions
    func (in *DnsmasqOptions) DeepCopyInto(out *DnsmasqOptions)
    func (in *DnsmasqOptions) DeepCopyObject() runtime.Object
type DnsmasqOptionsList
    func (in *DnsmasqOptionsList) DeepCopy() *DnsmasqOptionsList
    func (in *DnsmasqOptionsList) DeepCopyInto(out *DnsmasqOptionsList)
    func (in *DnsmasqOptionsList) DeepCopyObject() runtime.Object
type DnsmasqOptionsSpec
    func (in *DnsmasqOptionsSpec) DeepCopy() *DnsmasqOptionsSpec
    func (in *DnsmasqOptionsSpec) DeepCopyInto(out *DnsmasqOptionsSpec)
type DnsmasqOptionsStatus
    func (in *DnsmasqOptionsStatus) DeepCopy() *DnsmasqOptionsStatus
    func (in *DnsmasqOptionsStatus) DeepCopyInto(out *DnsmasqOptionsStatus)

Package files

dhcphosts_types.go dhcpoptions_types.go dnshosts_types.go dnsmasqoptions_types.go groupversion_info.go zz_generated.deepcopy.go

Variables

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
)

type DhcpHost

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 (*DhcpHost) DeepCopy

func (in *DhcpHost) DeepCopy() *DhcpHost

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHost.

func (*DhcpHost) DeepCopyInto

func (in *DhcpHost) DeepCopyInto(out *DhcpHost)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DhcpHosts

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 (*DhcpHosts) DeepCopy

func (in *DhcpHosts) DeepCopy() *DhcpHosts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHosts.

func (*DhcpHosts) DeepCopyInto

func (in *DhcpHosts) DeepCopyInto(out *DhcpHosts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DhcpHosts) DeepCopyObject

func (in *DhcpHosts) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DhcpHostsList

DhcpHostsList contains a list of DhcpHosts

type DhcpHostsList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []DhcpHosts `json:"items"`
}

func (*DhcpHostsList) DeepCopy

func (in *DhcpHostsList) DeepCopy() *DhcpHostsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsList.

func (*DhcpHostsList) DeepCopyInto

func (in *DhcpHostsList) DeepCopyInto(out *DhcpHostsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DhcpHostsList) DeepCopyObject

func (in *DhcpHostsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DhcpHostsSpec

DhcpHostsSpec defines the desired state of DhcpHosts

type DhcpHostsSpec struct {
    Controller string     `json:"controller,omitempty"`
    Hosts      []DhcpHost `json:"hosts,omitempty"`
}

func (*DhcpHostsSpec) DeepCopy

func (in *DhcpHostsSpec) DeepCopy() *DhcpHostsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsSpec.

func (*DhcpHostsSpec) DeepCopyInto

func (in *DhcpHostsSpec) DeepCopyInto(out *DhcpHostsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DhcpHostsStatus

DhcpHostsStatus defines the observed state of DhcpHosts

type DhcpHostsStatus struct {
}

func (*DhcpHostsStatus) DeepCopy

func (in *DhcpHostsStatus) DeepCopy() *DhcpHostsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpHostsStatus.

func (*DhcpHostsStatus) DeepCopyInto

func (in *DhcpHostsStatus) DeepCopyInto(out *DhcpHostsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DhcpOption

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 (*DhcpOption) DeepCopy

func (in *DhcpOption) DeepCopy() *DhcpOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOption.

func (*DhcpOption) DeepCopyInto

func (in *DhcpOption) DeepCopyInto(out *DhcpOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DhcpOptions

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 (*DhcpOptions) DeepCopy

func (in *DhcpOptions) DeepCopy() *DhcpOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptions.

func (*DhcpOptions) DeepCopyInto

func (in *DhcpOptions) DeepCopyInto(out *DhcpOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DhcpOptions) DeepCopyObject

func (in *DhcpOptions) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DhcpOptionsList

DhcpOptionsList contains a list of DhcpOptions

type DhcpOptionsList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []DhcpOptions `json:"items"`
}

func (*DhcpOptionsList) DeepCopy

func (in *DhcpOptionsList) DeepCopy() *DhcpOptionsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsList.

func (*DhcpOptionsList) DeepCopyInto

func (in *DhcpOptionsList) DeepCopyInto(out *DhcpOptionsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DhcpOptionsList) DeepCopyObject

func (in *DhcpOptionsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DhcpOptionsSpec

DhcpOptionsSpec defines the desired state of DhcpOptions

type DhcpOptionsSpec struct {
    Controller string       `json:"controller,omitempty"`
    Options    []DhcpOption `json:"options,omitempty"`
}

func (*DhcpOptionsSpec) DeepCopy

func (in *DhcpOptionsSpec) DeepCopy() *DhcpOptionsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsSpec.

func (*DhcpOptionsSpec) DeepCopyInto

func (in *DhcpOptionsSpec) DeepCopyInto(out *DhcpOptionsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DhcpOptionsStatus

DhcpOptionsStatus defines the observed state of DhcpOptions

type DhcpOptionsStatus struct {
}

func (*DhcpOptionsStatus) DeepCopy

func (in *DhcpOptionsStatus) DeepCopy() *DhcpOptionsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpOptionsStatus.

func (*DhcpOptionsStatus) DeepCopyInto

func (in *DhcpOptionsStatus) DeepCopyInto(out *DhcpOptionsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsHost

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 (*DnsHost) DeepCopy

func (in *DnsHost) DeepCopy() *DnsHost

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHost.

func (*DnsHost) DeepCopyInto

func (in *DnsHost) DeepCopyInto(out *DnsHost)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsHosts

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 (*DnsHosts) DeepCopy

func (in *DnsHosts) DeepCopy() *DnsHosts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHosts.

func (*DnsHosts) DeepCopyInto

func (in *DnsHosts) DeepCopyInto(out *DnsHosts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DnsHosts) DeepCopyObject

func (in *DnsHosts) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DnsHostsList

DnsHostsList contains a list of DnsHosts

type DnsHostsList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []DnsHosts `json:"items"`
}

func (*DnsHostsList) DeepCopy

func (in *DnsHostsList) DeepCopy() *DnsHostsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsList.

func (*DnsHostsList) DeepCopyInto

func (in *DnsHostsList) DeepCopyInto(out *DnsHostsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DnsHostsList) DeepCopyObject

func (in *DnsHostsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DnsHostsSpec

DnsHostsSpec defines the desired state of DnsHosts

type DnsHostsSpec struct {
    Controller string    `json:"controller,omitempty"`
    Hosts      []DnsHost `json:"hosts,omitempty"`
}

func (*DnsHostsSpec) DeepCopy

func (in *DnsHostsSpec) DeepCopy() *DnsHostsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsSpec.

func (*DnsHostsSpec) DeepCopyInto

func (in *DnsHostsSpec) DeepCopyInto(out *DnsHostsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsHostsStatus

DnsHostsStatus defines the observed state of DnsHosts

type DnsHostsStatus struct {
}

func (*DnsHostsStatus) DeepCopy

func (in *DnsHostsStatus) DeepCopy() *DnsHostsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsHostsStatus.

func (*DnsHostsStatus) DeepCopyInto

func (in *DnsHostsStatus) DeepCopyInto(out *DnsHostsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsmasqOption

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 (*DnsmasqOption) DeepCopy

func (in *DnsmasqOption) DeepCopy() *DnsmasqOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOption.

func (*DnsmasqOption) DeepCopyInto

func (in *DnsmasqOption) DeepCopyInto(out *DnsmasqOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsmasqOptions

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 (*DnsmasqOptions) DeepCopy

func (in *DnsmasqOptions) DeepCopy() *DnsmasqOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptions.

func (*DnsmasqOptions) DeepCopyInto

func (in *DnsmasqOptions) DeepCopyInto(out *DnsmasqOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DnsmasqOptions) DeepCopyObject

func (in *DnsmasqOptions) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DnsmasqOptionsList

DnsmasqOptionsList contains a list of DnsmasqOptions

type DnsmasqOptionsList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []DnsmasqOptions `json:"items,omitempty"`
}

func (*DnsmasqOptionsList) DeepCopy

func (in *DnsmasqOptionsList) DeepCopy() *DnsmasqOptionsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsList.

func (*DnsmasqOptionsList) DeepCopyInto

func (in *DnsmasqOptionsList) DeepCopyInto(out *DnsmasqOptionsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DnsmasqOptionsList) DeepCopyObject

func (in *DnsmasqOptionsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DnsmasqOptionsSpec

DnsmasqOptionsSpec defines the desired state of DnsmasqOptions

type DnsmasqOptionsSpec struct {
    Controller string          `json:"controller,omitempty"`
    Options    []DnsmasqOption `json:"options,omitempty"`
}

func (*DnsmasqOptionsSpec) DeepCopy

func (in *DnsmasqOptionsSpec) DeepCopy() *DnsmasqOptionsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsSpec.

func (*DnsmasqOptionsSpec) DeepCopyInto

func (in *DnsmasqOptionsSpec) DeepCopyInto(out *DnsmasqOptionsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DnsmasqOptionsStatus

DnsmasqOptionsStatus defines the observed state of DnsmasqOptions

type DnsmasqOptionsStatus struct {
}

func (*DnsmasqOptionsStatus) DeepCopy

func (in *DnsmasqOptionsStatus) DeepCopy() *DnsmasqOptionsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsmasqOptionsStatus.

func (*DnsmasqOptionsStatus) DeepCopyInto

func (in *DnsmasqOptionsStatus) DeepCopyInto(out *DnsmasqOptionsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.