commoncloud

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud struct {
	// Pass the cloud in which the resource has to be created. usage: "aws","azure" etc.
	Name string `json:"name"`

	// Along with cloud, pass region in which resource has to be created.
	Region string `json:"region"`

	// Passing the profile is important, because this will help in fetching the the credentials
	// of cloud stored along with user details.
	Profile string `json:"profile"`

	// Use this option if in case you need unfiltered output from cloud.
	GetRaw bool `json:"getraw"`
}

Cloud is the common structure which is called in all cloudoperations.

Directories

Path Synopsis
image
get
loadbalancer
get
network
create
Package networkcreate makes the tool cloud agnostic with respect to creation of network.
Package networkcreate makes the tool cloud agnostic with respect to creation of network.
delete
Package networkdelete which makes the tool cloud agnostic for deleting network and its components.
Package networkdelete which makes the tool cloud agnostic for deleting network and its components.
get
Package networkget makes the tool cloud agnostic for fetching network details.
Package networkget makes the tool cloud agnostic for fetching network details.
update
Package networkupdate which makes the tool cloud agnostic for updating network components.
Package networkupdate which makes the tool cloud agnostic for updating network components.
server
create
Package servercreate makes the tool cloud agnostic with respect to creation of server.
Package servercreate makes the tool cloud agnostic with respect to creation of server.
get
Package support will make a call whether this tool supports the passed cloud.
Package support will make a call whether this tool supports the passed cloud.

Jump to

Keyboard shortcuts

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