Documentation
¶
Overview ¶
Package vaultapitest contains autogenerated mocks.
Index ¶
- type Client
- func (mockerySelf *Client) AccessorCapabilities(path string, accessor string) ([]string, error)
- func (mockerySelf *Client) CreateToken(opts vaultapi.TokenOptions) (vaultapi.CreatedToken, error)
- func (mockerySelf *Client) CreateTokenRole(data vaultapi.TokenRoleOptions) error
- func (mockerySelf *Client) Delete(path string) error
- func (mockerySelf *Client) DeletePolicy(name string) error
- func (mockerySelf *Client) DeleteTokenRole(name string) error
- func (mockerySelf *Client) Get(path string) (string, error)
- func (mockerySelf *Client) GetPolicy(name string) (string, error)
- func (mockerySelf *Client) Health() (vaultapi.Health, error)
- func (mockerySelf *Client) Keys(path string) ([]string, error)
- func (mockerySelf *Client) Leader() (vaultapi.Leader, error)
- func (mockerySelf *Client) ListMounts() (vaultapi.Mounts, error)
- func (mockerySelf *Client) ListPolicies() ([]string, error)
- func (mockerySelf *Client) ListTokenRoles() ([]string, error)
- func (mockerySelf *Client) LookupLease(id string) (vaultapi.Lease, error)
- func (mockerySelf *Client) LookupSelfToken() (vaultapi.LookedUpToken, error)
- func (mockerySelf *Client) LookupToken(id string) (vaultapi.LookedUpToken, error)
- func (mockerySelf *Client) LookupTokenRole(name string) (vaultapi.LookedUpTokenRole, error)
- func (mockerySelf *Client) Put(path string, value string) error
- func (mockerySelf *Client) RenewSelfToken(increment time.Duration) (vaultapi.RenewedToken, error)
- func (mockerySelf *Client) RenewToken(id string, increment time.Duration) (vaultapi.RenewedToken, error)
- func (mockerySelf *Client) SealStatus() (vaultapi.SealStatus, error)
- func (mockerySelf *Client) SelfCapabilities(path string) ([]string, error)
- func (mockerySelf *Client) SetPolicy(name string, content string) error
- func (mockerySelf *Client) StepDown() error
- func (mockerySelf *Client) TokenCapabilities(path string, token string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AccessorCapabilities ¶
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) DeletePolicy ¶
DeletePolicy provides a mock function with given fields: name
func (*Client) DeleteTokenRole ¶
DeleteTokenRole provides a mock function with given fields: name
func (*Client) ListMounts ¶
ListMounts provides a mock function with given fields:
func (*Client) ListPolicies ¶
ListPolicies provides a mock function with given fields:
func (*Client) ListTokenRoles ¶
ListTokenRoles provides a mock function with given fields:
func (*Client) LookupLease ¶
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) RenewSelfToken ¶
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 ¶
SelfCapabilities provides a mock function with given fields: path