cluster

package
v0.0.0-...-884d9dc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	XMLName    xml.Name          `xml:"CLUSTER"`
	ID         int               `xml:"ID,omitempty"`
	Name       string            `xml:"NAME"`
	Hosts      shared.EntitiesID `xml:"HOSTS,omitempty"`
	Datastores shared.EntitiesID `xml:"DATASTORES,omitempty"`
	Vnets      shared.EntitiesID `xml:"VNETS,omitempty"`
	Template   Template          `xml:"TEMPLATE,omitempty"`
}

Cluster represents an OpenNebula Cluster

type Pool

type Pool struct {
	XMLName  xml.Name  `xml:"CLUSTER_POOL"`
	Clusters []Cluster `xml:"CLUSTER"`
}

Pool represents an OpenNebula Cluster pool

type Template

type Template struct {
	dyn.Template
}

Template is a cluster template

func (*Template) Add

func (n *Template) Add(key keys.Template, value interface{})

Add adds an cluster template key, value pair

func (*Template) Get

func (n *Template) Get(key keys.Template) (string, error)

Get returns the string value for an cluster template keys

func (*Template) GetI

func (n *Template) GetI(key keys.Template) (int, error)

GetI returns the integer value for a cluster template key

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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