context

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpFileSuffix = ".tmp"
)

Variables

This section is empty.

Functions

func ResetContext

func ResetContext()

Testing only

Types

type Context

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

func CurrentContext

func CurrentContext() *Context

func (*Context) CloudWatchLogConfig

func (ctx *Context) CloudWatchLogConfig() map[string]interface{}

func (*Context) Credentials

func (ctx *Context) Credentials() map[string]string

func (*Context) InputJsonDirPath

func (ctx *Context) InputJsonDirPath() string

func (*Context) InputJsonFilePath

func (ctx *Context) InputJsonFilePath() string

func (*Context) Mode

func (ctx *Context) Mode() string

func (*Context) MultiConfig

func (ctx *Context) MultiConfig() string

func (*Context) Os

func (ctx *Context) Os() string

func (*Context) OutputTomlFilePath

func (ctx *Context) OutputTomlFilePath() string

func (*Context) Proxy

func (ctx *Context) Proxy() map[string]string

func (*Context) RunInContainer

func (ctx *Context) RunInContainer() bool

func (*Context) SSL

func (ctx *Context) SSL() map[string]string

func (*Context) SetCloudWatchLogConfig

func (ctx *Context) SetCloudWatchLogConfig(config map[string]interface{})

func (*Context) SetCredentials

func (ctx *Context) SetCredentials(creds map[string]string)

func (*Context) SetInputJsonDirPath

func (ctx *Context) SetInputJsonDirPath(inputJsonDirPath string)

func (*Context) SetInputJsonFilePath

func (ctx *Context) SetInputJsonFilePath(inputJsonFilePath string)

func (*Context) SetMode

func (ctx *Context) SetMode(mode string)

func (*Context) SetMultiConfig

func (ctx *Context) SetMultiConfig(multiConfig string)

func (*Context) SetOs

func (ctx *Context) SetOs(os string)

func (*Context) SetOutputTomlFilePath

func (ctx *Context) SetOutputTomlFilePath(outputTomlFilePath string)

func (*Context) SetProxy

func (ctx *Context) SetProxy(proxy map[string]string)

func (*Context) SetRunInContainer

func (ctx *Context) SetRunInContainer(runInContainer bool)

func (*Context) SetSSL

func (ctx *Context) SetSSL(ssl map[string]string)

Jump to

Keyboard shortcuts

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