Documentation ¶
Overview ¶
Package kubernetes provides the ability for Vela to integrate with Kubernetes as a runtime environment.
Usage:
import "github.com/go-vela/worker/runtime/kubernetes"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOpt ¶
type ClientOpt func(*client) error
ClientOpt represents a configuration option to initialize the runtime client.
func WithConfigFile ¶
WithConfigFile sets the Kubernetes config file in the runtime client.
func WithHostVolumes ¶
WithHostVolumes sets the Kubernetes host volumes in the runtime client.
func WithNamespace ¶
WithNamespace sets the Kubernetes namespace in the runtime client.
func WithPrivilegedImages ¶
WithPrivilegedImages sets the Kubernetes privileged images in the runtime client.
Click to show internal directories.
Click to hide internal directories.