controller

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartReconciler added in v0.12.0

func StartReconciler() error

Types

type KubeletClientConfig added in v0.13.2

type KubeletClientConfig struct {
	// Address specifies the kubelet address
	Address string

	// Port specifies the default port - used if no information about Kubelet port can be found in Node.NodeStatus.DaemonEndpoints.
	Port int

	// TLSClientConfig contains settings to enable transport layer security
	restclient.TLSClientConfig

	// Server requires Bearer authentication
	BearerToken string

	// HTTPTimeout is used by the client to timeout http requests to Kubelet.
	HTTPTimeout time.Duration
}

KubeletClientConfig defines config parameters for the kubelet client

type PodDriver

type PodDriver struct {
	Client *k8sclient.K8sClient

	mount.SafeFormatAndMount
	// contains filtered or unexported fields
}

func NewPodDriver

func NewPodDriver(client *k8sclient.K8sClient, mounter mount.SafeFormatAndMount) *PodDriver

func (*PodDriver) Run

func (p *PodDriver) Run(ctx context.Context, current *corev1.Pod) error

type PodReconciler

type PodReconciler struct {
	mount.SafeFormatAndMount
	*k8sclient.K8sClient
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL