model

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

type Current

type Current struct {
	SourcePools map[string][]string
	Addresses   map[string]string
	Desire      func(pool string, changesAllowed bool, svc core.ComputesService, nodeagent func(infra.Compute) *operator.NodeAgentCurrent) error `yaml:"-"`
}

type Destination

type Destination struct {
	HealthChecks HealthChecks
	Port         Port
	Pool         string
}

type HealthChecks

type HealthChecks struct {
	Protocol string
	Path     string
	Code     uint8
}

type Port

type Port uint16

type Source

type Source struct {
	Name         string
	SourcePort   Port
	HealthChecks *HealthChecks
	Destinations []Destination
}

type UserSpec

type UserSpec map[string][]VIP

func (*UserSpec) Validate

func (u *UserSpec) Validate() error

type VIP

type VIP struct {
	IP        string
	Transport []Source
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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