Documentation
¶
Overview ¶
Package linux provides the ability for Vela to integrate with a Linux as an operating system.
Usage:
import "github.com/go-vela/worker/executor/linux"
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnrecognizedSecretType defines the error type when the // SecretType provided to the client is unsupported. ErrUnrecognizedSecretType = errors.New("unrecognized secret type") // ErrUnableToRetrieve defines the error type when the // secret is not able to be retrieved from the server. ErrUnableToRetrieve = errors.New("unable to retrieve secret") )
Functions ¶
Types ¶
type Opt ¶
type Opt func(*client) error
Opt represents a configuration option to initialize the client.
func WithHostname ¶
WithHostname sets the hostname in the client.
func WithPipeline ¶
WithPipeline sets the pipeline build in the client.
func WithRuntime ¶
WithRuntime sets the runtime engine in the client.
func WithVelaClient ¶
WithVelaClient sets the Vela client in the client.
Click to show internal directories.
Click to hide internal directories.