model

package
v0.0.0-...-62d8223 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

type Disk struct {
	ID          int64    `json:"id"`
	Name        string   `json:"name"`
	Tags        []string `json:"tags"`
	Description string   `json:"description"`
	Size        int      `json:"size"`
}

type MutationResult

type MutationResult struct {
	Success bool `json:"success"`
}

type Server

type Server struct {
	ID               int64    `json:"id"`
	Name             string   `json:"name"`
	Tags             []string `json:"tags"`
	Description      string   `json:"description"`
	Availability     string   `json:"availability"`
	HostName         string   `json:"hostName"`
	InterfaceDriver  string   `json:"interfaceDriver"`
	PlanID           int64    `json:"planID"`
	PlanName         string   `json:"planName"`
	CPU              int      `json:"cpu"`
	Memory           int      `json:"memory"`
	Commitment       string   `json:"commitment"`
	PlanGeneration   int      `json:"planGeneration"`
	InstanceHostName string   `json:"instanceHostName"`
	InstanceStatus   string   `json:"instanceStatus"`
	Disks            []*Disk  `json:"disks"`
}

type ShutdownOption

type ShutdownOption struct {
	Force bool `json:"force"`
}

Jump to

Keyboard shortcuts

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