secrets

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extend

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

func NewDefault(store store.Store) model.SecretService

NewDefault returns the Store wrapped as a Service.

Types

type Plugin

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