openstack

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const COMPUTE_TYPE = "openstack_compute_instance_v2"
View Source
const FLOATING_ASSOC_TYPE = "openstack_compute_floatingip_associate_v2"
View Source
const GROUP_IFS = ","

Variables

This section is empty.

Functions

func ToInventory

func ToInventory(set Set, name string, bastion string)

Types

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func (Resource) GetComputeAnsibleGroups

func (osr Resource) GetComputeAnsibleGroups() (groups []string)

func (Resource) GetComputeIp

func (osr Resource) GetComputeIp() (ip string)

func (Resource) GetComputeKey

func (osr Resource) GetComputeKey() (key string)

func (Resource) GetComputeName

func (osr Resource) GetComputeName() (name string)

func (Resource) GetFloatingInstanceId

func (osr Resource) GetFloatingInstanceId() (id string)

func (Resource) GetFloatingIp

func (osr Resource) GetFloatingIp() (ip string)

func (Resource) GetId

func (osr Resource) GetId() string

func (*Resource) Init

func (osr *Resource) Init()

func (Resource) IsCompute

func (osr Resource) IsCompute() bool

func (Resource) IsFloatingAssoc

func (osr Resource) IsFloatingAssoc() bool

type Set

type Set []Resource

func NewSet

func NewSet(tf_file_name string) (set Set)

func (Set) GetComputes

func (set Set) GetComputes() (computes Set)

func (Set) GetFloatingAssoc

func (set Set) GetFloatingAssoc() (floatings Set)

func (*Set) Init

func (set *Set) Init(tf_file_name string)

Jump to

Keyboard shortcuts

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