status

package
v0.0.0-...-10c8642 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConditionAvailable means daemonSet is available and the number of scheduled pods
	// is the same of the number of desired pods.
	ConditionAvailable = "Available"
	// ConditionProgressing means daemonSet is progressing. Progress for a daemonSet
	// is considered when desired pods are being created.
	ConditionProgressing = "Progressing"
	// ConditionDegraded means daemonset availability conditions have not been achieved, when
	// one of its pods fails to be created or deleted.
	ConditionDegraded = "Degraded"
)

Variables

This section is empty.

Functions

func IsIngressNodeFirewallConfigAvailable

func IsIngressNodeFirewallConfigAvailable(ctx context.Context, client k8sclient.Client, namespace string) error

IsIngressNodeFirewallConfigAvailable check if the availability conditions for ingress node firewall config resource have been achieved.

func Update

func Update(ctx context.Context, client k8sclient.Client, infcfg *ingressnodefwv1alpha1.IngressNodeFirewallConfig, condition string, reason string, message string) error

Update updates ingress node firewall config object status field.

Types

type IngressNodeFirewallConfigResourcesNotReadyError

type IngressNodeFirewallConfigResourcesNotReadyError struct {
	Message string
}

IngressNodeFirewallConfigResourcesNotReadyError contains Error message explaining the reason why ingress node firewall Config is not ready.

func (IngressNodeFirewallConfigResourcesNotReadyError) Error

func (IngressNodeFirewallConfigResourcesNotReadyError) Is

Jump to

Keyboard shortcuts

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