Documentation ¶
Index ¶
Constants ¶
View Source
const ( NSGControlPlaneSuffixV1 = "-controlplane-nsg" NSGNodeSuffixV1 = "-node-nsg" NSGSuffixV2 = "-nsg" )
Network security group constants
Variables ¶
This section is empty.
Functions ¶
func NetworkSecurityGroupID ¶
func NetworkSecurityGroupID(oc *api.OpenShiftCluster, subnetID string) (string, error)
NetworkSecurityGroupID returns the NetworkSecurityGroup ID for a given subnet ID
func NetworkSecurityGroupIDExpanded ¶
func NetworkSecurityGroupIDExpanded(architectureVersion api.ArchitectureVersion, resourceGroupID, infraID string, isWorkerSubnet bool) (string, error)
NetworkSecurityGroupIDExpanded returns the NetworkSecurityGroup ID for a given subnetID, without the OpenShift Cluster document
Types ¶
Click to show internal directories.
Click to hide internal directories.