network

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the Apache 2.0 license.

Index

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

func (pn *ProviderNetwork) SetVNETConfig(ctx context.Context, azConfig *auth.Config) error

Jump to

Keyboard shortcuts

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