edit

package
v0.0.115 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 18 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
	Input         input.Interface
	Results       []*secretfacade.SecretPair
	CommandRunner 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 added in v0.0.61

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

DataToEdit returns the properties to edit

func (*Options) Matches added in v0.0.61

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