context

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Chroot string
}

Concrete merged set of configuration switches that act as an execution context when calling internal discovery methods

func FromEnv

func FromEnv() *Context

FromEnv returns an Option that has been populated from the environs or default options values

func New

func New(opts ...*option.Option) *Context

New returns a Context struct pointer that has had various options set on it

Jump to

Keyboard shortcuts

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