scaffolds

package
v3.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package scaffolds contains libraries for scaffolding code to use with controller-runtime

Index

Constants

View Source
const (
	// ControllerRuntimeVersion is the kubernetes-sigs/controller-runtime version to be used in the project
	ControllerRuntimeVersion = "v0.6.4"
	// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
	ControllerToolsVersion = "v0.3.0"
	// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
	KustomizeVersion = "v3.5.4"
)
View Source
const KbDeclarativePattern = "v0.0.0-20200522144838-848d48e5b073"

KbDeclarativePattern is the sigs.k8s.io/kubebuilder-declarative-pattern version (used only to gen api with --pattern=addon)

Variables

This section is empty.

Functions

func NewAPIScaffolder

func NewAPIScaffolder(
	config config.Config,
	boilerplate string,
	res resource.Resource,
	force bool,
	plugins []model.Plugin,
) cmdutil.Scaffolder

NewAPIScaffolder returns a new Scaffolder for API/controller creation operations

func NewEditScaffolder

func NewEditScaffolder(config config.Config, multigroup bool) cmdutil.Scaffolder

NewEditScaffolder returns a new Scaffolder for configuration edit operations

func NewInitScaffolder

func NewInitScaffolder(config config.Config, license, owner string) cmdutil.Scaffolder

NewInitScaffolder returns a new Scaffolder for project initialization operations

func NewWebhookScaffolder

func NewWebhookScaffolder(
	config config.Config,
	boilerplate string,
	resource resource.Resource,
) cmdutil.Scaffolder

NewWebhookScaffolder returns a new Scaffolder for v2 webhook creation operations

Types

This section is empty.

Jump to

Keyboard shortcuts

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