state

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressState

type IngressState struct {
	Info   types.IngressInfo
	Status types.IngressStatus
}

type RouteState

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

func (*RouteState) AddRouteManifest

func (rs *RouteState) AddRouteManifest(key string, route *types.RouteManifest)

func (*RouteState) AddRouteStatus

func (rs *RouteState) AddRouteStatus(key string, status *types.RouteStatus)

func (*RouteState) DelRoute

func (rs *RouteState) DelRoute(key string)

func (*RouteState) DelRouteManifests

func (rs *RouteState) DelRouteManifests(key string)

func (*RouteState) GetHash

func (rs *RouteState) GetHash() string

func (*RouteState) GetRouteManifest

func (rs *RouteState) GetRouteManifest(key string) *types.RouteManifest

func (*RouteState) GetRouteManifests

func (rs *RouteState) GetRouteManifests() map[string]*types.RouteManifest

func (*RouteState) GetRouteStatus

func (rs *RouteState) GetRouteStatus(key string) *types.RouteStatus

func (*RouteState) GetRouteStatuses

func (rs *RouteState) GetRouteStatuses() map[string]*types.RouteStatus

func (*RouteState) SetHash

func (rs *RouteState) SetHash(hash string)

func (*RouteState) SetRouteManifest

func (rs *RouteState) SetRouteManifest(key string, route *types.RouteManifest)

func (*RouteState) SetRouteStatus

func (rs *RouteState) SetRouteStatus(key string, status *types.RouteStatus)

func (*RouteState) Watch

func (rs *RouteState) Watch(watcher chan string, done chan bool)

type State

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

func New

func New() *State

func (*State) Ingress

func (s *State) Ingress() *IngressState

func (*State) Routes

func (s *State) Routes() *RouteState

Jump to

Keyboard shortcuts

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