daemon

package
v0.0.0-...-8dd92da Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MasterDaemon

type MasterDaemon struct {
	// Public state
	ListenURL          string // URL where netmaster listens for ext requests
	ControlURL         string // URL where netmaster listens for ctrl pkts
	ClusterStoreDriver string // state store driver name
	ClusterStoreURL    string // state store endpoint
	ClusterMode        string // cluster scheduler used docker/kubernetes/mesos etc
	NetworkMode        string // network mode (vlan or vxlan)
	NetForwardMode     string // forwarding mode (bridge or routing)
	NetInfraType       string // infra type (aci or default)
	// contains filtered or unexported fields
}

MasterDaemon runs the daemon FSM

func (*MasterDaemon) ClearEndpoints

func (d *MasterDaemon) ClearEndpoints(stateDriver core.StateDriver, epCfgs *[]core.State, id, matchField string) error

ClearEndpoints clears all the endpoints

func (*MasterDaemon) Init

func (d *MasterDaemon) Init()

Init initializes the master daemon

func (*MasterDaemon) InitServices

func (d *MasterDaemon) InitServices()

InitServices init watch services

func (*MasterDaemon) RunMasterFsm

func (d *MasterDaemon) RunMasterFsm()

RunMasterFsm runs netmaster FSM

Jump to

Keyboard shortcuts

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