Documentation ¶
Index ¶
- Constants
- func AddAnnotations(o metav1.Object, desired map[string]string)
- func GetAnnotation(o metav1.Object, annotation string) string
- func GetNetworkTopologyTransitGatewayID(o metav1.Object) string
- func HasNetworkTopologyMode(o metav1.Object) bool
- func IsNetworkTopologyModeGiantSwarmManaged(o metav1.Object) bool
- func IsNetworkTopologyModeNone(o metav1.Object) bool
- func IsNetworkTopologyModeUserManaged(o metav1.Object) bool
- func SetNetworkTopologyTransitGatewayID(o metav1.Object, transitGatewayID string)
Constants ¶
View Source
const ( // NetworkTopologyModeAnnotation is the annotation indicating the network topology mode a cluster uses // Valid values are "GiantSwarmManaged", "CustomerManaged" and "None" NetworkTopologyModeAnnotation = "network-topology.giantswarm.io/mode" NetworkTopologyModeGiantSwarmManaged = "GiantSwarmManaged" NetworkTopologyModeUserManaged = "UserManaged" NetworkTopologyModeNone = "None" // NetworkTopologyTransitGatewayIDAnnotation contains the ID of the Transit Gateway used by the cluster. // This is either the user-provided TGW or the one created by this operator. NetworkTopologyTransitGatewayIDAnnotation = "network-topology.giantswarm.io/transit-gateway" )
Variables ¶
This section is empty.
Functions ¶
func AddAnnotations ¶
AddAnnotations sets the desired annotations on the object
func GetAnnotation ¶
GetAnnotation returns the value of the specified annotation.
func HasNetworkTopologyMode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.