scaffolds

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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.2"
	// ControllerToolsVersion is the kubernetes-sigs/controller-tools version to be used in the project
	ControllerToolsVersion = "v0.9.2"
)

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