configgenerate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateRedis

func UpdateRedis(in []DomainConfigValues)

UpdateRedis sets the DomainConfigValues in redis

Types

type ConfigValues

type ConfigValues struct {
	Path string `json:"path"`
	Host string `json:"host"`
}

ConfigValues contains the values for one path rule

type DomainConfigValues

type DomainConfigValues struct {
	Domain      string         `json:"domain"`
	Values      []ConfigValues `json:"values"`
	Certificate string         `json:"certificate"`
	Privatekey  string         `json:"privatekey"'`
}

DomainConfigValues contains the values for one domain

func GenerateDomainConfigValuesFromIngresses

func GenerateDomainConfigValuesFromIngresses(ingresses map[string]*networking_v1beta1.Ingress, serviceMap map[string]*core_v1.Service, secretMap map[string]*core_v1.Secret) []DomainConfigValues

GenerateDomainConfigValuesFromIngresses gives back the DomainConfigValues for an ingress slice

Jump to

Keyboard shortcuts

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