platform

package
v6.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCloudBuild

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

func NewGoogleCloudBuild

func NewGoogleCloudBuild(param *cienv.Param) *GoogleCloudBuild

func (*GoogleCloudBuild) Branch

func (cb *GoogleCloudBuild) Branch() string

func (*GoogleCloudBuild) ID

func (cb *GoogleCloudBuild) ID() string

func (*GoogleCloudBuild) IsPR

func (cb *GoogleCloudBuild) IsPR() bool

func (*GoogleCloudBuild) JobURL

func (cb *GoogleCloudBuild) JobURL() string

func (*GoogleCloudBuild) Match

func (cb *GoogleCloudBuild) Match() bool

func (*GoogleCloudBuild) PRBaseBranch

func (cb *GoogleCloudBuild) PRBaseBranch() string

func (*GoogleCloudBuild) PRNumber

func (cb *GoogleCloudBuild) PRNumber() (int, error)

func (*GoogleCloudBuild) Ref

func (cb *GoogleCloudBuild) Ref() string

func (*GoogleCloudBuild) RepoName

func (cb *GoogleCloudBuild) RepoName() string

func (*GoogleCloudBuild) RepoOwner

func (cb *GoogleCloudBuild) RepoOwner() string

func (*GoogleCloudBuild) SHA

func (cb *GoogleCloudBuild) SHA() string

func (*GoogleCloudBuild) Tag

func (cb *GoogleCloudBuild) Tag() string

type Platform

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

func Get

func Get() *Platform

func (*Platform) CI

func (pt *Platform) CI() string

func (*Platform) ComplementExec

func (pt *Platform) ComplementExec(opts *option.ExecOptions) error

func (*Platform) ComplementHide

func (pt *Platform) ComplementHide(opts *option.HideOptions) error

func (*Platform) ComplementPost

func (pt *Platform) ComplementPost(opts *option.PostOptions) error

Jump to

Keyboard shortcuts

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