Documentation ¶
Index ¶
- Constants
- func LoadAssign(f string, t *testing.T) types.Mutator
- func LoadAssignImage(f string, t *testing.T) types.Mutator
- func LoadAssignMeta(f string, t *testing.T) types.Mutator
- func LoadFixture(f string, t *testing.T) *unstructured.Unstructured
- func LoadTemplate(f string, t *testing.T) *expansionunversioned.ExpansionTemplate
- func NewTemplate(data *TemplateData) *expansionunversioned.ExpansionTemplate
- func TempMultApply() *expansionunversioned.ExpansionTemplate
- func TestTemplate(name string, applyID, genID int) *expansionunversioned.ExpansionTemplate
- type TemplateData
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 LoadFixture ¶
func LoadFixture(f string, t *testing.T) *unstructured.Unstructured
func LoadTemplate ¶
func LoadTemplate(f string, t *testing.T) *expansionunversioned.ExpansionTemplate
func NewTemplate ¶
func NewTemplate(data *TemplateData) *expansionunversioned.ExpansionTemplate
func TempMultApply ¶
func TempMultApply() *expansionunversioned.ExpansionTemplate
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 }
Click to show internal directories.
Click to hide internal directories.