status

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2018 License: Apache-2.0 Imports: 22 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 {
	Client clientset.Interface

	OnStartedLeading func()

	PublishService string

	PublishStatusAddress string

	ElectionID string

	UpdateStatusOnShutdown bool

	IngressLister ingressLister

	DefaultIngressClass string
	IngressClass        string
}

Config ...

type Sync

type Sync interface {
	Run()
	Shutdown()

	IsLeader() bool
}

Sync ...

func NewStatusSyncer

func NewStatusSyncer(config Config) Sync

NewStatusSyncer returns a new Sync instance

Jump to

Keyboard shortcuts

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