servicemanager

package
v0.0.0-...-8836d2b Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EventingPermissionManage for auditing
	EventingPermissionManage = "cluster.eventing.functions!manage"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceMgr

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

ServiceMgr implements cbauth_service interface

func NewServiceMgr

func NewServiceMgr(config util.Config, rebalanceRunning bool, superSup common.EventingSuperSup) *ServiceMgr

NewServiceMgr creates handle for ServiceMgr, which implements cbauth service.Manager

func (*ServiceMgr) CancelTask

func (m *ServiceMgr) CancelTask(id string, rev service.Revision) error

CancelTask callback for cbauth service.Manager

func (*ServiceMgr) GetCurrentTopology

func (m *ServiceMgr) GetCurrentTopology(rev service.Revision, cancel service.Cancel) (*service.Topology, error)

GetCurrentTopology callback for cbauth service.Manager

func (*ServiceMgr) GetNodeInfo

func (m *ServiceMgr) GetNodeInfo() (*service.NodeInfo, error)

GetNodeInfo callback for cbauth service.Manager

func (*ServiceMgr) GetTaskList

func (m *ServiceMgr) GetTaskList(rev service.Revision, cancel service.Cancel) (*service.TaskList, error)

GetTaskList callback for cbauth service.Manager

func (*ServiceMgr) PrepareTopologyChange

func (m *ServiceMgr) PrepareTopologyChange(change service.TopologyChange) error

PrepareTopologyChange callback for cbauth service.Manager

func (*ServiceMgr) Shutdown

func (m *ServiceMgr) Shutdown() error

Shutdown callback for cbauth service.Manager

func (*ServiceMgr) StartTopologyChange

func (m *ServiceMgr) StartTopologyChange(change service.TopologyChange) error

StartTopologyChange callback for cbauth service.Manager

Jump to

Keyboard shortcuts

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