config

package
v0.0.0-...-42351fe Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Services []*ConfigurationBackend

	// ControllerPodsCount contains the list of running ingress controller Pod(s)
	ControllerPodsCount int
}

Configuration represents all the hostnames and backend this controller managers

func (*Configuration) Equal

func (c1 *Configuration) Equal(c2 *Configuration) bool

Equal tests for equality between two Configuration types

type ConfigurationBackend

type ConfigurationBackend struct {
	// The backend for the defined hostname (what port, what endpoints, what service?)
	Backend *ingress.Backend
	// The hostname of the backend
	Hostname string
}

ConfigurationBackend represents the mapping of hostnames to backend endpoints

func (*ConfigurationBackend) Equal

Equal tests for equality between two ConfigurationBackend types

type ListenPorts

type ListenPorts struct {
	HTTP    int
	Health  int
	Default int
}

ListenPorts describe the ports required to run the WLS Ingress controller

Jump to

Keyboard shortcuts

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