templates

package
v4.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevContainer added in v4.3.0

type DevContainer struct {
	machinery.TemplateMixin
}

DevCotaniner scaffoldds a `devcontainer.json` configurations file for creating Kubebuilder & Kind based DevContainer.

func (*DevContainer) SetTemplateDefaults added in v4.3.0

func (f *DevContainer) SetTemplateDefaults() error

type DevContainerPostInstallScript added in v4.3.0

type DevContainerPostInstallScript struct {
	machinery.TemplateMixin
}

func (*DevContainerPostInstallScript) SetTemplateDefaults added in v4.3.0

func (f *DevContainerPostInstallScript) SetTemplateDefaults() error

type DockerIgnore

type DockerIgnore struct {
	machinery.TemplateMixin
}

DockerIgnore scaffolds a file that defines which files should be ignored by the containerized build process

func (*DockerIgnore) SetTemplateDefaults

func (f *DockerIgnore) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Dockerfile

type Dockerfile struct {
	machinery.TemplateMixin
}

Dockerfile scaffolds a file that defines the containerized build process

func (*Dockerfile) SetTemplateDefaults

func (f *Dockerfile) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type GitIgnore

type GitIgnore struct {
	machinery.TemplateMixin
}

GitIgnore scaffolds a file that defines which files should be ignored by git

func (*GitIgnore) SetTemplateDefaults

func (f *GitIgnore) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type GoMod

type GoMod struct {
	machinery.TemplateMixin
	machinery.RepositoryMixin

	ControllerRuntimeVersion string
}

GoMod scaffolds a file that defines the project dependencies

func (*GoMod) SetTemplateDefaults

func (f *GoMod) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Golangci

Golangci scaffolds a file which define Golangci rules

func (*Golangci) SetTemplateDefaults

func (f *Golangci) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Makefile

type Makefile struct {
	machinery.TemplateMixin
	machinery.ProjectNameMixin

	// Image is controller manager image name
	Image string
	// BoilerplatePath is the path to the boilerplate file
	BoilerplatePath string
	// Controller tools version to use in the project
	ControllerToolsVersion string
	// Kustomize version to use in the project
	KustomizeVersion string
	// ControllerRuntimeVersion version to be used to download the envtest setup script
	ControllerRuntimeVersion string
	// EnvtestVersion store the name of the verions to be used to install setup-envtest
	EnvtestVersion string
}

Makefile scaffolds a file that defines project management CLI commands

func (*Makefile) SetTemplateDefaults

func (f *Makefile) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Readme

Readme scaffolds a README.md file

func (*Readme) SetTemplateDefaults

func (f *Readme) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

Directories

Path Synopsis
test
e2e

Jump to

Keyboard shortcuts

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