resources

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

Types scaffolds the child resource definition files.

func (*Definition) SetTemplateDefaults

func (f *Definition) SetTemplateDefaults() error

type Resources

type Resources struct {
	machinery.TemplateMixin
	machinery.BoilerplateMixin
	machinery.RepositoryMixin
	machinery.ResourceMixin

	// input fields
	Builder workloadv1.WorkloadAPIBuilder

	// template fields
	SpecFields      *workloadv1.APIFields
	IsClusterScoped bool
	CreateFuncNames []string
	InitFuncNames   []string
}

Types scaffolds child resource creation functions.

func (*Resources) SetTemplateDefaults

func (f *Resources) SetTemplateDefaults() error

Jump to

Keyboard shortcuts

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