Documentation ¶
Index ¶
- type MockCliConnection
- func (_m *MockCliConnection) AccessToken() (string, error)
- func (_m *MockCliConnection) ApiEndpoint() (string, error)
- func (_m *MockCliConnection) ApiVersion() (string, error)
- func (_m *MockCliConnection) CliCommand(_param0 ...string) ([]string, error)
- func (_m *MockCliConnection) CliCommandWithoutTerminalOutput(_param0 ...string) ([]string, error)
- func (_m *MockCliConnection) DopplerEndpoint() (string, error)
- func (_m *MockCliConnection) EXPECT() *_MockCliConnectionRecorder
- func (_m *MockCliConnection) GetApp(_param0 string) (models.GetAppModel, error)
- func (_m *MockCliConnection) GetApps() ([]models.GetAppsModel, error)
- func (_m *MockCliConnection) GetCurrentOrg() (models.Organization, error)
- func (_m *MockCliConnection) GetCurrentSpace() (models.Space, error)
- func (_m *MockCliConnection) GetOrg(_param0 string) (models.GetOrg_Model, error)
- func (_m *MockCliConnection) GetOrgUsers(_param0 string, _param1 ...string) ([]models.GetOrgUsers_Model, error)
- func (_m *MockCliConnection) GetOrgs() ([]models.GetOrgs_Model, error)
- func (_m *MockCliConnection) GetService(_param0 string) (models.GetService_Model, error)
- func (_m *MockCliConnection) GetServices() ([]models.GetServices_Model, error)
- func (_m *MockCliConnection) GetSpace(_param0 string) (models.GetSpace_Model, error)
- func (_m *MockCliConnection) GetSpaceUsers(_param0 string, _param1 string) ([]models.GetSpaceUsers_Model, error)
- func (_m *MockCliConnection) GetSpaces() ([]models.GetSpaces_Model, error)
- func (_m *MockCliConnection) HasAPIEndpoint() (bool, error)
- func (_m *MockCliConnection) HasOrganization() (bool, error)
- func (_m *MockCliConnection) HasSpace() (bool, error)
- func (_m *MockCliConnection) IsLoggedIn() (bool, error)
- func (_m *MockCliConnection) IsSSLDisabled() (bool, error)
- func (_m *MockCliConnection) LoggregatorEndpoint() (string, error)
- func (_m *MockCliConnection) UserEmail() (string, error)
- func (_m *MockCliConnection) UserGuid() (string, error)
- func (_m *MockCliConnection) Username() (string, error)
- type MockUI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCliConnection ¶
type MockCliConnection struct {
// contains filtered or unexported fields
}
Mock of CliConnection interface
func NewMockCliConnection ¶
func NewMockCliConnection(ctrl *gomock.Controller) *MockCliConnection
func (*MockCliConnection) AccessToken ¶
func (_m *MockCliConnection) AccessToken() (string, error)
func (*MockCliConnection) ApiEndpoint ¶
func (_m *MockCliConnection) ApiEndpoint() (string, error)
func (*MockCliConnection) ApiVersion ¶
func (_m *MockCliConnection) ApiVersion() (string, error)
func (*MockCliConnection) CliCommand ¶
func (_m *MockCliConnection) CliCommand(_param0 ...string) ([]string, error)
func (*MockCliConnection) CliCommandWithoutTerminalOutput ¶
func (_m *MockCliConnection) CliCommandWithoutTerminalOutput(_param0 ...string) ([]string, error)
func (*MockCliConnection) DopplerEndpoint ¶
func (_m *MockCliConnection) DopplerEndpoint() (string, error)
func (*MockCliConnection) EXPECT ¶
func (_m *MockCliConnection) EXPECT() *_MockCliConnectionRecorder
func (*MockCliConnection) GetApp ¶
func (_m *MockCliConnection) GetApp(_param0 string) (models.GetAppModel, error)
func (*MockCliConnection) GetApps ¶
func (_m *MockCliConnection) GetApps() ([]models.GetAppsModel, error)
func (*MockCliConnection) GetCurrentOrg ¶
func (_m *MockCliConnection) GetCurrentOrg() (models.Organization, error)
func (*MockCliConnection) GetCurrentSpace ¶
func (_m *MockCliConnection) GetCurrentSpace() (models.Space, error)
func (*MockCliConnection) GetOrg ¶
func (_m *MockCliConnection) GetOrg(_param0 string) (models.GetOrg_Model, error)
func (*MockCliConnection) GetOrgUsers ¶
func (_m *MockCliConnection) GetOrgUsers(_param0 string, _param1 ...string) ([]models.GetOrgUsers_Model, error)
func (*MockCliConnection) GetOrgs ¶
func (_m *MockCliConnection) GetOrgs() ([]models.GetOrgs_Model, error)
func (*MockCliConnection) GetService ¶
func (_m *MockCliConnection) GetService(_param0 string) (models.GetService_Model, error)
func (*MockCliConnection) GetServices ¶
func (_m *MockCliConnection) GetServices() ([]models.GetServices_Model, error)
func (*MockCliConnection) GetSpace ¶
func (_m *MockCliConnection) GetSpace(_param0 string) (models.GetSpace_Model, error)
func (*MockCliConnection) GetSpaceUsers ¶
func (_m *MockCliConnection) GetSpaceUsers(_param0 string, _param1 string) ([]models.GetSpaceUsers_Model, error)
func (*MockCliConnection) GetSpaces ¶
func (_m *MockCliConnection) GetSpaces() ([]models.GetSpaces_Model, error)
func (*MockCliConnection) HasAPIEndpoint ¶
func (_m *MockCliConnection) HasAPIEndpoint() (bool, error)
func (*MockCliConnection) HasOrganization ¶
func (_m *MockCliConnection) HasOrganization() (bool, error)
func (*MockCliConnection) HasSpace ¶
func (_m *MockCliConnection) HasSpace() (bool, error)
func (*MockCliConnection) IsLoggedIn ¶
func (_m *MockCliConnection) IsLoggedIn() (bool, error)
func (*MockCliConnection) IsSSLDisabled ¶
func (_m *MockCliConnection) IsSSLDisabled() (bool, error)
func (*MockCliConnection) LoggregatorEndpoint ¶
func (_m *MockCliConnection) LoggregatorEndpoint() (string, error)
func (*MockCliConnection) UserEmail ¶
func (_m *MockCliConnection) UserEmail() (string, error)
func (*MockCliConnection) UserGuid ¶
func (_m *MockCliConnection) UserGuid() (string, error)
func (*MockCliConnection) Username ¶
func (_m *MockCliConnection) Username() (string, error)
Click to show internal directories.
Click to hide internal directories.