nic

package
v0.0.0-...-d214ba0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureNetworkInterfaceClient

type AzureNetworkInterfaceClient struct {
	Creds        config.Credentials
	SecretClient secrets.SecretClient
	Scheme       *runtime.Scheme
}

func NewAzureNetworkInterfaceClient

func NewAzureNetworkInterfaceClient(creds config.Credentials, secretclient secrets.SecretClient, scheme *runtime.Scheme) *AzureNetworkInterfaceClient

func (*AzureNetworkInterfaceClient) CreateNetworkInterface

func (m *AzureNetworkInterfaceClient) CreateNetworkInterface(ctx context.Context, location string, resourceGroupName string, resourceName string, vnetName string, subnetName string, publicIPAddressName string) (future vnetwork.InterfacesCreateOrUpdateFuture, err error)

func (*AzureNetworkInterfaceClient) Delete

func (*AzureNetworkInterfaceClient) DeleteNetworkInterface

func (m *AzureNetworkInterfaceClient) DeleteNetworkInterface(ctx context.Context, nicName string, resourcegroup string) (status string, err error)

func (*AzureNetworkInterfaceClient) Ensure

func (*AzureNetworkInterfaceClient) GetNetworkInterface

func (m *AzureNetworkInterfaceClient) GetNetworkInterface(ctx context.Context, resourcegroup string, nicName string) (nic vnetwork.Interface, err error)

func (*AzureNetworkInterfaceClient) GetParents

func (*AzureNetworkInterfaceClient) GetStatus

type NetworkInterfaceManager

type NetworkInterfaceManager interface {
	CreateNetworkInterface(ctx context.Context,
		location string,
		resourceGroupName string,
		resourceName string,
		vnetName string,
		subnetName string,
		publicIPAddressName string) (network.Interface, error)

	DeleteNetworkInterface(ctx context.Context,
		resourceName string,
		resourceGroupName string) (string, error)

	GetNetworkInterface(ctx context.Context,
		resourceGroupName string,
		resourceName string) (network.Interface, error)

	// also embed async client methods
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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