host

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package host provides a plugin implementing the original behavior of resolving secrets from the local host: environment variables, paths, commands and static values.

Index

Constants

View Source
const PluginKey = plugins.PluginInterface + ".porter.host"

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(c *portercontext.Context) plugin.Plugin

Types

type Plugin

type Plugin struct {
	Store
}

type Store

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

func NewStore

func NewStore() Store

func (Store) Create

func (s Store) Create(ctx context.Context, keyName string, keyValue string, value string) error

func (Store) Resolve

func (s Store) Resolve(ctx context.Context, keyName string, keyValue string) (string, error)

Jump to

Keyboard shortcuts

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