samples

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SampleTemplate = `` /* 253-byte string literal not displayed */
View Source
const SampleTemplateRequiredOnly = `` /* 252-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDSample

type CRDSample struct {
	machinery.TemplateMixin
	machinery.ResourceMixin

	SpecFields      *workloadv1.APIFields
	IsClusterScoped bool
	RequiredOnly    bool
}

CRDSample scaffolds a file that defines a sample manifest for the CRD.

func (*CRDSample) SetTemplateDefaults

func (f *CRDSample) SetTemplateDefaults() error

Jump to

Keyboard shortcuts

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