editor

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortPropertyValues

func SortPropertyValues(pvs []PropertyValue)

SortPropertyValues sorts the property values in property name order

Types

type Interface

type Interface interface {
	Write(properties KeyProperties) error
}

Interface an editor of a secret

type KeyProperties

type KeyProperties struct {
	Key        string
	Properties []PropertyValue
}

KeyProperties to specify a set of properties to populate

func (*KeyProperties) String

func (p *KeyProperties) String() string

String returns a string representation

type PropertyValue

type PropertyValue struct {
	Property string
	Value    string
}

SecretProperty the property to edit

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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