Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockConfigStoreClient
- func (m *MockConfigStoreClient) EXPECT() *MockConfigStoreClientMockRecorder
- func (m *MockConfigStoreClient) GetEnvironment(appName, environmentName string) (*config.Environment, error)
- func (m *MockConfigStoreClient) GetJob(appName, jobname string) (*config.Workload, error)
- func (m *MockConfigStoreClient) GetService(appName, svcName string) (*config.Workload, error)
- func (m *MockConfigStoreClient) ListEnvironments(appName string) ([]*config.Environment, error)
- func (m *MockConfigStoreClient) ListWorkloads(appName string) ([]*config.Workload, error)
- type MockConfigStoreClientMockRecorder
- func (mr *MockConfigStoreClientMockRecorder) GetEnvironment(appName, environmentName interface{}) *gomock.Call
- func (mr *MockConfigStoreClientMockRecorder) GetJob(appName, jobname interface{}) *gomock.Call
- func (mr *MockConfigStoreClientMockRecorder) GetService(appName, svcName interface{}) *gomock.Call
- func (mr *MockConfigStoreClientMockRecorder) ListEnvironments(appName interface{}) *gomock.Call
- func (mr *MockConfigStoreClientMockRecorder) ListWorkloads(appName interface{}) *gomock.Call
- type MockResourceGetter
- type MockResourceGetterMockRecorder
- type MockSessionProvider
- type MockSessionProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigStoreClient ¶
type MockConfigStoreClient struct {
// contains filtered or unexported fields
}
MockConfigStoreClient is a mock of ConfigStoreClient interface.
func NewMockConfigStoreClient ¶
func NewMockConfigStoreClient(ctrl *gomock.Controller) *MockConfigStoreClient
NewMockConfigStoreClient creates a new mock instance.
func (*MockConfigStoreClient) EXPECT ¶
func (m *MockConfigStoreClient) EXPECT() *MockConfigStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigStoreClient) GetEnvironment ¶
func (m *MockConfigStoreClient) GetEnvironment(appName, environmentName string) (*config.Environment, error)
GetEnvironment mocks base method.
func (*MockConfigStoreClient) GetJob ¶ added in v1.7.0
func (m *MockConfigStoreClient) GetJob(appName, jobname string) (*config.Workload, error)
GetJob mocks base method.
func (*MockConfigStoreClient) GetService ¶
func (m *MockConfigStoreClient) GetService(appName, svcName string) (*config.Workload, error)
GetService mocks base method.
func (*MockConfigStoreClient) ListEnvironments ¶
func (m *MockConfigStoreClient) ListEnvironments(appName string) ([]*config.Environment, error)
ListEnvironments mocks base method.
func (*MockConfigStoreClient) ListWorkloads ¶ added in v1.7.0
func (m *MockConfigStoreClient) ListWorkloads(appName string) ([]*config.Workload, error)
ListWorkloads mocks base method.
type MockConfigStoreClientMockRecorder ¶
type MockConfigStoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigStoreClientMockRecorder is the mock recorder for MockConfigStoreClient.
func (*MockConfigStoreClientMockRecorder) GetEnvironment ¶
func (mr *MockConfigStoreClientMockRecorder) GetEnvironment(appName, environmentName interface{}) *gomock.Call
GetEnvironment indicates an expected call of GetEnvironment.
func (*MockConfigStoreClientMockRecorder) GetJob ¶ added in v1.7.0
func (mr *MockConfigStoreClientMockRecorder) GetJob(appName, jobname interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.
func (*MockConfigStoreClientMockRecorder) GetService ¶
func (mr *MockConfigStoreClientMockRecorder) GetService(appName, svcName interface{}) *gomock.Call
GetService indicates an expected call of GetService.
func (*MockConfigStoreClientMockRecorder) ListEnvironments ¶
func (mr *MockConfigStoreClientMockRecorder) ListEnvironments(appName interface{}) *gomock.Call
ListEnvironments indicates an expected call of ListEnvironments.
func (*MockConfigStoreClientMockRecorder) ListWorkloads ¶ added in v1.7.0
func (mr *MockConfigStoreClientMockRecorder) ListWorkloads(appName interface{}) *gomock.Call
ListWorkloads indicates an expected call of ListWorkloads.
type MockResourceGetter ¶ added in v1.16.0
type MockResourceGetter struct {
// contains filtered or unexported fields
}
MockResourceGetter is a mock of ResourceGetter interface.
func NewMockResourceGetter ¶ added in v1.16.0
func NewMockResourceGetter(ctrl *gomock.Controller) *MockResourceGetter
NewMockResourceGetter creates a new mock instance.
func (*MockResourceGetter) EXPECT ¶ added in v1.16.0
func (m *MockResourceGetter) EXPECT() *MockResourceGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceGetter) GetResourcesByTags ¶ added in v1.16.0
func (m *MockResourceGetter) GetResourcesByTags(resourceType string, tags map[string]string) ([]*resourcegroups.Resource, error)
GetResourcesByTags mocks base method.
type MockResourceGetterMockRecorder ¶ added in v1.16.0
type MockResourceGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceGetterMockRecorder is the mock recorder for MockResourceGetter.
func (*MockResourceGetterMockRecorder) GetResourcesByTags ¶ added in v1.16.0
func (mr *MockResourceGetterMockRecorder) GetResourcesByTags(resourceType, tags interface{}) *gomock.Call
GetResourcesByTags indicates an expected call of GetResourcesByTags.
type MockSessionProvider ¶ added in v1.16.0
type MockSessionProvider struct {
// contains filtered or unexported fields
}
MockSessionProvider is a mock of SessionProvider interface.
func NewMockSessionProvider ¶ added in v1.16.0
func NewMockSessionProvider(ctrl *gomock.Controller) *MockSessionProvider
NewMockSessionProvider creates a new mock instance.
func (*MockSessionProvider) EXPECT ¶ added in v1.16.0
func (m *MockSessionProvider) EXPECT() *MockSessionProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSessionProviderMockRecorder ¶ added in v1.16.0
type MockSessionProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionProviderMockRecorder is the mock recorder for MockSessionProvider.
func (*MockSessionProviderMockRecorder) FromRole ¶ added in v1.16.0
func (mr *MockSessionProviderMockRecorder) FromRole(roleARN, region interface{}) *gomock.Call
FromRole indicates an expected call of FromRole.