pkg

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateProperties

func GenerateProperties(buf []byte, applicationNames []string, config, output string) error

Types

type Config

type Config struct {
	Hierarchy []Item
}

type Input

type Input struct {
	// list of environments where config can be applied
	Environments []string
	// list of services of items being templated.
	Applications []string
	// Resources that are generated by Kustomize
	Resources []Resource
	// The hierarchy in which configs are imported
	Config Config
}

type Item

type Item struct {
	Kind      string
	Name      string
	Namespace string
	Type      string
	Key       string
}

type Resource

type Resource struct {
	// path is the relative path to the file containing the resource definition
	Path string
	// A configmap, secret or sealed secret
	Item *unstructured.Unstructured
}

Jump to

Keyboard shortcuts

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