options

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalDisk added in v0.2.0

type AdditionalDisk struct {
	Name   string `yaml:"name"`
	Format bool   `yaml:"format"`
	FsType string `yaml:"fsType,omitempty"`
}

type LabListOpts

type LabListOpts struct {
	ListOpts
	Name string
}

type ListOpts

type ListOpts struct {
	Page          int
	PerPage       int
	LabelSelector string
}

type SSHKeyCreateOpts

type SSHKeyCreateOpts struct {
	Name      string
	PublicKey string
	Labels    map[string]string
}

type SSHKeyListOpts

type SSHKeyListOpts struct {
	ListOpts
	Name string
}

type ServerCreateOpts

type ServerCreateOpts struct {
	Name            string
	Type            string          // Server type in cloud provider
	Image           string          // OS image
	Location        string          // Datacenter/location
	Provider        string          // Cloud provider
	SSHKeys         []*types.SSHKey // SSH keys
	Labels          map[string]string
	UserData        string           // cloud-init user data
	AdditionalDisks []AdditionalDisk // additional disks for Lima VMs
}

type ServerListOpts

type ServerListOpts struct {
	ListOpts
	Name   string
	Status []types.ServerStatus
	Sort   []string
}

type VolumeCreateOpts

type VolumeCreateOpts struct {
	Name       string
	Size       int
	Location   string
	ServerName string
	Labels     map[string]string
	Automount  bool
	Format     string
}

type VolumeListOpts

type VolumeListOpts struct {
	ListOpts
	Name   string
	Status []types.VolumeStatus
	Sort   []string
}

Jump to

Keyboard shortcuts

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