scaffolds

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrScaffoldWorkload             = errors.New("error scaffolding workload")
	ErrScaffoldMainUpdater          = errors.New("error updating main.go")
	ErrScaffoldCRDSample            = errors.New("error scaffolding CRD sample file")
	ErrScaffoldKustomization        = errors.New("error scaffolding kustomization overlay")
	ErrScaffoldAPITypes             = errors.New("error scaffolding api types")
	ErrScaffoldAPIKindInfo          = errors.New("error scaffolding api kind information")
	ErrScaffoldAPIResources         = errors.New("error scaffolding api resource methods")
	ErrScaffoldAPIChildResources    = errors.New("error scaffolding api child resource definitions")
	ErrScaffoldController           = errors.New("error scaffolding controller logic")
	ErrScaffoldE2ETest              = errors.New("error scaffolding e2e tests")
	ErrScaffoldCompanionCLI         = errors.New("error scaffolding companion CLI")
	ErrScaffoldCompanionCLIInit     = errors.New("error scaffolding companion CLI init sub-command")
	ErrScaffoldCompanionCLIGenerate = errors.New("error scaffolding companion CLI generate sub-command")
	ErrScaffoldCompanionCLIVersion  = errors.New("error scaffolding companion CLI version sub-command")
	ErrScaffoldCompanionCLIRoot     = errors.New("error scaffolding companion CLI root.go entrypoint")
)

Functions

func NewAPIScaffolder

func NewAPIScaffolder(
	cfg config.Config,
	res *resource.Resource,
	workload workloadv1.WorkloadAPIBuilder,
	cliRootCommandName string,
) plugins.Scaffolder

NewAPIScaffolder returns a new Scaffolder for project initialization operations.

func NewInitScaffolder

func NewInitScaffolder(
	cfg config.Config,
	workload workloadv1.WorkloadInitializer,
	cliRootCommandName string,
) plugins.Scaffolder

NewInitScaffolder returns a new Scaffolder for project initialization operations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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