fixtures

package
v3.18.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TempExpDeploymentExpandsPods = `` /* 295-byte string literal not displayed */

	TempExpReplicaDeploymentExpandsPods = `` /* 318-byte string literal not displayed */

	TempExpMultipleApplyTo = `` /* 397-byte string literal not displayed */

	TempExpCronJob = `` /* 298-byte string literal not displayed */

	TempExpJob = `` /* 282-byte string literal not displayed */

	TempExpDeploymentExpandsPodsEnforceDryrun = `` /* 325-byte string literal not displayed */

	DeploymentNginx = `` /* 378-byte string literal not displayed */

	DeploymentNginxWithNs = `` /* 403-byte string literal not displayed */

	DeploymentNoGVK = `` /* 341-byte string literal not displayed */

	PodNoMutate = `` /* 234-byte string literal not displayed */

	PodImagePullMutate = `` /* 262-byte string literal not displayed */

	PodImagePullMutateWithNs = `` /* 266-byte string literal not displayed */

	PodMutateImage = `` /* 230-byte string literal not displayed */

	PodImagePullMutateAnnotated = `` /* 294-byte string literal not displayed */

	AssignPullImage = `` /* 378-byte string literal not displayed */

	AssignPullImageWithNsSelector = `` /* 505-byte string literal not displayed */

	AssignPullImageSourceAll = `` /* 378-byte string literal not displayed */

	AssignPullImageSourceEmpty = `` /* 354-byte string literal not displayed */

	AssignImage = `` /* 246-byte string literal not displayed */

	AssignHostnameSourceOriginal = `` /* 380-byte string literal not displayed */

	AssignMetaAnnotatePod = `` /* 309-byte string literal not displayed */

	AssignMetaAnnotateKitten = `` /* 310-byte string literal not displayed */

	TemplateCatExpandsKitten = `` /* 356-byte string literal not displayed */

	TemplateCatExpandsPurr = `` /* 349-byte string literal not displayed */

	GeneratorCat = `` /* 234-byte string literal not displayed */

	AssignKittenAge = `` /* 364-byte string literal not displayed */

	AssignMetaAnnotatePurr = `` /* 310-byte string literal not displayed */

	ResultantKitten = `` /* 217-byte string literal not displayed */

	ResultantPurr = `` /* 162-byte string literal not displayed */

	GeneratorCronJob = `` /* 359-byte string literal not displayed */

	ResultantJob = `` /* 291-byte string literal not displayed */

	ResultantRecursivePod = `` /* 267-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func LoadAssign

func LoadAssign(f string, t *testing.T) types.Mutator

func LoadAssignImage

func LoadAssignImage(f string, t *testing.T) types.Mutator

func LoadAssignMeta

func LoadAssignMeta(f string, t *testing.T) types.Mutator

func LoadFixture

func LoadFixture(f string, t *testing.T) *unstructured.Unstructured

func TestTemplate

func TestTemplate(name string, applyID, genID int) *expansionunversioned.ExpansionTemplate

Types

type TemplateData

type TemplateData struct {
	Name              string
	Apply             []match.ApplyTo
	Source            string
	GenGVK            expansionunversioned.GeneratedGVK
	EnforcementAction string
}

Jump to

Keyboard shortcuts

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