mocks

package
v0.0.0-...-6dcaeb9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockJujuAPIClient

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

MockJujuAPIClient is a mock of JujuAPIClient interface.

func NewMockJujuAPIClient

func NewMockJujuAPIClient(ctrl *gomock.Controller) *MockJujuAPIClient

NewMockJujuAPIClient creates a new mock instance.

func (*MockJujuAPIClient) EXPECT

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

func (*MockJujuAPIClient) GetBackendConfigForDrain

func (m *MockJujuAPIClient) GetBackendConfigForDrain(arg0 *string) (*provider.ModelBackendConfig, string, error)

GetBackendConfigForDrain mocks base method.

func (*MockJujuAPIClient) GetContentInfo

func (m *MockJujuAPIClient) GetContentInfo(arg0 *secrets.URI, arg1 string, arg2, arg3 bool) (*secrets0.ContentParams, *provider.ModelBackendConfig, bool, error)

GetContentInfo mocks base method.

func (*MockJujuAPIClient) GetRevisionContentInfo

func (m *MockJujuAPIClient) GetRevisionContentInfo(arg0 *secrets.URI, arg1 int, arg2 bool) (*secrets0.ContentParams, *provider.ModelBackendConfig, bool, error)

GetRevisionContentInfo mocks base method.

func (*MockJujuAPIClient) GetSecretBackendConfig

func (m *MockJujuAPIClient) GetSecretBackendConfig(arg0 *string) (*provider.ModelBackendConfigInfo, error)

GetSecretBackendConfig mocks base method.

type MockJujuAPIClientMockRecorder

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

MockJujuAPIClientMockRecorder is the mock recorder for MockJujuAPIClient.

func (*MockJujuAPIClientMockRecorder) GetBackendConfigForDrain

func (mr *MockJujuAPIClientMockRecorder) GetBackendConfigForDrain(arg0 any) *gomock.Call

GetBackendConfigForDrain indicates an expected call of GetBackendConfigForDrain.

func (*MockJujuAPIClientMockRecorder) GetContentInfo

func (mr *MockJujuAPIClientMockRecorder) GetContentInfo(arg0, arg1, arg2, arg3 any) *gomock.Call

GetContentInfo indicates an expected call of GetContentInfo.

func (*MockJujuAPIClientMockRecorder) GetRevisionContentInfo

func (mr *MockJujuAPIClientMockRecorder) GetRevisionContentInfo(arg0, arg1, arg2 any) *gomock.Call

GetRevisionContentInfo indicates an expected call of GetRevisionContentInfo.

func (*MockJujuAPIClientMockRecorder) GetSecretBackendConfig

func (mr *MockJujuAPIClientMockRecorder) GetSecretBackendConfig(arg0 any) *gomock.Call

GetSecretBackendConfig indicates an expected call of GetSecretBackendConfig.

type MockSecretsBackend

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

MockSecretsBackend is a mock of SecretsBackend interface.

func NewMockSecretsBackend

func NewMockSecretsBackend(ctrl *gomock.Controller) *MockSecretsBackend

NewMockSecretsBackend creates a new mock instance.

func (*MockSecretsBackend) DeleteContent

func (m *MockSecretsBackend) DeleteContent(arg0 context.Context, arg1 string) error

DeleteContent mocks base method.

func (*MockSecretsBackend) EXPECT

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

func (*MockSecretsBackend) GetContent

func (m *MockSecretsBackend) GetContent(arg0 context.Context, arg1 string) (secrets.SecretValue, error)

GetContent mocks base method.

func (*MockSecretsBackend) Ping

func (m *MockSecretsBackend) Ping() error

Ping mocks base method.

func (*MockSecretsBackend) SaveContent

func (m *MockSecretsBackend) SaveContent(arg0 context.Context, arg1 *secrets.URI, arg2 int, arg3 secrets.SecretValue) (string, error)

SaveContent mocks base method.

type MockSecretsBackendMockRecorder

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

MockSecretsBackendMockRecorder is the mock recorder for MockSecretsBackend.

func (*MockSecretsBackendMockRecorder) DeleteContent

func (mr *MockSecretsBackendMockRecorder) DeleteContent(arg0, arg1 any) *gomock.Call

DeleteContent indicates an expected call of DeleteContent.

func (*MockSecretsBackendMockRecorder) GetContent

func (mr *MockSecretsBackendMockRecorder) GetContent(arg0, arg1 any) *gomock.Call

GetContent indicates an expected call of GetContent.

func (*MockSecretsBackendMockRecorder) Ping

Ping indicates an expected call of Ping.

func (*MockSecretsBackendMockRecorder) SaveContent

func (mr *MockSecretsBackendMockRecorder) SaveContent(arg0, arg1, arg2, arg3 any) *gomock.Call

SaveContent indicates an expected call of SaveContent.

type MockSecretsState

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

MockSecretsState is a mock of SecretsState interface.

func NewMockSecretsState

func NewMockSecretsState(ctrl *gomock.Controller) *MockSecretsState

NewMockSecretsState creates a new mock instance.

func (*MockSecretsState) EXPECT

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

func (*MockSecretsState) GetSecretValue

func (m *MockSecretsState) GetSecretValue(arg0 *secrets.URI, arg1 int) (secrets.SecretValue, *secrets.ValueRef, error)

GetSecretValue mocks base method.

type MockSecretsStateMockRecorder

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

MockSecretsStateMockRecorder is the mock recorder for MockSecretsState.

func (*MockSecretsStateMockRecorder) GetSecretValue

func (mr *MockSecretsStateMockRecorder) GetSecretValue(arg0, arg1 any) *gomock.Call

GetSecretValue indicates an expected call of GetSecretValue.

Jump to

Keyboard shortcuts

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