generate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCliDocs

func GenerateCliDocs(rootCmd *cobra.Command, generateSetOptions *GenerateOptions) error

func GenerateDockerLabels

func GenerateDockerLabels(
	generateSetOptions *GenerateOptions,
	sourceConfigUri string,
) ([]error, map[string][]error)

func GenerateManifestFromHelm

func GenerateManifestFromHelm(
	HelmApplication helmappv1alpha1.HelmApplication,
	loaderMeta *apis.LoaderMeta,
	generateSetOptions *GenerateOptions,
) error

func GenerateManifests

func GenerateManifests(generateSetOptions *GenerateOptions) ([]error, map[string][]error)

func GenerateSchemas

func GenerateSchemas()

Types

type CommonK8sAnnotations

type CommonK8sAnnotations struct {
	AppName     string
	AppType     string
	GeneratedBy string
}

func (*CommonK8sAnnotations) GenerateAnnotations

func (c *CommonK8sAnnotations) GenerateAnnotations() map[string]string

type CommonK8sLabels

type CommonK8sLabels struct{}

func (*CommonK8sLabels) GenerateLabels

func (c *CommonK8sLabels) GenerateLabels() map[string]string

type GenerateOptions

type GenerateOptions struct {
	OutputDir       string
	WorkDir         string
	SourceConfigUri string
	KubeVersion     string
}

type ManifestSource

type ManifestSource struct {
	Type   string
	Uri    string
	RawUri string
}

Jump to

Keyboard shortcuts

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