concepts

package
v0.21.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlanInternalTCPUDPLoadBalancing

func PlanInternalTCPUDPLoadBalancing(lbName string, resources *core.ResourceFactory, resourcesExecutor *core.Executor, firewallExecutor *core.Executor, services *Services, cfg *Config, ipCB func(lbName string, ip string), groupCB func(poolName string, group core.EnsuredGroup)) error

func PlanTCPProxyLoadBalancing

func PlanTCPProxyLoadBalancing(lbName string, resources *core.ResourceFactory, resourcesExecutor *core.Executor, firewallExecutor *core.Executor, services *Services, cfg *Config, ipCB func(lbName string, ip string), groupCB func(poolName string, group core.EnsuredGroup)) error

Types

type Config

type Config struct {
	HealthChecks *healthcheck.Config
	Pools        []string
	Ports        []int64
	External     bool
}

type Ensured

type Ensured struct {
	Name string
	IP   string
}

type Services

type Services struct {
	BackendService core.ResourceService
	InstanceGroup  core.ResourceService
	HealthChecks   core.ResourceService
	ForwardingRule core.ResourceService
	FirewallRule   core.ResourceService
	TargetProxy    core.ResourceService
}

Jump to

Keyboard shortcuts

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