platform

package
v6.4.2-0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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