logical

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logical is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logical

type Logical interface {
	Read(path string) (*api.Secret, error)
	ReadWithData(path string, data map[string][]string) (*api.Secret, error)
	Write(path string, data map[string]interface{}) (*api.Secret, error)
	WriteBytes(path string, data []byte) (*api.Secret, error)
	List(path string) (*api.Secret, error)
	Unwrap(token string) (*api.Secret, error)
	Delete(path string) (*api.Secret, error)
	DeleteWithData(path string, data map[string][]string) (*api.Secret, error)
}

Logical backend interface

type MockLogical added in v0.1.12

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

MockLogical is a mock of Logical interface.

func NewMockLogical added in v0.1.12

func NewMockLogical(ctrl *gomock.Controller) *MockLogical

NewMockLogical creates a new mock instance.

func (*MockLogical) Delete added in v0.2.0

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

Delete mocks base method.

func (*MockLogical) DeleteWithData added in v0.2.0

func (m *MockLogical) DeleteWithData(arg0 string, arg1 map[string][]string) (*api.Secret, error)

DeleteWithData mocks base method.

func (*MockLogical) EXPECT added in v0.1.12

func (m *MockLogical) EXPECT() *MockLogicalMockRecorder

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

func (*MockLogical) List added in v0.1.12

func (m *MockLogical) List(arg0 string) (*api.Secret, error)

List mocks base method.

func (*MockLogical) Read added in v0.1.12

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

Read mocks base method.

func (*MockLogical) ReadWithData added in v0.1.12

func (m *MockLogical) ReadWithData(arg0 string, arg1 map[string][]string) (*api.Secret, error)

ReadWithData mocks base method.

func (*MockLogical) Unwrap added in v0.1.15

func (m *MockLogical) Unwrap(arg0 string) (*api.Secret, error)

Unwrap mocks base method.

func (*MockLogical) Write added in v0.1.12

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

Write mocks base method.

func (*MockLogical) WriteBytes added in v0.2.0

func (m *MockLogical) WriteBytes(arg0 string, arg1 []byte) (*api.Secret, error)

WriteBytes mocks base method.

type MockLogicalMockRecorder added in v0.1.12

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

MockLogicalMockRecorder is the mock recorder for MockLogical.

func (*MockLogicalMockRecorder) Delete added in v0.2.0

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

Delete indicates an expected call of Delete.

func (*MockLogicalMockRecorder) DeleteWithData added in v0.2.0

func (mr *MockLogicalMockRecorder) DeleteWithData(arg0, arg1 interface{}) *gomock.Call

DeleteWithData indicates an expected call of DeleteWithData.

func (*MockLogicalMockRecorder) List added in v0.1.12

func (mr *MockLogicalMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLogicalMockRecorder) Read added in v0.1.12

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

Read indicates an expected call of Read.

func (*MockLogicalMockRecorder) ReadWithData added in v0.1.12

func (mr *MockLogicalMockRecorder) ReadWithData(arg0, arg1 interface{}) *gomock.Call

ReadWithData indicates an expected call of ReadWithData.

func (*MockLogicalMockRecorder) Unwrap added in v0.1.15

func (mr *MockLogicalMockRecorder) Unwrap(arg0 interface{}) *gomock.Call

Unwrap indicates an expected call of Unwrap.

func (*MockLogicalMockRecorder) Write added in v0.1.12

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

Write indicates an expected call of Write.

func (*MockLogicalMockRecorder) WriteBytes added in v0.2.0

func (mr *MockLogicalMockRecorder) WriteBytes(arg0, arg1 interface{}) *gomock.Call

WriteBytes indicates an expected call of WriteBytes.

Jump to

Keyboard shortcuts

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