client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

The Client package contains interfaces that mimic numerous Vault API types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultLogicalClient

type VaultLogicalClient interface {
	Read(string) (*api.Secret, error)
	Delete(string) (*api.Secret, error)
}

VaultLogicalClient is an interface that matches with the Vault [Logical Client](https://pkg.go.dev/github.com/hashicorp/vault/api#Logical) API type.

type VaultSysClient

type VaultSysClient interface {
	Mount(string, *api.MountInput) error
}

VaultSysClient is an interface that matches with the Vault [Sys Client](https://pkg.go.dev/github.com/hashicorp/vault/api#Sys) API type.

Jump to

Keyboard shortcuts

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