manager

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerManager

type ControllerManager struct {
	Manager ctrlManager.Manager
	// contains filtered or unexported fields
}

ControllerManager is responsible for running controller-runtime controllers, and interacting with Kubernetes API server in general. If you need to interact with Kubernetes API server, this is the place to start.

func Get

func Get() *ControllerManager

func (*ControllerManager) FindContainer

func (cm *ControllerManager) FindContainer(containerID string) (*corev1.Pod, *corev1.ContainerStatus, bool)

func (*ControllerManager) FindMirrorPod

func (cm *ControllerManager) FindMirrorPod(hash string) (*corev1.Pod, error)

func (*ControllerManager) FindPod

func (cm *ControllerManager) FindPod(podID string) (*corev1.Pod, error)

func (*ControllerManager) GetNamespace

func (cm *ControllerManager) GetNamespace(name string) (*corev1.Namespace, error)

func (*ControllerManager) GetNode

func (cm *ControllerManager) GetNode() (*corev1.Node, error)

func (*ControllerManager) ListNamespaces

func (cm *ControllerManager) ListNamespaces() ([]corev1.Namespace, error)

func (*ControllerManager) Start

func (cm *ControllerManager) Start(ctx context.Context)

func (*ControllerManager) WaitCRDs

func (cm *ControllerManager) WaitCRDs(ctx context.Context, crds map[string]struct{}) error

Jump to

Keyboard shortcuts

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