Documentation
¶
Index ¶
- func ProxyClassIsReady(pc *tsapi.ProxyClass) bool
- func RemoveConnectorCondition(conn *tsapi.Connector, conditionType tsapi.ConnectorConditionType)
- func SetConnectorCondition(cn *tsapi.Connector, conditionType tsapi.ConnectorConditionType, ...)
- func SetProxyClassCondition(pc *tsapi.ProxyClass, conditionType tsapi.ConnectorConditionType, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxyClassIsReady ¶ added in v1.60.0
func ProxyClassIsReady(pc *tsapi.ProxyClass) bool
func RemoveConnectorCondition ¶
func RemoveConnectorCondition(conn *tsapi.Connector, conditionType tsapi.ConnectorConditionType)
RemoveConnectorCondition will remove condition of the given type.
func SetConnectorCondition ¶
func SetConnectorCondition(cn *tsapi.Connector, conditionType tsapi.ConnectorConditionType, status metav1.ConditionStatus, reason, message string, gen int64, clock tstime.Clock, logger *zap.SugaredLogger)
SetConnectorCondition ensures that Connector status has a condition with the given attributes. LastTransitionTime gets set every time condition's status changes.
func SetProxyClassCondition ¶ added in v1.60.0
func SetProxyClassCondition(pc *tsapi.ProxyClass, conditionType tsapi.ConnectorConditionType, status metav1.ConditionStatus, reason, message string, gen int64, clock tstime.Clock, logger *zap.SugaredLogger)
SetProxyClassCondition ensures that ProxyClass status has a condition with the given attributes. LastTransitionTime gets set every time condition's status changes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.