condition

package
v0.0.0-...-5c57d85 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

Equal returns true if the two given conditions are equal. We deem two conditions equal if Type, Status, Reason and Message are a match (despite LastTransitionTime being different).

func NewAvailableError

func NewAvailableError(reason string, err error) error

func NewInstallReadinessError

func NewInstallReadinessError(reason string, err error) error

Types

type Builder

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

func (*Builder) WithAvailable

func (b *Builder) WithAvailable(status corev1.ConditionStatus, message string) (builder *Builder)

func (*Builder) WithCondition

func (b *Builder) WithCondition(desired *autoscalingv1.ClusterResourceOverrideCondition)

func (*Builder) WithError

func (b *Builder) WithError(err error) (builder *Builder)

func (*Builder) WithInstallReady

func (b *Builder) WithInstallReady() (builder *Builder)

Jump to

Keyboard shortcuts

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