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 for Kubernetes.
func WithConfigFile ¶
WithConfigFile sets the config file in the runtime client for Kubernetes.
func WithHostVolumes ¶
WithHostVolumes sets the host volumes in the runtime client for Kubernetes.
func WithLogger ¶ added in v0.12.0
WithLogger sets the logger in the runtime client for Kubernetes.
func WithNamespace ¶
WithNamespace sets the namespace in the runtime client for Kubernetes.
func WithPrivilegedImages ¶
WithPrivilegedImages sets the privileged images in the runtime client for Kubernetes.
Click to show internal directories.
Click to hide internal directories.