mocks

package
v0.1.3-alpha 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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultAPIClient

type VaultAPIClient struct {
	mock.Mock
}

VaultAPIClient is an autogenerated mock type for the VaultAPIClient type

func (*VaultAPIClient) GetMountPluginName

func (_m *VaultAPIClient) GetMountPluginName(path string) (string, error)

GetMountPluginName provides a mock function with given fields: path

func (*VaultAPIClient) GetPlugin

func (_m *VaultAPIClient) GetPlugin(name string) (map[string]interface{}, error)

GetPlugin provides a mock function with given fields: name

func (*VaultAPIClient) GetPluginDir

func (_m *VaultAPIClient) GetPluginDir() (string, error)

GetPluginDir provides a mock function with given fields:

func (*VaultAPIClient) GetVaultConfig

func (_m *VaultAPIClient) GetVaultConfig() (map[string]interface{}, error)

GetVaultConfig provides a mock function with given fields:

func (*VaultAPIClient) IsMLockDisabled

func (_m *VaultAPIClient) IsMLockDisabled() (bool, error)

IsMLockDisabled provides a mock function with given fields:

func (*VaultAPIClient) MountPlugin

func (_m *VaultAPIClient) MountPlugin(name string, path string) error

MountPlugin provides a mock function with given fields: name, path

func (*VaultAPIClient) ReadValue

func (_m *VaultAPIClient) ReadValue(path string) (map[string]interface{}, error)

ReadValue provides a mock function with given fields: path

func (*VaultAPIClient) RegisterPlugin

func (_m *VaultAPIClient) RegisterPlugin(name string, command string, sha string) error

RegisterPlugin provides a mock function with given fields: name, command, sha

func (*VaultAPIClient) ReloadPlugin

func (_m *VaultAPIClient) ReloadPlugin(name string) error

ReloadPlugin provides a mock function with given fields: name

func (*VaultAPIClient) WriteValue

func (_m *VaultAPIClient) WriteValue(path string, value map[string]interface{}) (map[string]interface{}, error)

WriteValue provides a mock function with given fields: path, value

Jump to

Keyboard shortcuts

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