plugin

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Plugin)

func WithLogger

func WithLogger(l logger.Logger) Option

func WithSecretPath

func WithSecretPath(path string) Option

func WithVaultAddr

func WithVaultAddr(addr string) Option

func WithVaultRoleID

func WithVaultRoleID(roleID string) Option

func WithVaultSecretID

func WithVaultSecretID(secretID string) Option

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin is a drone plugin

func New

func New(options ...Option) (*Plugin, error)

func (*Plugin) Find

func (p *Plugin) Find(ctx context.Context, secReq *secret.Request) (s *drone.Secret, err error)

Find is Drones Secret handler

Jump to

Keyboard shortcuts

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