ci

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CI

type CI int
const (
	Unknown CI = iota
	CircleCI
	Travis
)

func GetCIInfo

func GetCIInfo() (CI, *github.PullRequest, map[tags.Key]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