stackit

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 17 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, options *options.Options, 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