env

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InDocker

func InDocker() bool

Returns true if the CLI is running inside the official docker release image.

Types

type CI

type CI int
const (
	UnknownCI CI = iota
	CircleCI
	TravisCI
)

func GetCITagsForLearnSession

func GetCITagsForLearnSession() (CI, map[string]string)

Returns learn session tags for common CI environments. Currently, we support: - CircleCI - TravisCI

func (CI) MarshalText

func (c CI) MarshalText() ([]byte, error)

Implments encoding.TextMarshaler

func (CI) String

func (c CI) String() string

func (*CI) UnmarshalText

func (c *CI) UnmarshalText(s []byte) error

Implments encoding.TextUnmarshaler

Jump to

Keyboard shortcuts

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