mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultAPIWrapper

type VaultAPIWrapper struct {
	mock.Mock
}

VaultAPIWrapper is an autogenerated mock type for the VaultAPIWrapper type

func (*VaultAPIWrapper) GetPlugin

func (_m *VaultAPIWrapper) GetPlugin(input *api.GetPluginInput) (*api.GetPluginResponse, error)

GetPlugin provides a mock function with given fields: input

func (*VaultAPIWrapper) ListMounts

func (_m *VaultAPIWrapper) ListMounts() (map[string]*api.MountOutput, error)

ListMounts provides a mock function with given fields:

func (*VaultAPIWrapper) Mount

func (_m *VaultAPIWrapper) Mount(path string, input *api.MountInput) error

Mount provides a mock function with given fields: path, input

func (*VaultAPIWrapper) Read

func (_m *VaultAPIWrapper) Read(path string) (map[string]interface{}, error)

Read provides a mock function with given fields: path

func (*VaultAPIWrapper) RegisterPlugin

func (_m *VaultAPIWrapper) RegisterPlugin(input *api.RegisterPluginInput) error

RegisterPlugin provides a mock function with given fields: input

func (*VaultAPIWrapper) ReloadPlugin

func (_m *VaultAPIWrapper) ReloadPlugin(input *api.ReloadPluginInput) (string, error)

ReloadPlugin provides a mock function with given fields: input

func (*VaultAPIWrapper) SetAddress

func (_m *VaultAPIWrapper) SetAddress(address string) error

SetAddress provides a mock function with given fields: address

func (*VaultAPIWrapper) SetToken

func (_m *VaultAPIWrapper) SetToken(token string)

SetToken provides a mock function with given fields: token

func (*VaultAPIWrapper) Write

func (_m *VaultAPIWrapper) Write(path string, data map[string]interface{}) (map[string]interface{}, error)

Write provides a mock function with given fields: path, data

Jump to

Keyboard shortcuts

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