scaffolds

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 14 Imported by: 3

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.12.1"
	// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
	ControllerToolsVersion = "v0.9.0"
	// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
	// @Deprecated. This information ought to come from kustomize plugin
	// Note that by updating the following value nothing will change for the go/3 plugin
	// it is no longer used and it was not removed only because it would be a breaking
	// change for the API. (api-diff check)
	//
	// NOTE: If you want to update the kustomize version used by this plugin
	// then you need to update it in pkg/plugins/common/kustomize/v1/plugin.go
	// Todo: we should remove it for the next go/v4 plugin
	KustomizeVersion = "v3.8.7"
)

Variables

This section is empty.

Functions

func NewAPIScaffolder

func NewAPIScaffolder(config config.Config, res resource.Resource, force bool) plugins.Scaffolder

NewAPIScaffolder returns a new Scaffolder for API/controller creation operations

func NewEditScaffolder

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

NewEditScaffolder returns a new Scaffolder for configuration edit operations

func NewInitScaffolder

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

NewInitScaffolder returns a new Scaffolder for project initialization operations

func NewWebhookScaffolder

func NewWebhookScaffolder(config config.Config, resource resource.Resource, force bool) plugins.Scaffolder

NewWebhookScaffolder returns a new Scaffolder for v2 webhook creation operations

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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