Documentation
¶
Index ¶
- type ModuleInstance
- type RootModule
- type Vault
- func (v *Vault) AppRoleLogin(roleid, secretid, mount string) error
- func (v *Vault) Delete(path string) (interface{}, error)
- func (v *Vault) KubernetesLogin(role, jwt, mount string) error
- func (v *Vault) List(path string) (interface{}, error)
- func (v *Vault) Read(path string) (interface{}, error)
- func (v *Vault) SetToken(token string) error
- func (v *Vault) Write(path string, body map[string]interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleInstance ¶
type ModuleInstance struct {
// contains filtered or unexported fields
}
ModuleInstance represents an instance of the JS module.
func (*ModuleInstance) Exports ¶
func (mi *ModuleInstance) Exports() modules.Exports
Exports implements the modules.Instance interface and returns the exports of the JS module.
type RootModule ¶
type RootModule struct{}
RootModule is the global module instance that will create module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
func (*Vault) AppRoleLogin ¶
Vault AppRole Login
func (*Vault) KubernetesLogin ¶
Vault Kubernetes Login
Click to show internal directories.
Click to hide internal directories.