editor

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 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
	// optional GCP project ID where secrets manager is running
	GCPProject string
}

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
	Name     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