status

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 24 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 {
	CoreClient       clientset.Interface
	KongConfigClient configClientSet.Interface
	KnativeClient    knativeClientSet.Interface

	OnStartedLeading func()

	PublishService string

	PublishStatusAddress string

	UpdateStatusOnShutdown bool

	IngressLister ingressLister

	IngressAPI util.IngressAPI

	Logger logrus.FieldLogger
}

Config ...

type Sync

type Sync interface {
	Run()
	Shutdown(l bool)

	Callbacks() leaderelection.LeaderCallbacks
}

Sync ...

func NewStatusSyncer

func NewStatusSyncer(ctx context.Context, config Config) (Sync, error)

NewStatusSyncer returns a new Sync instance

Jump to

Keyboard shortcuts

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