Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache 2.0 license.
Index ¶
- type ProviderNetwork
- func (pn *ProviderNetwork) AmendVnetResources(ctx context.Context, cg azaciv2.ContainerGroup, pod *v1.Pod, ...)
- func (pn *ProviderNetwork) CreateOrUpdateACISubnet(ctx context.Context, subnetsClient *aznetworkv2.SubnetsClient, ...) error
- func (pn *ProviderNetwork) GetACISubnet(ctx context.Context, subnetsClient *aznetworkv2.SubnetsClient) (aznetworkv2.Subnet, error)
- func (pn *ProviderNetwork) GetSubnetClient(ctx context.Context, azConfig *auth.Config) (*aznetworkv2.SubnetsClient, error)
- func (pn *ProviderNetwork) SetVNETConfig(ctx context.Context, azConfig *auth.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderNetwork ¶
type ProviderNetwork struct { VnetSubscriptionID string VnetName string VnetResourceGroup string SubnetName string SubnetCIDR string KubeDNSIP string }
func (*ProviderNetwork) AmendVnetResources ¶
func (pn *ProviderNetwork) AmendVnetResources(ctx context.Context, cg azaciv2.ContainerGroup, pod *v1.Pod, clusterDomain string)
func (*ProviderNetwork) CreateOrUpdateACISubnet ¶ added in v1.6.2
func (pn *ProviderNetwork) CreateOrUpdateACISubnet(ctx context.Context, subnetsClient *aznetworkv2.SubnetsClient, currentSubnet aznetworkv2.Subnet) error
func (*ProviderNetwork) GetACISubnet ¶ added in v1.6.0
func (pn *ProviderNetwork) GetACISubnet(ctx context.Context, subnetsClient *aznetworkv2.SubnetsClient) (aznetworkv2.Subnet, error)
func (*ProviderNetwork) GetSubnetClient ¶ added in v1.6.0
func (pn *ProviderNetwork) GetSubnetClient(ctx context.Context, azConfig *auth.Config) (*aznetworkv2.SubnetsClient, error)
func (*ProviderNetwork) SetVNETConfig ¶
Click to show internal directories.
Click to hide internal directories.