api

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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 Group

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

func (*Group) SetTemplateDefaults

func (f *Group) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Types

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

func (*Types) SetTemplateDefaults

func (f *Types) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type Webhook

type Webhook struct {
	machinery.TemplateMixin
	machinery.MultiGroupMixin
	machinery.BoilerplateMixin
	machinery.ResourceMixin

	// Is the Group domain for the Resource replacing '.' with '-'
	QualifiedGroupWithDash string
}

Webhook scaffolds the file that defines a webhook for a CRD or a builtin resource

func (*Webhook) SetTemplateDefaults

func (f *Webhook) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

Jump to

Keyboard shortcuts

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