options

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 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
}

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