scaffolds

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
	KustomizeVersion = "v3.5.4"
)

Variables

This section is empty.

Functions

func NewCreateAPIScaffolder

func NewCreateAPIScaffolder(config *config.Config, opts CreateOptions) scaffold.Scaffolder

NewCreateAPIScaffolder returns a new Scaffolder for project initialization operations

func NewInitScaffolder

func NewInitScaffolder(config *config.Config, apiScaffolder scaffold.Scaffolder) scaffold.Scaffolder

NewInitScaffolder returns a new Scaffolder for project initialization operations

Types

type CreateOptions

type CreateOptions struct {
	GVK schema.GroupVersionKind
	// CRDVersion is the version of the `apiextensions.k8s.io` API which will be used to generate the CRD.
	CRDVersion       string
	GeneratePlaybook bool
	GenerateRole     bool
}

Jump to

Keyboard shortcuts

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