plugin

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const EnvReattachProviders = "TF_REATTACH_PROVIDERS"

Variables

This section is empty.

Functions

This section is empty.

Types

type BitwardenHolder

type BitwardenHolder interface {
	Bitwarden() (*bitwarden.Bitwarden, error)
}

type Logger

type Logger struct {
	log.Logger
}

func (*Logger) Debug

func (this *Logger) Debug(msg string, args ...interface{})

func (*Logger) Error

func (this *Logger) Error(msg string, args ...interface{})

func (*Logger) GetLevel added in v0.1.3

func (this *Logger) GetLevel() hclog.Level

func (*Logger) ImpliedArgs

func (this *Logger) ImpliedArgs() []interface{}

func (*Logger) Info

func (this *Logger) Info(msg string, args ...interface{})

func (*Logger) IsDebug

func (this *Logger) IsDebug() bool

func (*Logger) IsError

func (this *Logger) IsError() bool

func (*Logger) IsInfo

func (this *Logger) IsInfo() bool

func (*Logger) IsTrace

func (this *Logger) IsTrace() bool

func (*Logger) IsWarn

func (this *Logger) IsWarn() bool

func (*Logger) Log

func (this *Logger) Log(level hclog.Level, msg string, args ...interface{})

func (*Logger) Name

func (this *Logger) Name() string

func (*Logger) Named

func (this *Logger) Named(string) hclog.Logger

func (*Logger) ResetNamed

func (this *Logger) ResetNamed(string) hclog.Logger

func (*Logger) SetLevel

func (this *Logger) SetLevel(hclog.Level)

func (*Logger) StandardLogger

func (this *Logger) StandardLogger(*hclog.StandardLoggerOptions) *log2.Logger

func (*Logger) StandardWriter

func (this *Logger) StandardWriter(*hclog.StandardLoggerOptions) io.Writer

func (*Logger) Trace

func (this *Logger) Trace(msg string, args ...interface{})

func (*Logger) Warn

func (this *Logger) Warn(msg string, args ...interface{})

func (*Logger) With

func (this *Logger) With(args ...interface{}) hclog.Logger

type Plugin

type Plugin struct {
	ProviderAddr string

	BitwardenHolder BitwardenHolder
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) Close

func (this *Plugin) Close() error

func (*Plugin) GetEnrichedReattachProviders

func (this *Plugin) GetEnrichedReattachProviders() string

func (*Plugin) GetReattachProviders

func (this *Plugin) GetReattachProviders() map[string]plugin.ReattachConfig

func (*Plugin) Initialize

func (this *Plugin) Initialize() error

func (*Plugin) RegisterFlags

func (this *Plugin) RegisterFlags(cmd *kingpin.CmdClause)

func (*Plugin) Serve

func (this *Plugin) Serve()

func (*Plugin) ShouldServe

func (this *Plugin) ShouldServe() bool

Jump to

Keyboard shortcuts

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