status

package
v0.0.0-...-1bdd90c Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: Apache-2.0 Imports: 20 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 kubernetes.Interface

	PublishStatusAddress string
	PublishService       string

	ElectionID string

	UpdateStatusOnShutdown bool
	Concurrency            int

	IngressLister ingressLister

	OnStartedLeading func()
}

Config ...

type Syncer

type Syncer interface {
	Run(chan struct{})

	Shutdown(bool)

	Callbacks() leaderelection.LeaderCallbacks
}

Syncer ...

func NewStatusSyncer

func NewStatusSyncer(podInfo *k8s.PodInfo, config Config) Syncer

NewStatusSyncer returns a new Syncer instance

Jump to

Keyboard shortcuts

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