Documentation ¶
Index ¶
- type APIer
- func (_m *APIer) DeleteAccountsID(_a0 *operations.DeleteAccountsIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.DeleteAccountsIDNoContent, error)
- func (_m *APIer) DeleteLeases(_a0 *operations.DeleteLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.DeleteLeasesOK, error)
- func (_m *APIer) GetAccounts(_a0 *operations.GetAccountsParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetAccountsOK, error)
- func (_m *APIer) GetAccountsID(_a0 *operations.GetAccountsIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetAccountsIDOK, error)
- func (_m *APIer) GetLeases(_a0 *operations.GetLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetLeasesOK, error)
- func (_m *APIer) GetLeasesID(_a0 *operations.GetLeasesIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetLeasesIDOK, error)
- func (_m *APIer) GetUsage(_a0 *operations.GetUsageParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetUsageOK, error)
- func (_m *APIer) PostAccounts(_a0 *operations.PostAccountsParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostAccountsCreated, error)
- func (_m *APIer) PostLeases(_a0 *operations.PostLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostLeasesCreated, error)
- func (_m *APIer) PostLeasesIDAuth(_a0 *operations.PostLeasesIDAuthParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostLeasesIDAuthCreated, error)
- func (_m *APIer) SetTransport(_a0 runtime.ClientTransport)
- type AWSer
- func (_m *AWSer) ConfigureAWSCLICredentials(accessKeyID string, secretAccessKey string, sessionToken string, ...)
- func (_m *AWSer) UpdateLambdasFromS3Assets(lambdaNames []string, bucket string, namespace string)
- func (_m *AWSer) UploadDirectoryToS3(localPath string, bucket string, prefix string) ([]string, []string)
- type Accounter
- type Authenticater
- type Deployer
- type Durationer
- type FileSystemer
- func (_m *FileSystemer) Chdir(path string)
- func (_m *FileSystemer) GetConfigFile() string
- func (_m *FileSystemer) GetHomeDir() string
- func (_m *FileSystemer) IsExistingFile(path string) bool
- func (_m *FileSystemer) MvToTempDir(prefix string) (string, string)
- func (_m *FileSystemer) ReadDir(path string) []os.FileInfo
- func (_m *FileSystemer) ReadFromFile(path string) string
- func (_m *FileSystemer) ReadInConfig() error
- func (_m *FileSystemer) RemoveAll(path string)
- func (_m *FileSystemer) Unarchive(source string, destination string)
- func (_m *FileSystemer) WriteConfig() error
- func (_m *FileSystemer) WriteFile(fileName string, data string)
- type Githuber
- type Initer
- type Leaser
- func (_m *Leaser) CreateLease(principalID string, budgetAmount float64, budgetCurrency string, ...)
- func (_m *Leaser) EndLease(accountID string, principalID string)
- func (_m *Leaser) GetLease(leaseID string)
- func (_m *Leaser) ListLeases(acctID string, principalID string, nextAcctID string, nextPrincipalID string, ...)
- func (_m *Leaser) LoginToLease(leaseID string, profile string, loginOpenBrowser bool, loginPrintCreds bool)
- type LevelLogger
- func (_m *LevelLogger) Debug(args ...interface{})
- func (_m *LevelLogger) Debugf(format string, args ...interface{})
- func (_m *LevelLogger) Debugln(args ...interface{})
- func (_m *LevelLogger) Error(args ...interface{})
- func (_m *LevelLogger) Errorf(format string, args ...interface{})
- func (_m *LevelLogger) Errorln(args ...interface{})
- func (_m *LevelLogger) Fatal(args ...interface{})
- func (_m *LevelLogger) Fatalf(format string, args ...interface{})
- func (_m *LevelLogger) Fatalln(args ...interface{})
- func (_m *LevelLogger) Info(args ...interface{})
- func (_m *LevelLogger) Infof(format string, args ...interface{})
- func (_m *LevelLogger) Infoln(args ...interface{})
- func (_m *LevelLogger) Print(args ...interface{})
- func (_m *LevelLogger) Printf(format string, args ...interface{})
- func (_m *LevelLogger) Println(args ...interface{})
- func (_m *LevelLogger) Warn(args ...interface{})
- func (_m *LevelLogger) Warnf(format string, args ...interface{})
- func (_m *LevelLogger) Warnln(args ...interface{})
- type Logger
- func (_m *Logger) Debug(args ...interface{})
- func (_m *Logger) Debugf(format string, args ...interface{})
- func (_m *Logger) Debugln(args ...interface{})
- func (_m *Logger) End(args ...interface{})
- func (_m *Logger) Endf(format string, args ...interface{})
- func (_m *Logger) Endln(args ...interface{})
- func (_m *Logger) Error(args ...interface{})
- func (_m *Logger) Errorf(format string, args ...interface{})
- func (_m *Logger) Errorln(args ...interface{})
- func (_m *Logger) Fatal(args ...interface{})
- func (_m *Logger) Fatalf(format string, args ...interface{})
- func (_m *Logger) Fatalln(args ...interface{})
- func (_m *Logger) Info(args ...interface{})
- func (_m *Logger) Infof(format string, args ...interface{})
- func (_m *Logger) Infoln(args ...interface{})
- func (_m *Logger) Print(args ...interface{})
- func (_m *Logger) Printf(format string, args ...interface{})
- func (_m *Logger) Println(args ...interface{})
- func (_m *Logger) Warn(args ...interface{})
- func (_m *Logger) Warnf(format string, args ...interface{})
- func (_m *Logger) Warnln(args ...interface{})
- type Prompter
- type ResponseWithPayload
- type Terraformer
- type Usager
- type Weber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIer ¶
APIer is an autogenerated mock type for the APIer type
func (*APIer) DeleteAccountsID ¶
func (_m *APIer) DeleteAccountsID(_a0 *operations.DeleteAccountsIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.DeleteAccountsIDNoContent, error)
DeleteAccountsID provides a mock function with given fields: _a0, _a1
func (*APIer) DeleteLeases ¶
func (_m *APIer) DeleteLeases(_a0 *operations.DeleteLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.DeleteLeasesOK, error)
DeleteLeases provides a mock function with given fields: _a0, _a1
func (*APIer) GetAccounts ¶
func (_m *APIer) GetAccounts(_a0 *operations.GetAccountsParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetAccountsOK, error)
GetAccounts provides a mock function with given fields: _a0, _a1
func (*APIer) GetAccountsID ¶
func (_m *APIer) GetAccountsID(_a0 *operations.GetAccountsIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetAccountsIDOK, error)
GetAccountsID provides a mock function with given fields: _a0, _a1
func (*APIer) GetLeases ¶
func (_m *APIer) GetLeases(_a0 *operations.GetLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetLeasesOK, error)
GetLeases provides a mock function with given fields: _a0, _a1
func (*APIer) GetLeasesID ¶
func (_m *APIer) GetLeasesID(_a0 *operations.GetLeasesIDParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetLeasesIDOK, error)
GetLeasesID provides a mock function with given fields: _a0, _a1
func (*APIer) GetUsage ¶
func (_m *APIer) GetUsage(_a0 *operations.GetUsageParams, _a1 runtime.ClientAuthInfoWriter) (*operations.GetUsageOK, error)
GetUsage provides a mock function with given fields: _a0, _a1
func (*APIer) PostAccounts ¶
func (_m *APIer) PostAccounts(_a0 *operations.PostAccountsParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostAccountsCreated, error)
PostAccounts provides a mock function with given fields: _a0, _a1
func (*APIer) PostLeases ¶
func (_m *APIer) PostLeases(_a0 *operations.PostLeasesParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostLeasesCreated, error)
PostLeases provides a mock function with given fields: _a0, _a1
func (*APIer) PostLeasesIDAuth ¶
func (_m *APIer) PostLeasesIDAuth(_a0 *operations.PostLeasesIDAuthParams, _a1 runtime.ClientAuthInfoWriter) (*operations.PostLeasesIDAuthCreated, error)
PostLeasesIDAuth provides a mock function with given fields: _a0, _a1
func (*APIer) SetTransport ¶
func (_m *APIer) SetTransport(_a0 runtime.ClientTransport)
SetTransport provides a mock function with given fields: _a0
type AWSer ¶
AWSer is an autogenerated mock type for the AWSer type
func (*AWSer) ConfigureAWSCLICredentials ¶
func (_m *AWSer) ConfigureAWSCLICredentials(accessKeyID string, secretAccessKey string, sessionToken string, profile string)
ConfigureAWSCLICredentials provides a mock function with given fields: accessKeyID, secretAccessKey, sessionToken, profile
func (*AWSer) UpdateLambdasFromS3Assets ¶
UpdateLambdasFromS3Assets provides a mock function with given fields: lambdaNames, bucket, namespace
type Accounter ¶
Accounter is an autogenerated mock type for the Accounter type
func (*Accounter) AddAccount ¶
AddAccount provides a mock function with given fields: accountID, adminRoleARN
func (*Accounter) GetAccount ¶
GetAccount provides a mock function with given fields: accountID
func (*Accounter) ListAccounts ¶
func (_m *Accounter) ListAccounts()
ListAccounts provides a mock function with given fields:
func (*Accounter) RemoveAccount ¶
RemoveAccount provides a mock function with given fields: accountID
type Authenticater ¶
Authenticater is an autogenerated mock type for the Authenticater type
func (*Authenticater) Authenticate ¶
func (_m *Authenticater) Authenticate() error
Authenticate provides a mock function with given fields:
type Durationer ¶
Durationer is an autogenerated mock type for the Durationer type
func (*Durationer) ExpandEpochTime ¶
func (_m *Durationer) ExpandEpochTime(str string) (int64, error)
ExpandEpochTime provides a mock function with given fields: str
func (*Durationer) ParseDuration ¶
func (_m *Durationer) ParseDuration(str string) (time.Duration, error)
ParseDuration provides a mock function with given fields: str
type FileSystemer ¶
FileSystemer is an autogenerated mock type for the FileSystemer type
func (*FileSystemer) Chdir ¶
func (_m *FileSystemer) Chdir(path string)
Chdir provides a mock function with given fields: path
func (*FileSystemer) GetConfigFile ¶
func (_m *FileSystemer) GetConfigFile() string
GetConfigFile provides a mock function with given fields:
func (*FileSystemer) GetHomeDir ¶
func (_m *FileSystemer) GetHomeDir() string
GetHomeDir provides a mock function with given fields:
func (*FileSystemer) IsExistingFile ¶
func (_m *FileSystemer) IsExistingFile(path string) bool
IsExistingFile provides a mock function with given fields: path
func (*FileSystemer) MvToTempDir ¶
func (_m *FileSystemer) MvToTempDir(prefix string) (string, string)
MvToTempDir provides a mock function with given fields: prefix
func (*FileSystemer) ReadDir ¶
func (_m *FileSystemer) ReadDir(path string) []os.FileInfo
ReadDir provides a mock function with given fields: path
func (*FileSystemer) ReadFromFile ¶
func (_m *FileSystemer) ReadFromFile(path string) string
ReadFromFile provides a mock function with given fields: path
func (*FileSystemer) ReadInConfig ¶
func (_m *FileSystemer) ReadInConfig() error
ReadInConfig provides a mock function with given fields:
func (*FileSystemer) RemoveAll ¶
func (_m *FileSystemer) RemoveAll(path string)
RemoveAll provides a mock function with given fields: path
func (*FileSystemer) Unarchive ¶
func (_m *FileSystemer) Unarchive(source string, destination string)
Unarchive provides a mock function with given fields: source, destination
func (*FileSystemer) WriteConfig ¶
func (_m *FileSystemer) WriteConfig() error
WriteConfig provides a mock function with given fields:
func (*FileSystemer) WriteFile ¶
func (_m *FileSystemer) WriteFile(fileName string, data string)
WriteFile provides a mock function with given fields: fileName, data
type Githuber ¶
Githuber is an autogenerated mock type for the Githuber type
func (*Githuber) DownloadGithubReleaseAsset ¶
DownloadGithubReleaseAsset provides a mock function with given fields: assetName
type Initer ¶
Initer is an autogenerated mock type for the Initer type
func (*Initer) InitializeDCE ¶
func (_m *Initer) InitializeDCE()
InitializeDCE provides a mock function with given fields:
type Leaser ¶
Leaser is an autogenerated mock type for the Leaser type
func (*Leaser) CreateLease ¶
func (_m *Leaser) CreateLease(principalID string, budgetAmount float64, budgetCurrency string, email []string, expiresOn string)
CreateLease provides a mock function with given fields: principalID, budgetAmount, budgetCurrency, email, expiresOn
func (*Leaser) EndLease ¶
EndLease provides a mock function with given fields: accountID, principalID
type LevelLogger ¶
LevelLogger is an autogenerated mock type for the LevelLogger type
func (*LevelLogger) Debug ¶
func (_m *LevelLogger) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*LevelLogger) Debugf ¶
func (_m *LevelLogger) Debugf(format string, args ...interface{})
Debugf provides a mock function with given fields: format, args
func (*LevelLogger) Debugln ¶
func (_m *LevelLogger) Debugln(args ...interface{})
Debugln provides a mock function with given fields: args
func (*LevelLogger) Error ¶
func (_m *LevelLogger) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*LevelLogger) Errorf ¶
func (_m *LevelLogger) Errorf(format string, args ...interface{})
Errorf provides a mock function with given fields: format, args
func (*LevelLogger) Errorln ¶
func (_m *LevelLogger) Errorln(args ...interface{})
Errorln provides a mock function with given fields: args
func (*LevelLogger) Fatal ¶
func (_m *LevelLogger) Fatal(args ...interface{})
Fatal provides a mock function with given fields: args
func (*LevelLogger) Fatalf ¶
func (_m *LevelLogger) Fatalf(format string, args ...interface{})
Fatalf provides a mock function with given fields: format, args
func (*LevelLogger) Fatalln ¶
func (_m *LevelLogger) Fatalln(args ...interface{})
Fatalln provides a mock function with given fields: args
func (*LevelLogger) Info ¶
func (_m *LevelLogger) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*LevelLogger) Infof ¶
func (_m *LevelLogger) Infof(format string, args ...interface{})
Infof provides a mock function with given fields: format, args
func (*LevelLogger) Infoln ¶
func (_m *LevelLogger) Infoln(args ...interface{})
Infoln provides a mock function with given fields: args
func (*LevelLogger) Print ¶
func (_m *LevelLogger) Print(args ...interface{})
Print provides a mock function with given fields: args
func (*LevelLogger) Printf ¶
func (_m *LevelLogger) Printf(format string, args ...interface{})
Printf provides a mock function with given fields: format, args
func (*LevelLogger) Println ¶
func (_m *LevelLogger) Println(args ...interface{})
Println provides a mock function with given fields: args
func (*LevelLogger) Warn ¶
func (_m *LevelLogger) Warn(args ...interface{})
Warn provides a mock function with given fields: args
func (*LevelLogger) Warnf ¶
func (_m *LevelLogger) Warnf(format string, args ...interface{})
Warnf provides a mock function with given fields: format, args
func (*LevelLogger) Warnln ¶
func (_m *LevelLogger) Warnln(args ...interface{})
Warnln provides a mock function with given fields: args
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func (*Logger) Debug ¶
func (_m *Logger) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Logger) Debugln ¶
func (_m *Logger) Debugln(args ...interface{})
Debugln provides a mock function with given fields: args
func (*Logger) End ¶
func (_m *Logger) End(args ...interface{})
End provides a mock function with given fields: args
func (*Logger) Endln ¶
func (_m *Logger) Endln(args ...interface{})
Endln provides a mock function with given fields: args
func (*Logger) Error ¶
func (_m *Logger) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Logger) Errorln ¶
func (_m *Logger) Errorln(args ...interface{})
Errorln provides a mock function with given fields: args
func (*Logger) Fatal ¶
func (_m *Logger) Fatal(args ...interface{})
Fatal provides a mock function with given fields: args
func (*Logger) Fatalln ¶
func (_m *Logger) Fatalln(args ...interface{})
Fatalln provides a mock function with given fields: args
func (*Logger) Info ¶
func (_m *Logger) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*Logger) Infoln ¶
func (_m *Logger) Infoln(args ...interface{})
Infoln provides a mock function with given fields: args
func (*Logger) Print ¶
func (_m *Logger) Print(args ...interface{})
Print provides a mock function with given fields: args
func (*Logger) Println ¶
func (_m *Logger) Println(args ...interface{})
Println provides a mock function with given fields: args
func (*Logger) Warn ¶
func (_m *Logger) Warn(args ...interface{})
Warn provides a mock function with given fields: args
type Prompter ¶
Prompter is an autogenerated mock type for the Prompter type
func (*Prompter) PromptBasic ¶
PromptBasic provides a mock function with given fields: label, validator
type ResponseWithPayload ¶
ResponseWithPayload is an autogenerated mock type for the ResponseWithPayload type
func (*ResponseWithPayload) GetPayload ¶
func (_m *ResponseWithPayload) GetPayload() interface{}
GetPayload provides a mock function with given fields:
type Terraformer ¶
Terraformer is an autogenerated mock type for the Terraformer type
func (*Terraformer) Apply ¶
func (_m *Terraformer) Apply(tfVars []string)
Apply provides a mock function with given fields: tfVars
func (*Terraformer) GetOutput ¶
func (_m *Terraformer) GetOutput(key string) string
GetOutput provides a mock function with given fields: key
func (*Terraformer) Init ¶
func (_m *Terraformer) Init(args []string)
Init provides a mock function with given fields: args