resource

package
v0.0.0-...-d6eafa4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

Resource - the vault resource

func New

func New(
	workDir string,
	config models.Request,
	logger zerolog.Logger,
) (*Resource, error)

New - returns a vault client for interaction with the vault API

func (Resource) Check

func (r Resource) Check() []models.Version

Check - checks vault for new secret version

func (*Resource) In

func (r *Resource) In() error

In - executes the resource

type Vault

type Vault interface {
	Check() []models.Version
	In() error
}

Vault - the vault resource interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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