config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEditor = "vim"
View Source
const PublicKeyExtension = ".pub"
View Source
const SecretExtension = ".pgp"

Variables

This section is empty.

Functions

func GetEditor

func GetEditor() string

func GetGPG

func GetGPG() string

func GetKeepers

func GetKeepers() []string

func GetPublicKeys

func GetPublicKeys() map[string]*pgp.PublicKey

func GetSecretsRoot

func GetSecretsRoot() string

func GetTeams

func GetTeams() map[string][]string

func Init

func Init()

Types

type Permission

type Permission struct {
	Regexp      *regexp.Regexp
	Expressions []PermissionExpression
}

func GetPermissions

func GetPermissions() []Permission

type PermissionExpression

type PermissionExpression struct {
	Deny bool
	Keys []string
}

Jump to

Keyboard shortcuts

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