Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownTailnetId = errors.New("unknown tailnet") ErrUnknownPlatform = errors.New("unknown platform") ErrUnknownNode = errors.New("unknown node") )
View Source
var ( ErrUnknownProvider = errors.New("unknown provider") ErrNoProviders = errors.New("no providers") )
View Source
var ( ErrUnknownTailnet = errors.New("unknown provider") ErrNoTailnets = errors.New("no providers") )
View Source
var ( ErrExecutionNotFound = errors.New("execution not found") ErrInvalidLocation = errors.New("invalid location") )
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { Start(ctx context.Context, id node.Identifier) error Stop(ctx context.Context, id node.Identifier) error Status(ctx context.Context, id node.Identifier) (node.Status, error) Describe(ctx context.Context, id node.Identifier) (*node.Node, error) List(ctx context.Context) ([]*node.Node, error) }
type Workflow ¶
type Workflow interface { LaunchProvisionNodeWorkflow(context.Context, *provider.Provider, provider.Location, *tailnet.Tailnet, bool) (workflow.ExecutionIdentifier, error) LaunchDeprovisionNodeWorkflow(context.Context, node.Identifier) (workflow.ExecutionIdentifier, error) GetExecution(context.Context, workflow.ExecutionIdentifier) (*workflow.Execution, error) }
Click to show internal directories.
Click to hide internal directories.