manager

package
v0.0.0-...-735b8cc Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbbotManager

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

func NewAbbotManager

func NewAbbotManager(config conf.VNNetworkBackend) *AbbotManager

func (*AbbotManager) AddEndpoint

func (m *AbbotManager) AddEndpoint(addr string, port int32) (err error)

func (*AbbotManager) RemoveEndpoint

func (m *AbbotManager) RemoveEndpoint(addr string, port int32) error

type BaseManager

type BaseManager struct {
	Log                 log.Interface
	ConnectivityManager connectivity.Manager
	// contains filtered or unexported fields
}

func NewBaseManager

func NewBaseManager(parentCtx context.Context, name string, connectivityManager connectivity.Manager) *BaseManager

func (*BaseManager) Closing

func (m *BaseManager) Closing() bool

func (*BaseManager) Context

func (m *BaseManager) Context() context.Context

func (*BaseManager) OnClose

func (m *BaseManager) OnClose(doClose func())

func (*BaseManager) OnStart

func (m *BaseManager) OnStart(doStart func() error) error

type SFTPManager

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

func NewSFTPManager

func NewSFTPManager(
	ctx context.Context,
	rootDir string,
	listener net.Listener,
	hostKey ssh.Signer,
	marshaledSSHPubKey []byte,
) *SFTPManager

func (*SFTPManager) Start

func (m *SFTPManager) Start() error

Jump to

Keyboard shortcuts

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