manager

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 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 APIs

type APIs struct {
	file.TemplateMixin
	file.BoilerplateMixin

	// BoilerplatePath is the path to the boilerplate file
	BoilerplatePath string
	// Comments is a list of comments to add to the apis.go
	Comments []string
}

APIs scaffolds a apis.go to register types with a Scheme

func (*APIs) SetTemplateDefaults

func (f *APIs) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

type Cmd

Cmd scaffolds a manager.go to run Controllers

func (*Cmd) SetTemplateDefaults

func (f *Cmd) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

type Config

type Config struct {
	file.TemplateMixin

	// Image is controller manager image name
	Image string
}

Config scaffolds yaml config for the manager.

func (*Config) SetTemplateDefaults

func (f *Config) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

type Controller

type Controller struct {
	file.TemplateMixin
	file.BoilerplateMixin
}

Controller scaffolds a controller.go to add Controllers to a manager.Cmd

func (*Controller) SetTemplateDefaults

func (f *Controller) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

type Dockerfile

type Dockerfile struct {
	file.TemplateMixin
	file.RepositoryMixin
}

Dockerfile scaffolds a Dockerfile for building a main

func (*Dockerfile) SetTemplateDefaults

func (f *Dockerfile) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

type Webhook

type Webhook struct {
	file.TemplateMixin
	file.BoilerplateMixin
}

Webhook scaffolds a webhook.go to add webhook server(s) to a manager.Cmd

func (*Webhook) SetTemplateDefaults

func (f *Webhook) SetTemplateDefaults() error

SetTemplateDefaults implements input.Template

Jump to

Keyboard shortcuts

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