secrets

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extend added in v0.8.5

func Extend(base model.SecretService, with Plugin) model.SecretService

Extend exetends the base secret service with the plugin.

func New

New returns a new local secret service.

func NewDefault added in v0.8.5

func NewDefault(store store.Store) model.SecretService

NewDefault returns the Store wrapped as a Service.

Types

type Plugin added in v0.8.5

type Plugin interface {
	SecretListBuild(*model.Repo, *model.Build) ([]*model.Secret, error)
}

Plugin defines the required interface for implementing a remote secret plugin and sourcing secrets from an external source.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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