Documentation ¶
Index ¶
- Constants
- func NetworkSecurityGroupID(oc *api.OpenShiftCluster, subnetID string) (string, error)
- func NetworkSecurityGroupIDExpanded(architectureVersion api.ArchitectureVersion, resourceGroupID, infraID string, ...) (string, error)
- func Split(subnetID string) (string, string, error)
- type KubeManager
- type Manager
- type Subnet
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 ¶
type KubeManager ¶
KubeManager interface interact with kubernetes layer to extract required information
func NewKubeManager ¶
func NewKubeManager(maocli machineclient.Interface, subscriptionID string) KubeManager
type Manager ¶
type Manager interface { Get(ctx context.Context, subnetID string) (*mgmtnetwork.Subnet, error) GetHighestFreeIP(ctx context.Context, subnetID string) (string, error) CreateOrUpdate(ctx context.Context, subnetID string, subnet *mgmtnetwork.Subnet) error }
func NewManager ¶
func NewManager(environment *azureclient.AROEnvironment, subscriptionID string, spAuthorizer autorest.Authorizer) Manager
Click to show internal directories.
Click to hide internal directories.