platform

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 6 Imported by: 1 module, 1 package

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 CircleCI

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

func (CircleCI) ComplementExec

func (cc CircleCI) ComplementExec(opts *option.ExecOptions) error

func (CircleCI) ComplementPost

func (cc CircleCI) ComplementPost(opts *option.PostOptions) error

func (CircleCI) Match

func (cc CircleCI) Match() bool

type CodeBuild added in v1.6.0

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

func (CodeBuild) ComplementExec added in v1.6.0

func (cb CodeBuild) ComplementExec(opts *option.ExecOptions) error

func (CodeBuild) ComplementPost added in v1.6.0

func (cb CodeBuild) ComplementPost(opts *option.PostOptions) error

func (CodeBuild) Match added in v1.6.0

func (cb CodeBuild) Match() bool

type Drone

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

func (Drone) ComplementExec

func (drone Drone) ComplementExec(opts *option.ExecOptions) error

func (Drone) ComplementPost

func (drone Drone) ComplementPost(opts *option.PostOptions) error

func (Drone) Match

func (drone Drone) Match() bool

type GitHubActions

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

func (GitHubActions) ComplementExec

func (ac GitHubActions) ComplementExec(opts *option.ExecOptions) error

func (GitHubActions) ComplementPost

func (ac GitHubActions) ComplementPost(opts *option.PostOptions) error

func (GitHubActions) Match

func (ac GitHubActions) Match() bool

type Platform

type Platform interface {
	ComplementPost(opts *option.PostOptions) error
	ComplementExec(opts *option.ExecOptions) error
	Match() bool
}

func Get

func Get(getEnv func(string) string, read func(string) (io.ReadCloser, error)) Platform

Jump to

Keyboard shortcuts

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