Documentation
¶
Overview ¶
Package build provides the defined CLI build actions for Vela.
Usage:
import "github.com/go-vela/cli/action/build"
Index ¶
- type Config
- func (c *Config) Approve(ctx context.Context, client *vela.Client) error
- func (c *Config) Cancel(ctx context.Context, client *vela.Client) error
- func (c *Config) Get(ctx context.Context, client *vela.Client) error
- func (c *Config) Restart(ctx context.Context, client *vela.Client) error
- func (c *Config) Validate() error
- func (c *Config) View(ctx context.Context, client *vela.Client) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Action string
Org string
Repo string
Number int64
Event string
Status string
Branch string
Before int64
After int64
Page int
PerPage int
Output string
Color output.ColorOptions
}
Config represents the configuration necessary to perform build related requests with Vela.
func (*Config) Approve ¶ added in v0.23.0
Approve approves a build based off the provided configuration.
func (*Config) Cancel ¶ added in v0.7.0
Cancel cancels a build based off the provided configuration.
Click to show internal directories.
Click to hide internal directories.