runtime

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Index

Constants

View Source
const (
	ConfigName = "haproxy.cfg"
)
View Source
const HaproxyTemplate = `` /* 6185-byte string literal not displayed */
View Source
const (
	IPTablesExec string = "iptables"
)

Variables

This section is empty.

Functions

func IngressInfo

func IngressInfo() types.IngressInfo

func IngressStatus

func IngressStatus() types.IngressStatus

func RouteManage

func RouteManage(_ context.Context, name string, route *types.RouteManifest) (err error)

Types

type Process

type Process struct {
	// contains filtered or unexported fields
}

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func NewRuntime

func NewRuntime() *Runtime

func (*Runtime) Loop

func (r *Runtime) Loop(ctx context.Context)

func (*Runtime) Restore

func (r *Runtime) Restore(ctx context.Context)

Restore node runtime state

func (*Runtime) Sync

func (r *Runtime) Sync(ctx context.Context, spec *types.IngressManifest) error

Sync node runtime with new spec

Jump to

Keyboard shortcuts

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