compute_drivers

package
v0.0.0-...-cbc0f95 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeDriver

type ComputeDriver interface {
	GetName() string
	Deploy(tctx *logger.TraceContext) error
	ConfirmDeploy(tctx *logger.TraceContext) (bool, error)
	SyncActivatingAssignmentMap(tctx *logger.TraceContext,
		assignmentMap map[uint]spec.ComputeAssignmentEx,
		computeNetnsPortsMap map[uint][]compute_models.NetnsPort) error
	ConfirmActivatingAssignmentMap(tctx *logger.TraceContext,
		assignmentMap map[uint]spec.ComputeAssignmentEx) (bool, error)
	SyncDeletingAssignmentMap(tctx *logger.TraceContext,
		assignmentMap map[uint]spec.ComputeAssignmentEx) error
	ConfirmDeletingAssignmentMap(tctx *logger.TraceContext,
		assignmentMap map[uint]spec.ComputeAssignmentEx) (bool, error)
	ProxyConsole(tctx *logger.TraceContext, input *spec.GetComputeConsole, conn *websocket.Conn) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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