mocks

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 3 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 MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) CreateKey

func (m *MockClient) CreateKey(data map[string]interface{}) (*api.Secret, error)

CreateKey mocks base method

func (*MockClient) DeleteSecret

func (m *MockClient) DeleteSecret(id string, data map[string][]string) error

DeleteSecret mocks base method

func (*MockClient) DestroyKey

func (m *MockClient) DestroyKey(id string) error

DestroyKey mocks base method

func (*MockClient) DestroySecret

func (m *MockClient) DestroySecret(id string, data map[string][]string) error

DestroySecret mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetKey

func (m *MockClient) GetKey(id string) (*api.Secret, error)

GetKey mocks base method

func (*MockClient) HealthCheck

func (m *MockClient) HealthCheck() error

HealthCheck mocks base method

func (*MockClient) ImportKey

func (m *MockClient) ImportKey(data map[string]interface{}) (*api.Secret, error)

ImportKey mocks base method

func (*MockClient) ListKeys

func (m *MockClient) ListKeys() (*api.Secret, error)

ListKeys mocks base method

func (*MockClient) ListSecrets

func (m *MockClient) ListSecrets() (*api.Secret, error)

ListSecrets mocks base method

func (*MockClient) Mount

func (m *MockClient) Mount(path string, mountInfo *api.MountInput) error

Mount mocks base method

func (*MockClient) ReadData

func (m *MockClient) ReadData(id string, data map[string][]string) (*api.Secret, error)

ReadData mocks base method

func (*MockClient) ReadMetadata

func (m *MockClient) ReadMetadata(id string) (*api.Secret, error)

ReadMetadata mocks base method

func (*MockClient) RestoreSecret

func (m *MockClient) RestoreSecret(id string, data map[string][]string) error

RestoreSecret mocks base method

func (*MockClient) SetSecret

func (m *MockClient) SetSecret(id string, data map[string]interface{}) (*api.Secret, error)

SetSecret mocks base method

func (*MockClient) SetToken

func (m *MockClient) SetToken(token string)

SetToken mocks base method

func (*MockClient) Sign

func (m *MockClient) Sign(id string, data []byte) (*api.Secret, error)

Sign mocks base method

func (*MockClient) UnwrapToken

func (m *MockClient) UnwrapToken(token string) (*api.Secret, error)

UnwrapToken mocks base method

func (*MockClient) UpdateKey

func (m *MockClient) UpdateKey(id string, data map[string]interface{}) (*api.Secret, error)

UpdateKey mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) CreateKey

func (mr *MockClientMockRecorder) CreateKey(data interface{}) *gomock.Call

CreateKey indicates an expected call of CreateKey

func (*MockClientMockRecorder) DeleteSecret

func (mr *MockClientMockRecorder) DeleteSecret(id, data interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockClientMockRecorder) DestroyKey

func (mr *MockClientMockRecorder) DestroyKey(id interface{}) *gomock.Call

DestroyKey indicates an expected call of DestroyKey

func (*MockClientMockRecorder) DestroySecret

func (mr *MockClientMockRecorder) DestroySecret(id, data interface{}) *gomock.Call

DestroySecret indicates an expected call of DestroySecret

func (*MockClientMockRecorder) GetKey

func (mr *MockClientMockRecorder) GetKey(id interface{}) *gomock.Call

GetKey indicates an expected call of GetKey

func (*MockClientMockRecorder) HealthCheck

func (mr *MockClientMockRecorder) HealthCheck() *gomock.Call

HealthCheck indicates an expected call of HealthCheck

func (*MockClientMockRecorder) ImportKey

func (mr *MockClientMockRecorder) ImportKey(data interface{}) *gomock.Call

ImportKey indicates an expected call of ImportKey

func (*MockClientMockRecorder) ListKeys

func (mr *MockClientMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys

func (*MockClientMockRecorder) ListSecrets

func (mr *MockClientMockRecorder) ListSecrets() *gomock.Call

ListSecrets indicates an expected call of ListSecrets

func (*MockClientMockRecorder) Mount

func (mr *MockClientMockRecorder) Mount(path, mountInfo interface{}) *gomock.Call

Mount indicates an expected call of Mount

func (*MockClientMockRecorder) ReadData

func (mr *MockClientMockRecorder) ReadData(id, data interface{}) *gomock.Call

ReadData indicates an expected call of ReadData

func (*MockClientMockRecorder) ReadMetadata

func (mr *MockClientMockRecorder) ReadMetadata(id interface{}) *gomock.Call

ReadMetadata indicates an expected call of ReadMetadata

func (*MockClientMockRecorder) RestoreSecret

func (mr *MockClientMockRecorder) RestoreSecret(id, data interface{}) *gomock.Call

RestoreSecret indicates an expected call of RestoreSecret

func (*MockClientMockRecorder) SetSecret

func (mr *MockClientMockRecorder) SetSecret(id, data interface{}) *gomock.Call

SetSecret indicates an expected call of SetSecret

func (*MockClientMockRecorder) SetToken

func (mr *MockClientMockRecorder) SetToken(token interface{}) *gomock.Call

SetToken indicates an expected call of SetToken

func (*MockClientMockRecorder) Sign

func (mr *MockClientMockRecorder) Sign(id, data interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockClientMockRecorder) UnwrapToken

func (mr *MockClientMockRecorder) UnwrapToken(token interface{}) *gomock.Call

UnwrapToken indicates an expected call of UnwrapToken

func (*MockClientMockRecorder) UpdateKey

func (mr *MockClientMockRecorder) UpdateKey(id, data interface{}) *gomock.Call

UpdateKey indicates an expected call of UpdateKey

type MockKvv2Client

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

MockKvv2Client is a mock of Kvv2Client interface

func NewMockKvv2Client

func NewMockKvv2Client(ctrl *gomock.Controller) *MockKvv2Client

NewMockKvv2Client creates a new mock instance

func (*MockKvv2Client) DeleteSecret

func (m *MockKvv2Client) DeleteSecret(id string, data map[string][]string) error

DeleteSecret mocks base method

func (*MockKvv2Client) DestroySecret

func (m *MockKvv2Client) DestroySecret(id string, data map[string][]string) error

DestroySecret mocks base method

func (*MockKvv2Client) EXPECT

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

func (*MockKvv2Client) ListSecrets

func (m *MockKvv2Client) ListSecrets() (*api.Secret, error)

ListSecrets mocks base method

func (*MockKvv2Client) ReadData

func (m *MockKvv2Client) ReadData(id string, data map[string][]string) (*api.Secret, error)

ReadData mocks base method

func (*MockKvv2Client) ReadMetadata

func (m *MockKvv2Client) ReadMetadata(id string) (*api.Secret, error)

ReadMetadata mocks base method

func (*MockKvv2Client) RestoreSecret

func (m *MockKvv2Client) RestoreSecret(id string, data map[string][]string) error

RestoreSecret mocks base method

func (*MockKvv2Client) SetSecret

func (m *MockKvv2Client) SetSecret(id string, data map[string]interface{}) (*api.Secret, error)

SetSecret mocks base method

type MockKvv2ClientMockRecorder

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

MockKvv2ClientMockRecorder is the mock recorder for MockKvv2Client

func (*MockKvv2ClientMockRecorder) DeleteSecret

func (mr *MockKvv2ClientMockRecorder) DeleteSecret(id, data interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockKvv2ClientMockRecorder) DestroySecret

func (mr *MockKvv2ClientMockRecorder) DestroySecret(id, data interface{}) *gomock.Call

DestroySecret indicates an expected call of DestroySecret

func (*MockKvv2ClientMockRecorder) ListSecrets

func (mr *MockKvv2ClientMockRecorder) ListSecrets() *gomock.Call

ListSecrets indicates an expected call of ListSecrets

func (*MockKvv2ClientMockRecorder) ReadData

func (mr *MockKvv2ClientMockRecorder) ReadData(id, data interface{}) *gomock.Call

ReadData indicates an expected call of ReadData

func (*MockKvv2ClientMockRecorder) ReadMetadata

func (mr *MockKvv2ClientMockRecorder) ReadMetadata(id interface{}) *gomock.Call

ReadMetadata indicates an expected call of ReadMetadata

func (*MockKvv2ClientMockRecorder) RestoreSecret

func (mr *MockKvv2ClientMockRecorder) RestoreSecret(id, data interface{}) *gomock.Call

RestoreSecret indicates an expected call of RestoreSecret

func (*MockKvv2ClientMockRecorder) SetSecret

func (mr *MockKvv2ClientMockRecorder) SetSecret(id, data interface{}) *gomock.Call

SetSecret indicates an expected call of SetSecret

type MockPluginClient

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

MockPluginClient is a mock of PluginClient interface

func NewMockPluginClient

func NewMockPluginClient(ctrl *gomock.Controller) *MockPluginClient

NewMockPluginClient creates a new mock instance

func (*MockPluginClient) CreateKey

func (m *MockPluginClient) CreateKey(data map[string]interface{}) (*api.Secret, error)

CreateKey mocks base method

func (*MockPluginClient) DestroyKey

func (m *MockPluginClient) DestroyKey(id string) error

DestroyKey mocks base method

func (*MockPluginClient) EXPECT

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

func (*MockPluginClient) GetKey

func (m *MockPluginClient) GetKey(id string) (*api.Secret, error)

GetKey mocks base method

func (*MockPluginClient) ImportKey

func (m *MockPluginClient) ImportKey(data map[string]interface{}) (*api.Secret, error)

ImportKey mocks base method

func (*MockPluginClient) ListKeys

func (m *MockPluginClient) ListKeys() (*api.Secret, error)

ListKeys mocks base method

func (*MockPluginClient) Sign

func (m *MockPluginClient) Sign(id string, data []byte) (*api.Secret, error)

Sign mocks base method

func (*MockPluginClient) UpdateKey

func (m *MockPluginClient) UpdateKey(id string, data map[string]interface{}) (*api.Secret, error)

UpdateKey mocks base method

type MockPluginClientMockRecorder

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

MockPluginClientMockRecorder is the mock recorder for MockPluginClient

func (*MockPluginClientMockRecorder) CreateKey

func (mr *MockPluginClientMockRecorder) CreateKey(data interface{}) *gomock.Call

CreateKey indicates an expected call of CreateKey

func (*MockPluginClientMockRecorder) DestroyKey

func (mr *MockPluginClientMockRecorder) DestroyKey(id interface{}) *gomock.Call

DestroyKey indicates an expected call of DestroyKey

func (*MockPluginClientMockRecorder) GetKey

func (mr *MockPluginClientMockRecorder) GetKey(id interface{}) *gomock.Call

GetKey indicates an expected call of GetKey

func (*MockPluginClientMockRecorder) ImportKey

func (mr *MockPluginClientMockRecorder) ImportKey(data interface{}) *gomock.Call

ImportKey indicates an expected call of ImportKey

func (*MockPluginClientMockRecorder) ListKeys

func (mr *MockPluginClientMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys

func (*MockPluginClientMockRecorder) Sign

func (mr *MockPluginClientMockRecorder) Sign(id, data interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockPluginClientMockRecorder) UpdateKey

func (mr *MockPluginClientMockRecorder) UpdateKey(id, data interface{}) *gomock.Call

UpdateKey indicates an expected call of UpdateKey

Jump to

Keyboard shortcuts

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