server

package
v1.0.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAMServer

type IPAMServer struct {
	// contains filtered or unexported fields
}

func NewIPAMServer

func NewIPAMServer(conf conf2.ServerConf) *IPAMServer

func (*IPAMServer) AddNetwork

func (s *IPAMServer) AddNetwork(context context.Context, in *rpc.IPAMMessage) (*rpc.IPAMMessage, error)

AddNetwork handle add pod request

func (*IPAMServer) DelNetwork

func (s *IPAMServer) DelNetwork(context context.Context, in *rpc.IPAMMessage) (*rpc.IPAMMessage, error)

DelNetwork handle del pod request

func (*IPAMServer) Start

func (s *IPAMServer) Start(stopCh <-chan struct{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL