manager

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

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