Documentation
¶
Overview ¶
Package worker provides the defined CLI worker actions for Vela.
Usage:
import "github.com/go-vela/cli/action/worker"
Index ¶
- type Config
- func (c *Config) Add(ctx context.Context, client *vela.Client) error
- func (c *Config) Get(ctx context.Context, client *vela.Client) error
- func (c *Config) Update(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
Address string
CheckedInBefore int64
CheckedInAfter int64
Hostname string
Active *bool
Routes []string
BuildLimit int32
RegistrationToken bool
Output string
Color output.ColorOptions
}
Config represents the configuration necessary to perform worker related requests with Vela.
Click to show internal directories.
Click to hide internal directories.