vault

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: client.go

Generated by this command:

mockgen -destination=../mocks/vault/client.go -package=vault -source client.go

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]any) (*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 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) Read

func (mr *MockClientMockRecorder) Read(path any) *gomock.Call

Read indicates an expected call of Read.

func (*MockClientMockRecorder) Write

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