mocks

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

type MockresourceGetter struct {
	// contains filtered or unexported fields
}

MockresourceGetter is a mock of resourceGetter interface.

func NewMockresourceGetter

func NewMockresourceGetter(ctrl *gomock.Controller) *MockresourceGetter

NewMockresourceGetter creates a new mock instance.

func (*MockresourceGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockresourceGetter) GetResourcesByTags

func (m *MockresourceGetter) GetResourcesByTags(resourceType string, tags map[string]string) ([]*resourcegroups.Resource, error)

GetResourcesByTags mocks base method.

type MockresourceGetterMockRecorder

type MockresourceGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockresourceGetterMockRecorder is the mock recorder for MockresourceGetter.

func (*MockresourceGetterMockRecorder) GetResourcesByTags

func (mr *MockresourceGetterMockRecorder) GetResourcesByTags(resourceType, tags interface{}) *gomock.Call

GetResourcesByTags indicates an expected call of GetResourcesByTags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL