config

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEditor = "vim"
View Source
const HookExtension = ".hook"
View Source
const PublicKeyExtension = ".pub"
View Source
const SecretExtension = ".secret"
View Source
const TemplateSchemaExtension = ".schema"
View Source
const TemplateSkeletonExtension = ".skeleton"

Variables

This section is empty.

Functions

func GetEditor

func GetEditor() string

func GetGPG

func GetGPG() string

func GetGPGConnectAgent added in v0.3.2

func GetGPGConnectAgent() string

func GetHooks added in v0.3.1

func GetHooks() map[string]Hook

func GetIdentity added in v0.3.4

func GetIdentity() *pgp.PublicKey

func GetKeepers

func GetKeepers() []*pgp.PublicKey

func GetPrivateKey added in v0.3.2

func GetPrivateKey() *pgp.PrivateKey

func GetPublicKeys

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

func GetRevision added in v0.2.0

func GetRevision() string

func GetRoot added in v0.3.1

func GetRoot() string

func GetSecretsRoot

func GetSecretsRoot() string

func GetTags added in v0.3.7

func GetTags() *gojsonschema.Schema

func GetTeams

func GetTeams() map[string]Team

func GetTemplates added in v0.3.0

func GetTemplates() map[string]*Template

func GetVersion added in v0.2.0

func GetVersion() string

func Init

func Init(file string)

Types

type Hook added in v0.3.1

type Hook struct {
	Alias string
	Path  string
}

type PermissionExpression

type PermissionExpression struct {
	Deny bool
	Keys []*pgp.PublicKey
}

type PermissionRule added in v0.3.0

type PermissionRule struct {
	Query       query.Query
	Expressions []PermissionExpression
}

func GetPermissionRules added in v0.3.0

func GetPermissionRules() []PermissionRule

type Team added in v0.3.0

type Team struct {
	Alias string
	Keys  []*pgp.PublicKey
}

type Template added in v0.3.0

type Template struct {
	Alias    string
	Schema   *gojsonschema.Schema
	Skeleton []byte
}

type TemplateRule added in v0.3.0

type TemplateRule struct {
	Query    query.Query
	Template *Template
}

func GetTemplateRules added in v0.3.0

func GetTemplateRules() []TemplateRule

Jump to

Keyboard shortcuts

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