status

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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 Controller

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

Status controller watches workstatues and checks whether the corresponding workload object asks for the singleton status returning. If yes, the full status will be copied to the workload object in WDS.

func NewController

func NewController(wdsRestConfig *rest.Config, imbsRestConfig *rest.Config, wdsName string) (*Controller, error)

Create a new status controller

func (*Controller) Start

func (c *Controller) Start(parentCtx context.Context, workers int, cListers chan interface{}) error

Start the status controller

Jump to

Keyboard shortcuts

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