tinycloud

package
v0.0.0-...-d252298 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedClouds []string = []string{
	"aws",
	"gcp",
}

Functions

func IsStrEmpty

func IsStrEmpty(str string) bool

Types

type AwsSettings

type AwsSettings struct {
	AwsRegion           string
	AwsAccessKeyId      string
	AwsSeacretAccessKey string
}

func (*AwsSettings) Valid

func (s *AwsSettings) Valid() error

type CloudSettings

type CloudSettings struct {
	Aws *AwsSettings
}

func (*CloudSettings) ResolveCloudName

func (s *CloudSettings) ResolveCloudName() string

func (*CloudSettings) Valid

func (s *CloudSettings) Valid() error

type Profile

type Profile struct {
	Name        string
	Description string
	Active      bool
	Settings    *CloudSettings
}

func (*Profile) Valid

func (p *Profile) Valid() error

type Profiles

type Profiles []*Profile

func (Profiles) String

func (ps Profiles) String() string

type RunRequest

type RunRequest struct {
	DockerImageId string
	VmType        string
	DataOutPath   string
}

type TaskDefinition

type TaskDefinition struct {
	DockerImageId string
	DataOutPath   string
	DNSName       string
	SSHKey        []byte
	BucketName    string
}

type Vm

type Vm struct {
	Id      string
	SSHKey  []byte
	DNSName string
}

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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