vault

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package vault 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) Address

func (m *MockClient) Address() string

Address mocks base method.

func (*MockClient) Delete

func (m *MockClient) Delete(path string) (*api.Secret, error)

Delete 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) Read

func (m *MockClient) Read(path string) (*api.Secret, error)

Read mocks base method.

func (*MockClient) Write

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

Write mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Address

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

Address indicates an expected call of Address.

func (*MockClientMockRecorder) Delete

func (mr *MockClientMockRecorder) Delete(path interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) Read

func (mr *MockClientMockRecorder) Read(path interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockClientMockRecorder) Write

func (mr *MockClientMockRecorder) Write(path, data 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