Documentation ¶
Index ¶
- Variables
- type AzureCli
- func (cli *AzureCli) ExecCmd(ctx context.Context, cmd string) (output string, err error)
- func (cli *AzureCli) ExecFileLineByLine(ctx context.Context, filename string) (err error)
- func (cli *AzureCli) Login(ctx context.Context) (err error)
- func (cli *AzureCli) ParseCmd(ctx context.Context, cmdString string) []string
- type CloudBuilderInterface
- type CloudType
- type GCloudCli
- func (cli *GCloudCli) ExecCmd(ctx context.Context, cmd string) (output string, err error)
- func (cli *GCloudCli) ExecFileLineByLine(ctx context.Context, filename string) (err error)
- func (cli *GCloudCli) ParseCmd(ctx context.Context, cmdString string) []string
- func (cli *GCloudCli) SetProject(projectId, googleApplicationCredentialsFileLocation string)
Constants ¶
This section is empty.
Variables ¶
View Source
var CloudTypeList = []CloudType{ CLOUDTYPE_UNDEFINED, CLOUDTYPE_GOOGLE_CLOUD, CLOUDTYPE_AWS, CLOUDTYPE_AZURE, }
The list that can be iterated
Functions ¶
This section is empty.
Types ¶
type AzureCli ¶
type AzureCli struct {
// contains filtered or unexported fields
}
func NewAzureCli ¶
func (*AzureCli) ExecFileLineByLine ¶
type CloudBuilderInterface ¶
type CloudBuilderInterface interface { }
func GetBuilder ¶
func GetBuilder(s string) CloudBuilderInterface
type CloudType ¶
type CloudType int
func GetCloudType ¶
func (CloudType) NewBuilder ¶
func (d CloudType) NewBuilder() CloudBuilderInterface
type GCloudCli ¶
type GCloudCli struct {
// contains filtered or unexported fields
}
func NewGCloudCli ¶
func (*GCloudCli) ExecFileLineByLine ¶
func (*GCloudCli) SetProject ¶
Click to show internal directories.
Click to hide internal directories.