podreadiness

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCondition

func SetCondition(condChan chan<- v1.PodCondition, condType RTEConditionType, condStatus v1.ConditionStatus)

Types

type ConditionInjector

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

func NewConditionInjector

func NewConditionInjector(cs kubernetes.Interface) (*ConditionInjector, error)

func (*ConditionInjector) Inject

func (ci *ConditionInjector) Inject(cond v1.PodCondition) error

func (*ConditionInjector) Run

func (ci *ConditionInjector) Run(condChan <-chan v1.PodCondition)

type RTEConditionType

type RTEConditionType string

RTEConditionType is a valid value for PodCondition.Type

const (
	// PodresourcesFetched means that resources scanned successfully.
	PodresourcesFetched RTEConditionType = "PodresourcesFetched"
	// NodeTopologyUpdated means that noderesourcetopology objects updated successfully.
	NodeTopologyUpdated RTEConditionType = "NodeTopologyUpdated"
)

These are valid conditions of RTE pod.

Jump to

Keyboard shortcuts

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