Documentation ¶
Index ¶
- Constants
- func New(client interfaces.LinodeClient) gateway.Platform
- type PlatformLinode
- func (p *PlatformLinode) CreateNode(ctx context.Context, id node.Identifier, tid tailnet.DeviceName, ...) (node.PlatformIdentifier, error)
- func (p *PlatformLinode) DeleteNode(ctx context.Context, n *node.Node) error
- func (p *PlatformLinode) GetStatus(ctx context.Context, n *node.Node) (node.Status, error)
- func (p *PlatformLinode) StartNode(ctx context.Context, n *node.Node) error
- func (p *PlatformLinode) StopNode(ctx context.Context, n *node.Node) error
Constants ¶
View Source
const (
DefaultImage = "linode/debian12"
)
View Source
const (
DefaultInstanceType = "g6-nanode-1"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client interfaces.LinodeClient) gateway.Platform
Types ¶
type PlatformLinode ¶
type PlatformLinode struct {
// contains filtered or unexported fields
}
func (*PlatformLinode) CreateNode ¶
func (p *PlatformLinode) CreateNode(ctx context.Context, id node.Identifier, tid tailnet.DeviceName, loc provider.Location, tcs tailnet.ControlServer, key tailnet.PreauthKey) (node.PlatformIdentifier, error)
func (*PlatformLinode) DeleteNode ¶
Click to show internal directories.
Click to hide internal directories.