scaffolds

package
v3.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

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.17.3"
	// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
	ControllerToolsVersion = "v0.14.0"
	// EnvtestK8SVersion is the k8s version used to do the scaffold
	EnvtestK8SVersion = "1.29.0"
)

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