env

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package env is a pipe that loads environment variables

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingEnvVar = errors.New("missing required environment variable")

ErrMissingEnvVar indicates an error when a required variable is missing in the environment.

Functions

This section is empty.

Types

type Pipe

type Pipe struct{}

Pipe is a global hook pipe.

func (Pipe) Run

func (p Pipe) Run(ctx *context.Context) error

Run executes the hooks.

func (Pipe) String

func (Pipe) String() string

String is the name of this pipe.

Jump to

Keyboard shortcuts

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