templates

package
v3.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	machinery.TemplateMixin

	ManifestVersion string
}

Channel scaffolds the file for the channel

func (*Channel) SetTemplateDefaults

func (f *Channel) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Controller

Controller scaffolds the file that defines the controller for a CRD or a builtin resource nolint:maligned

func (*Controller) SetTemplateDefaults

func (f *Controller) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Manifest

type Manifest struct {
	machinery.TemplateMixin
	machinery.ResourceMixin

	ManifestVersion string
}

Manifest scaffolds the file that acts as a placeholder for the manifest

func (*Manifest) SetTemplateDefaults

func (f *Manifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Types

Types scaffolds the file that defines the schema for a CRD nolint:maligned

func (Types) GetFuncMap

func (f Types) GetFuncMap() template.FuncMap

GetFuncMap implements file.UseCustomFuncMap

func (*Types) SetTemplateDefaults

func (f *Types) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

Jump to

Keyboard shortcuts

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