vault: github.com/hashicorp/vault/helper/kv-builder Index | Files

package kvbuilder

import "github.com/hashicorp/vault/helper/kv-builder"

Index

Package Files

builder.go

type Builder Uses

type Builder struct {
    Stdin io.Reader
    // contains filtered or unexported fields
}

Builder is a struct to build a key/value mapping based on a list of "k=v" pairs, where the value might come from stdin, a file, etc.

func (*Builder) Add Uses

func (b *Builder) Add(args ...string) error

Add adds to the mapping with the given args.

func (*Builder) Map Uses

func (b *Builder) Map() map[string]interface{}

Map returns the built map.

Package kvbuilder imports 9 packages (graph) and is imported by 23 packages. Updated 2019-04-18. Refresh now. Tools for package owners.