server

package
v0.0.0-...-78eb850 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlavorCommand = &cobra.Command{Use: "flavor", Short: "flavor tools"}
View Source
var ServerCommand = &cobra.Command{Use: "server", Short: "server tools"}

Functions

This section is empty.

Types

type Interface

type Interface struct {
	NetId  string
	PortId string
	Name   string
}

func (Interface) String

func (i Interface) String() string

type ServerInspect

type ServerInspect struct {
	Server          nova.Server                `json:"server"`
	Interfaces      []nova.InterfaceAttachment `json:"interfaces"`
	Volumes         []nova.VolumeAttachment    `json:"volumes"`
	PowerState      string                     `json:"powerState"`
	InterfaceDetail map[string]neutron.Port    `json:"interfaceDetail"`
	VolumeDetail    map[string]cinder.Volume   `json:"volumeDetail"`
	Actions         []nova.InstanceAction      `json:"actions"`
}

func (*ServerInspect) Print

func (serverInspect *ServerInspect) Print()

type Volume

type Volume struct {
	Id   string
	Name string
}

func (Volume) String

func (i Volume) String() string

Jump to

Keyboard shortcuts

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