logical

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 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)
	List(path string) (*api.Secret, error)
	Unwrap(token 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) 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.

type MockLogicalMockRecorder added in v0.1.12

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

MockLogicalMockRecorder is the mock recorder for MockLogical.

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.

Jump to

Keyboard shortcuts

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