opennebula

package
v0.0.0-...-a1d6151 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayToString

func ArrayToString(list []interface{}, delim string) string

func LockLevelToString

func LockLevelToString(lock int) string

func Provider

func Provider() *schema.Provider

func StringToLockLevel

func StringToLockLevel(str string, lock *shared.LockLevel) error

Types

type ImageTemplate

type ImageTemplate struct {
	DevPrefix   string `xml:"DEV_PREFIX,omitempty"`
	Driver      string `xml:"DRIVER,omitempty"`
	Format      string `xml:"FORMAT,omitempty"`
	Target      string `xml:"TARGET,omitempty"`
	Description string `xml:"DESCRIPTION,omitempty"`
}

type SecurityGroupRule

type SecurityGroupRule struct {
	Protocol  string `xml:"PROTOCOL"             structs:"protocol"`
	Range     string `xml:"RANGE,omitempty"      structs:"range,omitempty"`
	RuleType  string `xml:"RULE_TYPE"            structs:"rule_type,omitempty"`
	IP        string `xml:"IP,omitempty"         structs:"ip,omitempty"`
	Size      string `xml:"SIZE,omitempty"       structs:"size,omitempty"`
	NetworkId string `xml:"NETWORK_ID,omitempty" structs:"network_id,omitempty"`
	IcmpType  string `xml:"ICMP_TYPE,omitempty"  structs:"icmp_type,omitempty"`
}

type SecurityGroupTemplate

type SecurityGroupTemplate struct {
	Description        string              `xml:"DESCRIPTION"`
	SecurityGroupRules []SecurityGroupRule `xml:"RULE"`
}

Jump to

Keyboard shortcuts

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