fake

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVaultClient

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

MockVaultClient is a mock of VaultClient interface.

func NewMockVaultClient

func NewMockVaultClient(ctrl *gomock.Controller) *MockVaultClient

NewMockVaultClient creates a new mock instance.

func (*MockVaultClient) EXPECT

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

func (*MockVaultClient) Logical added in v0.2.0

Logical mocks base method.

func (*MockVaultClient) Sys

Sys mocks base method.

type MockVaultClientMockRecorder

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

MockVaultClientMockRecorder is the mock recorder for MockVaultClient.

func (*MockVaultClientMockRecorder) Logical added in v0.2.0

func (mr *MockVaultClientMockRecorder) Logical() *gomock.Call

Logical indicates an expected call of Logical.

func (*MockVaultClientMockRecorder) Sys

Sys indicates an expected call of Sys.

type MockVaultLogicalClient added in v0.2.0

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

MockVaultLogicalClient is a mock of VaultLogicalClient interface.

func NewMockVaultLogicalClient added in v0.2.0

func NewMockVaultLogicalClient(ctrl *gomock.Controller) *MockVaultLogicalClient

NewMockVaultLogicalClient creates a new mock instance.

func (*MockVaultLogicalClient) Delete added in v0.2.0

func (m *MockVaultLogicalClient) Delete(arg0 string) (*api.Secret, error)

Delete mocks base method.

func (*MockVaultLogicalClient) EXPECT added in v0.2.0

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

func (*MockVaultLogicalClient) Read added in v0.2.0

func (m *MockVaultLogicalClient) Read(arg0 string) (*api.Secret, error)

Read mocks base method.

func (*MockVaultLogicalClient) Write added in v0.2.0

func (m *MockVaultLogicalClient) Write(arg0 string, arg1 map[string]interface{}) (*api.Secret, error)

Write mocks base method.

type MockVaultLogicalClientMockRecorder added in v0.2.0

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

MockVaultLogicalClientMockRecorder is the mock recorder for MockVaultLogicalClient.

func (*MockVaultLogicalClientMockRecorder) Delete added in v0.2.0

func (mr *MockVaultLogicalClientMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVaultLogicalClientMockRecorder) Read added in v0.2.0

func (mr *MockVaultLogicalClientMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockVaultLogicalClientMockRecorder) Write added in v0.2.0

func (mr *MockVaultLogicalClientMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockVaultSysClient

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

MockVaultSysClient is a mock of VaultSysClient interface.

func NewMockVaultSysClient

func NewMockVaultSysClient(ctrl *gomock.Controller) *MockVaultSysClient

NewMockVaultSysClient creates a new mock instance.

func (*MockVaultSysClient) DeletePolicy

func (m *MockVaultSysClient) DeletePolicy(arg0 string) error

DeletePolicy mocks base method.

func (*MockVaultSysClient) EXPECT

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

func (*MockVaultSysClient) GetPolicy

func (m *MockVaultSysClient) GetPolicy(arg0 string) (string, error)

GetPolicy mocks base method.

func (*MockVaultSysClient) PutPolicy

func (m *MockVaultSysClient) PutPolicy(arg0, arg1 string) error

PutPolicy mocks base method.

type MockVaultSysClientMockRecorder

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

MockVaultSysClientMockRecorder is the mock recorder for MockVaultSysClient.

func (*MockVaultSysClientMockRecorder) DeletePolicy

func (mr *MockVaultSysClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call

DeletePolicy indicates an expected call of DeletePolicy.

func (*MockVaultSysClientMockRecorder) GetPolicy

func (mr *MockVaultSysClientMockRecorder) GetPolicy(arg0 interface{}) *gomock.Call

GetPolicy indicates an expected call of GetPolicy.

func (*MockVaultSysClientMockRecorder) PutPolicy

func (mr *MockVaultSysClientMockRecorder) PutPolicy(arg0, arg1 interface{}) *gomock.Call

PutPolicy indicates an expected call of PutPolicy.

Jump to

Keyboard shortcuts

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