generators

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package generators generate kustomize resources

Index

Constants

View Source
const (
	// DefaultKubeDescriptorFilename is the name of the kube-descriptor file
	DefaultKubeDescriptorFilename = "Kube-descriptor.yaml"

	// DefaultKustomizationFilename is the name of the kustomization config file
	DefaultKustomizationFilename = "kustomization.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator type

func NewGenerator

func NewGenerator(force bool) *Generator

NewGenerator contructs a new generator

func (*Generator) Render

func (g *Generator) Render(destination string, config *ktypes.Kustomization, metadata *chart.Metadata, resources *types.Resources, addConfigComments bool) error

Render to disk the kustomization.yaml, Kube-descriptor.yaml and associated resources

Jump to

Keyboard shortcuts

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