ack

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = config.Config{
	PrefixConfig: config.PrefixConfig{
		SpecField:   ".Spec",
		StatusField: ".Status",
	},
	IncludeACKMetadata:             true,
	SetManyOutputNotFoundErrReturn: "return nil, ackerr.NotFound",
}

DefaultConfig is the default configuration for generating ACK code

Functions

func APIs

func APIs(
	g *generate.Generator,
	templateBasePath string,
) (*templateset.TemplateSet, error)

APIs returns a pointer to a TemplateSet containing all the templates for generating ACK service controller's apis/ contents

func Controller

func Controller(
	g *generate.Generator,
	templateBasePath string,
) (*templateset.TemplateSet, error)

Controller returns a pointer to a TemplateSet containing all the templates for generating ACK service controller implementations

func Release

func Release(
	g *generate.Generator,
	templateBasePath string,

	releaseVersion string,

	imageRepository string,

	serviceAccountName string,
) (*templateset.TemplateSet, error)

Release returns a pointer to a TemplateSet containing all the templates for generating an ACK service controller release (Helm artifacts, etc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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