kube

package
v0.0.0-...-113f59a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyClassIsReady

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

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.

Directories

Path Synopsis
v1alpha1
+kubebuilder:object:generate=true +groupName=tailscale.com
+kubebuilder:object:generate=true +groupName=tailscale.com

Jump to

Keyboard shortcuts

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