network

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceEndpoints

NewServiceEndpoints converts to Azure ServiceEndpointPropertiesFormat

func NewSubnetParameters

func NewSubnetParameters(s *v1alpha3.Subnet) networkmgmt.Subnet

NewSubnetParameters returns an Azure Subnet object from a subnet spec

func NewVirtualNetworkParameters

func NewVirtualNetworkParameters(v *v1alpha3.VirtualNetwork) networkmgmt.VirtualNetwork

NewVirtualNetworkParameters returns an Azure VirtualNetwork object from a virtual network spec

func SubnetNeedsUpdate

func SubnetNeedsUpdate(kube *v1alpha3.Subnet, az networkmgmt.Subnet) bool

SubnetNeedsUpdate determines if a virtual network need to be updated

func UpdateSubnetStatusFromAzure

func UpdateSubnetStatusFromAzure(v *v1alpha3.Subnet, az networkmgmt.Subnet)

UpdateSubnetStatusFromAzure updates the status related to the external Azure subnet in the SubnetStatus

func UpdateVirtualNetworkStatusFromAzure

func UpdateVirtualNetworkStatusFromAzure(v *v1alpha3.VirtualNetwork, az networkmgmt.VirtualNetwork)

UpdateVirtualNetworkStatusFromAzure updates the status related to the external Azure virtual network in the VirtualNetworkStatus

func VirtualNetworkNeedsUpdate

func VirtualNetworkNeedsUpdate(kube *v1alpha3.VirtualNetwork, az networkmgmt.VirtualNetwork) bool

VirtualNetworkNeedsUpdate determines if a virtual network need to be updated

Types

type SubnetsClient

type SubnetsClient networkapi.SubnetsClientAPI

A SubnetsClient handles CRUD operations for Azure Virtual Networks.

func NewSubnetsClient

func NewSubnetsClient(ctx context.Context, credentials []byte) (SubnetsClient, error)

NewSubnetsClient returns a new Azure Virtual Networks client. Credentials must be passed as JSON encoded data.

type VirtualNetworksClient

type VirtualNetworksClient networkapi.VirtualNetworksClientAPI

A VirtualNetworksClient handles CRUD operations for Azure Virtual Networks.

func NewVirtualNetworksClient

func NewVirtualNetworksClient(ctx context.Context, credentials []byte) (VirtualNetworksClient, error)

NewVirtualNetworksClient returns a new Azure Virtual Networks client. Credentials must be passed as JSON encoded data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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