Documentation ¶
Index ¶
- Constants
- type NetpluginNameServer
- func (ens *NetpluginNameServer) AddLbService(tenant string, name string, v4name string)
- func (ens *NetpluginNameServer) DelLbService(tenant string, name string)
- func (ens *NetpluginNameServer) Init(sd core.StateDriver) error
- func (ens *NetpluginNameServer) InspectState() (interface{}, error)
- func (ens *NetpluginNameServer) NsLookup(nsq []byte, vrfPtr *string) ([]byte, error)
Constants ¶
View Source
const K8sDefaultTenant = "k8sDefaultTenant"
K8sDefaultTenant is the default tenant in K8S
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetpluginNameServer ¶
type NetpluginNameServer struct {
// contains filtered or unexported fields
}
NetpluginNameServer config
func (*NetpluginNameServer) AddLbService ¶
func (ens *NetpluginNameServer) AddLbService(tenant string, name string, v4name string)
AddLbService adds a LB service in non-multi tenant record
func (*NetpluginNameServer) DelLbService ¶
func (ens *NetpluginNameServer) DelLbService(tenant string, name string)
DelLbService deletes LB service from non-multi tenant record
func (*NetpluginNameServer) Init ¶
func (ens *NetpluginNameServer) Init(sd core.StateDriver) error
Init to start name server
func (*NetpluginNameServer) InspectState ¶
func (ens *NetpluginNameServer) InspectState() (interface{}, error)
InspectState returns state
Click to show internal directories.
Click to hide internal directories.