fixtures

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceAccountName   = "manager-sa"
	ManagerName          = "manager"
	ManagerPodLabelKey   = "operator.h3poteto.dev"
	ManagerPodLabelValue = "control-plane"
)
View Source
const (
	TestPodLabelKey   = "e2e-test-key"
	TestPodLabelValue = "nginx"
	LogDir            = "/var/log/nginx"
	TestContainerName = "nginx"
)

Variables

Functions

func NewManagerManifests

func NewManagerManifests(ns, clusterRoleName, image string, useCertManager bool) (*corev1.ServiceAccount, *rbacv1.ClusterRoleBinding, *rbacv1.Role, *rbacv1.RoleBinding, *appsv1.Deployment)

func NewNginx

func NewNginx(ns string) *appsv1.Deployment

func NewSidecarInjector

func NewSidecarInjector(collector string) *v1alpha1.SidecarInjector

Types

This section is empty.

Jump to

Keyboard shortcuts

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