ci

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 9 Imported by: 0

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL