vaultapitest

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package vaultapitest contains autogenerated mocks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) AccessorCapabilities

func (mockerySelf *Client) AccessorCapabilities(path string, accessor string) ([]string, error)

AccessorCapabilities provides a mock function with given fields: path, accessor

func (*Client) CreateToken

func (mockerySelf *Client) CreateToken(opts vaultapi.TokenOptions) (vaultapi.CreatedToken, error)

CreateToken provides a mock function with given fields: opts

func (*Client) CreateTokenRole

func (mockerySelf *Client) CreateTokenRole(data vaultapi.TokenRoleOptions) error

CreateTokenRole provides a mock function with given fields: data

func (*Client) Delete

func (mockerySelf *Client) Delete(path string) error

Delete provides a mock function with given fields: path

func (*Client) DeletePolicy

func (mockerySelf *Client) DeletePolicy(name string) error

DeletePolicy provides a mock function with given fields: name

func (*Client) DeleteTokenRole

func (mockerySelf *Client) DeleteTokenRole(name string) error

DeleteTokenRole provides a mock function with given fields: name

func (*Client) Get

func (mockerySelf *Client) Get(path string) (string, error)

Get provides a mock function with given fields: path

func (*Client) GetPolicy

func (mockerySelf *Client) GetPolicy(name string) (string, error)

GetPolicy provides a mock function with given fields: name

func (*Client) Health

func (mockerySelf *Client) Health() (vaultapi.Health, error)

Health provides a mock function with given fields:

func (*Client) Keys

func (mockerySelf *Client) Keys(path string) ([]string, error)

Keys provides a mock function with given fields: path

func (*Client) Leader

func (mockerySelf *Client) Leader() (vaultapi.Leader, error)

Leader provides a mock function with given fields:

func (*Client) ListMounts

func (mockerySelf *Client) ListMounts() (vaultapi.Mounts, error)

ListMounts provides a mock function with given fields:

func (*Client) ListPolicies

func (mockerySelf *Client) ListPolicies() ([]string, error)

ListPolicies provides a mock function with given fields:

func (*Client) ListTokenRoles

func (mockerySelf *Client) ListTokenRoles() ([]string, error)

ListTokenRoles provides a mock function with given fields:

func (*Client) LookupLease

func (mockerySelf *Client) LookupLease(id string) (vaultapi.Lease, error)

LookupLease provides a mock function with given fields: id

func (*Client) LookupSelfToken

func (mockerySelf *Client) LookupSelfToken() (vaultapi.LookedUpToken, error)

LookupSelfToken provides a mock function with given fields:

func (*Client) LookupToken

func (mockerySelf *Client) LookupToken(id string) (vaultapi.LookedUpToken, error)

LookupToken provides a mock function with given fields: id

func (*Client) LookupTokenRole

func (mockerySelf *Client) LookupTokenRole(name string) (vaultapi.LookedUpTokenRole, error)

LookupTokenRole provides a mock function with given fields: name

func (*Client) Put

func (mockerySelf *Client) Put(path string, value string) error

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

func (*Client) RenewSelfToken

func (mockerySelf *Client) RenewSelfToken(increment time.Duration) (vaultapi.RenewedToken, error)

RenewSelfToken provides a mock function with given fields: increment

func (*Client) RenewToken

func (mockerySelf *Client) RenewToken(id string, increment time.Duration) (vaultapi.RenewedToken, error)

RenewToken provides a mock function with given fields: id, increment

func (*Client) SealStatus

func (mockerySelf *Client) SealStatus() (vaultapi.SealStatus, error)

SealStatus provides a mock function with given fields:

func (*Client) SelfCapabilities

func (mockerySelf *Client) SelfCapabilities(path string) ([]string, error)

SelfCapabilities provides a mock function with given fields: path

func (*Client) SetPolicy

func (mockerySelf *Client) SetPolicy(name string, content string) error

SetPolicy provides a mock function with given fields: name, content

func (*Client) StepDown

func (mockerySelf *Client) StepDown() error

StepDown provides a mock function with given fields:

func (*Client) TokenCapabilities

func (mockerySelf *Client) TokenCapabilities(path string, token string) ([]string, error)

TokenCapabilities provides a mock function with given fields: path, token

Jump to

Keyboard shortcuts

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