testutil

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Overview

Package testutil provides workload fixtures for controller tests.

Index

Constants

View Source
const (
	DataplaneDaemonSetName  = workload.DataplaneDaemonSetName
	PodNetworkDaemonSetName = workload.PodNetworkDaemonSetName
)

Variables

View Source
var (
	ConfigFromLookup  = workload.ConfigFromLookup
	DesiredDaemonSets = workload.DesiredDaemonSets
	ManagedNames      = workload.ManagedNames
)

Functions

func DesiredDaemonSet

func DesiredDaemonSet(c Config) (*appsv1.DaemonSet, error)

DesiredDaemonSet returns the single host-network workload planned for c. It rejects mixed networking, which plans two workloads.

Types

type Config

type Config = workload.Config

Jump to

Keyboard shortcuts

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