Help us shape the future of Go! Take the 2026 Go Developer Survey

stackit

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SSHUserName = "devpod"
	SSHPort     = "22"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Stackit

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

func New

func New(options *options.ClientOptions) *Stackit

func (*Stackit) Create

func (s *Stackit) Create(ctx context.Context, projectID, machineId string, publicKey []byte) error

func (*Stackit) Delete

func (s *Stackit) Delete(ctx context.Context, projectId, machineName string) error

func (*Stackit) GetPublicIPOfServer

func (s *Stackit) GetPublicIPOfServer(ctx context.Context, projectId, machineName string) (string, error)

func (*Stackit) Init

func (s *Stackit) Init(ctx context.Context, projectID string) error

func (*Stackit) Start

func (s *Stackit) Start(ctx context.Context, projectId, machineName string) error

func (*Stackit) Status

func (s *Stackit) Status(ctx context.Context, projectId, machineName string) (client.Status, error)

func (*Stackit) Stop

func (s *Stackit) Stop(ctx context.Context, projectId, machineName string) error

Jump to

Keyboard shortcuts

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