secrets

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Get

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

Get manages the getting execution context.

func NewGet

func NewGet(p getPrimeable) *Get

NewGet prepares a get execution context for use.

func (*Get) Run

func (g *Get) Run(params GetRunParams) error

Run executes the get behavior.

type GetRunParams

type GetRunParams struct {
	Name string
}

GetRunParams tracks the info required for running Get.

type List

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

List manages the listing execution context.

func NewList

func NewList(client *secretsapi.Client, p listPrimeable) *List

NewList prepares a list execution context for use.

func (*List) Run

func (l *List) Run(params ListRunParams) error

Run executes the list behavior.

type ListRunParams

type ListRunParams struct {
	Filter string
}

ListRunParams tracks the info required for running List.

type SecretExport

type SecretExport struct {
	Name        string `json:"name"`
	Scope       string `json:"scope"`
	Description string `json:"description"`
	HasValue    bool   `json:"has_value"`
	Value       string `json:"value,omitempty"`
}

SecretExport defines important information about a secret that should be displayed.

type Set

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

Set manages the setting execution context.

func NewSet

func NewSet(p setPrimeable) *Set

NewSet prepares a set execution context for use.

func (*Set) Run

func (s *Set) Run(params SetRunParams) error

Run executes the set behavior.

type SetRunParams

type SetRunParams struct {
	Name  string
	Value string
}

SetRunParams tracks the info required for running Set.

type Sync

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

Sync manages the synchronization execution context.

func NewSync

func NewSync(client *secretsapi.Client, p syncPrimeable) *Sync

NewSync prepares a sync execution context for use.

func (*Sync) Run

func (s *Sync) Run() error

Run executes the sync behavior.

Jump to

Keyboard shortcuts

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