vault

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Overview

package vault implements "vault" built-in package to access Vault API from an addon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *vault.Client, dryRun bool) *isopod.Module

New returns a new skaylark.HasAttrs object for vault package.

func NewFake

func NewFake() (m starlark.HasAttrs, closeFn func(), err error)

NewFake returns a new fake vault module for testing.

func NewFakeWithServer

func NewFakeWithServer(s *httptest.Server, dryRun bool) (*isopod.Module, error)

NewFakeWithServer returns a new fake vault module that uses s as its HTTP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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