Documentation ¶
Index ¶
- Variables
- func GetClusterCapacityCondition(status shipper.ClusterCapacityStatus, condType shipper.ClusterConditionType) *shipper.ClusterCapacityCondition
- func NewClusterCapacityCondition(condType shipper.ClusterConditionType, status corev1.ConditionStatus, ...) *shipper.ClusterCapacityCondition
- func SetClusterCapacityCondition(status *shipper.ClusterCapacityStatus, ...) diff.Diff
- type ClusterCapacityConditionDiff
Constants ¶
This section is empty.
Variables ¶
View Source
var CapacityConditionsShouldDiscardTimestamps = false
Functions ¶
func GetClusterCapacityCondition ¶
func GetClusterCapacityCondition(status shipper.ClusterCapacityStatus, condType shipper.ClusterConditionType) *shipper.ClusterCapacityCondition
func NewClusterCapacityCondition ¶
func NewClusterCapacityCondition(condType shipper.ClusterConditionType, status corev1.ConditionStatus, reason, message string) *shipper.ClusterCapacityCondition
func SetClusterCapacityCondition ¶
func SetClusterCapacityCondition(status *shipper.ClusterCapacityStatus, condition shipper.ClusterCapacityCondition) diff.Diff
Types ¶
type ClusterCapacityConditionDiff ¶
type ClusterCapacityConditionDiff struct {
// contains filtered or unexported fields
}
func NewClusterCapacityConditionDiff ¶
func NewClusterCapacityConditionDiff(c1, c2 *shipper.ClusterCapacityCondition) *ClusterCapacityConditionDiff
func (*ClusterCapacityConditionDiff) IsEmpty ¶
func (d *ClusterCapacityConditionDiff) IsEmpty() bool
func (*ClusterCapacityConditionDiff) String ¶
func (d *ClusterCapacityConditionDiff) String() string
Click to show internal directories.
Click to hide internal directories.