net

package
v0.0.0-...-817438f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePrivateDNSVNetLinks(ctx context.Context, vNetLinksClient privatedns.VirtualNetworkLinksClient, resourceID string) error

func Dial

func Dial(network, address string, sz int) (net.Conn, error)

Dial returns a dialled connection with its send and receive buffer sizes set. If sz <= 0, we leave the default size.

func Listen

func Listen(network, address string, sz int) (net.Listener, error)

Listen returns a listener with its send and receive buffer sizes set, such that sockets which are *returned* by the listener when Accept() is called also have those buffer sizes.

func RemovePrivateDNSZone

func RemovePrivateDNSZone(ctx context.Context, config PrivateZoneRemovalConfig) error

func RemoveZones

func RemoveZones(ctx context.Context,
	vNetLinksClient privatedns.VirtualNetworkLinksClient,
	privateZoneClient privatedns.PrivateZonesClient,
	privateZones []mgmtprivatedns.PrivateZone,
	resourceGroup string) error

func UpdateDNSes

func UpdateDNSes(ctx context.Context, dnsI DNSIClient, resourceGroupID string) error

Types

type DNSIClient

type DNSIClient interface {
	v1.DNSInterface
}

type PrivateZoneRemovalConfig

type PrivateZoneRemovalConfig struct {
	Log                *logrus.Entry
	PrivateZonesClient privatedns.PrivateZonesClient
	Configcli          configclient.Interface
	Mcocli             mcoclient.Interface
	Kubernetescli      kubernetes.Interface
	VNetLinksClient    privatedns.VirtualNetworkLinksClient
	ResourceGroupID    string
}

Jump to

Keyboard shortcuts

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