commonoperations

package
Version: 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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultOpResponse holds message when person choose openstack as their cloud.
	DefaultOpResponse = "We have not reached to openstack yet"
	// DefaultAzResponse holds message when person choose azure as their cloud.
	DefaultAzResponse = "We have not reached to azure yet"
	// DefaultGcpResponse holds message when person choose google as the cloud.
	DefaultGcpResponse = "We have not reached to google cloud yet"
	// DefaultCloudResponse holds default message.
	DefaultCloudResponse = "I feel we are lost in performing the action, guess you have entered wrong cloud. The action was: "
)

Variables

This section is empty.

Functions

func GetCredentials

func GetCredentials(gcred *GetCredentialsInput) (db.CloudProfiles, error)

GetCredentials helps in fetching the of the credentials of the specified user along with the cloud details asked for.

Types

type GetCredentialsInput

type GetCredentialsInput struct {
	Profile string
	Cloud   string
}

GetCredentialsInput holds the information of profile and cloud that has to be fetched from database.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL