obj

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MPL-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flavor

type Flavor struct {
	Bandwidth              int64  `json:"bandwidth"`
	BandwidthUnit          string `json:"bandwidthUnit"`
	Cpu                    int64  `json:"cpu"`
	CpuPlatformDescription string `json:"cpuPlatformDescription"`
	FlavorId               string `json:"flavorId"`
	Gpu                    int64  `json:"gpu"`
	Group                  string `json:"group"`
	Memory                 int64  `json:"memory"`
	MetaData               string `json:"metaData"`
	Name                   string `json:"name"`
	RemainingVms           int64  `json:"remainingVms"`
	ZoneId                 string `json:"zoneId"`
}

type Image

type Image struct {
	FlavorZoneIds []string     `json:"flavorZoneIds"`
	Id            string       `json:"id"`
	ImageType     string       `json:"imageType"`
	ImageVersion  string       `json:"imageVersion"`
	Licence       string       `json:"licence"`
	PackageLimit  PackageLimit `json:"packageLimit"`
}

type NetworkInterface

type NetworkInterface struct {
	CreatedAt     string `json:"createdAt"`
	FixedIp       string `json:"fixedIp"`
	FloatingIp    string `json:"floatingIp"`
	FloatingIpId  string `json:"floatingIpId"`
	InterfaceType string `json:"interfaceType"`
	Mac           string `json:"mac"`
	NetworkUuid   string `json:"networkUuid"`
	PortUuid      string `json:"portUuid"`
	Product       string `json:"product"`
	ServerUuid    string `json:"serverUuid"`
	Status        string `json:"status"`
	SubnetUuid    string `json:"subnetUuid"`
	Type          string `json:"type"`
	UpdatedAt     string `json:"updatedAt"`
	Uuid          string `json:"uuid"`
}

type PackageLimit

type PackageLimit struct {
	Cpu      int64 `json:"cpu"`
	DiskSize int64 `json:"diskSize"`
	Memory   int64 `json:"memory"`
}

type Server

type Server struct {
	BootVolumeId       string             `json:"bootVolumeId"`
	CreatedAt          string             `json:"createdAt"`
	EncryptionVolume   bool               `json:"encryptionVolume"`
	Licence            bool               `json:"licence"`
	Location           string             `json:"location"`
	Metadata           string             `json:"metadata"`
	MigrateState       string             `json:"migrateState"`
	Name               string             `json:"name"`
	Product            string             `json:"product"`
	ServerGroupId      string             `json:"serverGroupId"`
	ServerGroupName    string             `json:"serverGroupName"`
	SshKeyName         string             `json:"sshKeyName"`
	Status             string             `json:"status"`
	StopBeforeMigrate  bool               `json:"stopBeforeMigrate"`
	User               string             `json:"user"`
	Uuid               string             `json:"uuid"`
	Image              Image              `json:"image"`
	Flavor             Flavor             `json:"flavor"`
	SecGroups          []ServerSecGroup   `json:"secGroups"`
	ExternalInterfaces []NetworkInterface `json:"externalInterfaces"`
	InternalInterfaces []NetworkInterface `json:"internalInterfaces"`
}

type ServerSecGroup

type ServerSecGroup struct {
	Name string `json:"name"`
	Uuid string `json:"uuid"`
}

Jump to

Keyboard shortcuts

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