edit

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	secretfacade.Options
	Filter               string
	Interactive          bool
	InteractiveMultiple  bool
	InteractiveSelectAll bool
	ExternalVault        string
	Input                input.Interface
	Results              []*secretfacade.SecretPair
	CommandRunner        cmdrunner.CommandRunner
	QuietCommandRunner   cmdrunner.CommandRunner
}

Options the options for the command

func NewCmdEdit

func NewCmdEdit() (*cobra.Command, *Options)

NewCmdEdit creates a command object for the command

func (*Options) DataToEdit

func (o *Options) DataToEdit(r *secretfacade.SecretPair) []v1.Data

DataToEdit returns the properties to edit

func (*Options) Matches

func (o *Options) Matches(r *secretfacade.SecretPair) bool

Matches returns true if the secret matches the current filter If no filter then just filter out mandatory properties only?

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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