ci

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 9 Imported by: ? modules, 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 Buildkite

type Buildkite struct {
	Organisation string `yaml:"organisation" env:"BUILDKITE_ORG"`
	Token        string `yaml:"token" env:"BUILDKITE_TOKEN"`
	// contains filtered or unexported fields
}

func (*Buildkite) Badges

func (c *Buildkite) Badges(name string) ([]templating.Badge, error)

func (*Buildkite) Configure

func (c *Buildkite) Configure() error

func (*Buildkite) Name

func (c *Buildkite) Name() string

func (*Buildkite) Scaffold

func (c *Buildkite) Scaffold(dir string, data templating.TemplateData) (*string, error)

func (*Buildkite) Validate

func (c *Buildkite) Validate(name string) error

func (*Buildkite) ValidateConfig

func (c *Buildkite) ValidateConfig() error

type CI

type CI interface {
	Name() string
	ValidateConfig() error
	Validate(name string) error
	Scaffold(dir string, data templating.TemplateData) (*string, error)
	Badges(name string) ([]templating.Badge, error)
	Configure() error
}

type Gitlab

type Gitlab struct {
	Group string `yaml:"group" env:"GITLAB_GROUP"`
	Token string `yaml:"token" env:"GITLAB_TOKEN"`
	// contains filtered or unexported fields
}

func (*Gitlab) Badges

func (c *Gitlab) Badges(name string) ([]templating.Badge, error)

func (*Gitlab) Configure

func (c *Gitlab) Configure() error

func (*Gitlab) Name

func (c *Gitlab) Name() string

func (*Gitlab) Scaffold

func (c *Gitlab) Scaffold(dir string, data templating.TemplateData) (*string, error)

func (*Gitlab) Validate

func (c *Gitlab) Validate(name string) error

func (*Gitlab) ValidateConfig

func (c *Gitlab) ValidateConfig() error

Jump to

Keyboard shortcuts

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