Documentation ¶
Index ¶
- Variables
- func GetTargetCondition(conditions []shipper.TargetCondition, condType shipper.TargetConditionType) *shipper.TargetCondition
- func IsReady(conditions []shipper.TargetCondition) (bool, string)
- func NewTargetCondition(condType shipper.TargetConditionType, status corev1.ConditionStatus, ...) shipper.TargetCondition
- func SetTargetCondition(conditions []shipper.TargetCondition, condition shipper.TargetCondition) ([]shipper.TargetCondition, diff.Diff)
- func TransitionToNotOperational(multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, ...) []shipper.TargetCondition
- func TransitionToNotReady(multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, ...) []shipper.TargetCondition
- func TransitionToOperational(multidiff *diff.MultiDiff, conditions []shipper.TargetCondition) []shipper.TargetCondition
- func TransitionToReady(multidiff *diff.MultiDiff, conditions []shipper.TargetCondition) []shipper.TargetCondition
- type TargetConditionDiff
Constants ¶
This section is empty.
Variables ¶
View Source
var ConditionsShouldDiscardTimestamps = false
Functions ¶
func GetTargetCondition ¶
func GetTargetCondition(conditions []shipper.TargetCondition, condType shipper.TargetConditionType) *shipper.TargetCondition
func NewTargetCondition ¶
func NewTargetCondition( condType shipper.TargetConditionType, status corev1.ConditionStatus, reason, message string, ) shipper.TargetCondition
func SetTargetCondition ¶
func SetTargetCondition( conditions []shipper.TargetCondition, condition shipper.TargetCondition, ) ([]shipper.TargetCondition, diff.Diff)
func TransitionToNotOperational ¶
func TransitionToNotOperational( multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, reason, msg string, ) []shipper.TargetCondition
func TransitionToNotReady ¶
func TransitionToNotReady( multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, reason, msg string, ) []shipper.TargetCondition
func TransitionToOperational ¶
func TransitionToOperational( multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, ) []shipper.TargetCondition
func TransitionToReady ¶
func TransitionToReady( multidiff *diff.MultiDiff, conditions []shipper.TargetCondition, ) []shipper.TargetCondition
Types ¶
type TargetConditionDiff ¶
type TargetConditionDiff struct {
// contains filtered or unexported fields
}
func NewTargetConditionDiff ¶
func NewTargetConditionDiff(c1, c2 *shipper.TargetCondition) *TargetConditionDiff
func (*TargetConditionDiff) IsEmpty ¶
func (d *TargetConditionDiff) IsEmpty() bool
func (*TargetConditionDiff) String ¶
func (d *TargetConditionDiff) String() string
Click to show internal directories.
Click to hide internal directories.