share

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetTask

type GetTask struct {
	OutputWriter   tasks.WriterProvider
	BackendPrefix  string
	VaultNamespace string
	Token          string
}

GetTask implements secret sharing via Vault Cubbyhole.

func (*GetTask) Run

func (t *GetTask) Run(ctx context.Context) error

Run the task.

type PutTask

type PutTask struct {
	InputReader    tasks.ReaderProvider
	OutputWriter   tasks.WriterProvider
	BackendPrefix  string
	TTL            time.Duration
	VaultNamespace string
	JSONOutput     bool
}

PutTask implements secret sharing via Vault Cubbyhole.

func (*PutTask) Run

func (t *PutTask) Run(ctx context.Context) error

Run the task.

Jump to

Keyboard shortcuts

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