circleci

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Getenv func(string) string
}

func (Client) Branch

func (client Client) Branch() string

func (Client) CI

func (client Client) CI() string

func (Client) IsPR

func (client Client) IsPR() bool

func (Client) Match

func (client Client) Match() bool

func (Client) PRBaseBranch added in v0.2.0

func (client Client) PRBaseBranch() string

func (Client) PRNumber

func (client Client) PRNumber() (int, error)

func (Client) Ref

func (client Client) Ref() string

func (Client) RepoName

func (client Client) RepoName() string

func (Client) RepoOwner

func (client Client) RepoOwner() string

func (Client) SHA

func (client Client) SHA() string

func (Client) Tag

func (client Client) Tag() string

Jump to

Keyboard shortcuts

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