api

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

Group scaffolds the file that defines the registration methods for a certain group and version.

func (*Group) SetTemplateDefaults

func (f *Group) SetTemplateDefaults() error

type Kind

Kind scaffolds the file that defines specific information related to kind regardless of the API version.

func (*Kind) SetTemplateDefaults

func (f *Kind) SetTemplateDefaults() error

type KindLatest

KindLatest scaffolds the file that defines specific information related to the latest API version of a specific kind.

func (*KindLatest) SetTemplateDefaults

func (f *KindLatest) SetTemplateDefaults() error

type KindUpdater

KindUpdater updates the file with any new version information.

func (*KindUpdater) GetCodeFragments

func (f *KindUpdater) GetCodeFragments() machinery.CodeFragmentsMap

GetCodeFragments implements file.Inserter interface.

func (*KindUpdater) GetIfExistsAction

func (*KindUpdater) GetIfExistsAction() machinery.IfExistsAction

GetIfExistsAction implements file.Builder interface.

func (*KindUpdater) GetMarkers

func (f *KindUpdater) GetMarkers() []machinery.Marker

GetMarkers implements file.Inserter interface.

func (*KindUpdater) GetPath

func (f *KindUpdater) GetPath() string

GetPath implements file.Builder interface.

type Types

Types scaffolds a workload's API type.

func (*Types) GetFuncMap

func (*Types) GetFuncMap() template.FuncMap

func (*Types) SetTemplateDefaults

func (f *Types) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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