package
0.26.1
Repository: https://github.com/go-vela/worker.git
Documentation: pkg.go.dev

# Packages

Package apis defines the worker-config CRD and related utilities.
No description provided by the author

# Functions

New returns an Engine implementation that integrates with a Kubernetes runtime.
NewMock returns an Engine implementation that integrates with a Kubernetes runtime.
WithConfigFile sets the config file in the runtime client for Kubernetes.
WithHostVolumes sets the host volumes in the runtime client for Kubernetes.
WithLogger sets the logger in the runtime client for Kubernetes.
WithNamespace sets the namespace in the runtime client for Kubernetes.
WithPodsTemplate sets the PipelinePodsTemplateName or loads the PipelinePodsTemplate from file in the runtime client for Kubernetes.
WithPrivilegedImages sets the privileged images in the runtime client for Kubernetes.

# Interfaces

MockKubernetesRuntime makes it possible to use the client mocks in other packages.

# Type aliases

ClientOpt represents a configuration option to initialize the runtime client for Kubernetes.