configgenerate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFilesFromTemplate

func WriteFilesFromTemplate(in []ConfigFileValues, templatePath, outPath string) error

WriteFilesFromTemplate writes the config files to disk using a specific template

Types

type ConfigFileValues

type ConfigFileValues struct {
	Name      string
	Domain    string
	AllowHTTP bool
	Values    []ConfigValues
}

ConfigFileValues contains the values for one config file

func GenerateConfigFileValuesFromIngresses

func GenerateConfigFileValuesFromIngresses(ingresses []extensions_v1beta1.Ingress, serviceMap map[string]core_v1.Service) []ConfigFileValues

GenerateConfigFileValuesFromIngresses gives back the ConfigFileValues for an ingress slice

type ConfigValues

type ConfigValues struct {
	Path string
	Host string
	Port int32
}

ConfigValues contains the values for one path rule

Jump to

Keyboard shortcuts

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