mock_api

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

Mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *_MockClientRecorder

func (*MockClient) GetCredentials

func (_m *MockClient) GetCredentials(_param0 string) (*api.Auth, error)

func (*MockClient) GetCredentialsByRegistryID

func (_m *MockClient) GetCredentialsByRegistryID(_param0 string) (*api.Auth, error)

func (*MockClient) ListCredentials

func (_m *MockClient) ListCredentials() ([]*api.Auth, error)

type MockClientFactory

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

Mock of ClientFactory interface

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

func (*MockClientFactory) EXPECT

func (_m *MockClientFactory) EXPECT() *_MockClientFactoryRecorder

func (*MockClientFactory) NewClient

func (_m *MockClientFactory) NewClient(_param0 *session.Session, _param1 *aws.Config) api.Client

func (*MockClientFactory) NewClientFromRegion

func (_m *MockClientFactory) NewClientFromRegion(_param0 string) api.Client

func (*MockClientFactory) NewClientWithDefaults

func (_m *MockClientFactory) NewClientWithDefaults() api.Client

func (*MockClientFactory) NewClientWithFipsEndpoint added in v0.2.0

func (_m *MockClientFactory) NewClientWithFipsEndpoint(_param0 string) (api.Client, error)

func (*MockClientFactory) NewClientWithOptions

func (_m *MockClientFactory) NewClientWithOptions(_param0 api.Options) api.Client

Jump to

Keyboard shortcuts

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