Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidInputError = errors.New("invalid input") ErrUnknownExecution = errors.New("unknown execution") )
View Source
var (
ErrUnknownNode = errors.New("unknown node")
)
View Source
var (
ErrUnknownProvider = errors.New("unknown provider")
)
View Source
var (
ErrUnknownTailnet = errors.New("unknown tailnet")
)
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api interface { GetNode(context.Context, node.Identifier) (*node.Node, error) GetNodeStatus(context.Context, node.Identifier) (node.Status, error) ListNodes(context.Context) ([]*node.Node, error) ProvisionNode(context.Context, provider.Identifier, provider.Location, tailnet.Identifier, node.Size, bool) (workflow.ExecutionIdentifier, error) DeprovisionNode(context.Context, node.Identifier) (workflow.ExecutionIdentifier, error) StartNode(context.Context, node.Identifier) error StopNode(context.Context, node.Identifier) error GetExecution(context.Context, workflow.ExecutionIdentifier) (*workflow.Execution, error) GetProvider(ctx context.Context, id provider.Identifier) (*provider.Provider, error) ListProviders(ctx context.Context) ([]*provider.Provider, error) GetTailnet(ctx context.Context, id tailnet.Identifier) (*tailnet.Tailnet, error) ListTailnets(ctx context.Context) ([]*tailnet.Tailnet, error) ListNotifiers(ctx context.Context) ([]*notification.Notifier, error) CheckServerHealth(ctx context.Context) error }
Click to show internal directories.
Click to hide internal directories.