domain

package
v0.0.0-...-b63d506 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendSpec

type BackendSpec struct {
	ServiceName string
	ServicePort string
}

type IngressConfig

type IngressConfig struct {
	UID                   string
	Name                  string
	Namespace             string
	Host                  string
	Backend               BackendSpec
	AdditionalLabels      map[string]string
	AdditionalAnnotations map[string]string
	PathSelector          map[string]string
	SpecURL               string
}

type OutputGenerator

type OutputGenerator interface {
	Generate(rules []*Rule, ingressMap *IngressConfig)
}

type Rule

type Rule struct {
	Path string
}

type RuleService

type RuleService interface {
	GetRulesFrom(URL string, pathSelector map[string]string) []*Rule
}

Jump to

Keyboard shortcuts

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