network

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 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 *v1alpha2.Subnet) networkmgmt.Subnet

NewSubnetParameters returns an Azure Subnet object from a subnet spec

func NewVirtualNetworkParameters

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

NewVirtualNetworkParameters returns an Azure VirtualNetwork object from a virtual network spec

func SubnetNeedsUpdate

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

SubnetNeedsUpdate determines if a virtual network need to be updated

func SubnetStatusFromAzure

func SubnetStatusFromAzure(az networkmgmt.Subnet) v1alpha2.SubnetStatus

SubnetStatusFromAzure converts an Azure subnet to a SubnetStatus

func VirtualNetworkNeedsUpdate

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

VirtualNetworkNeedsUpdate determines if a virtual network need to be updated

func VirtualNetworkStatusFromAzure

func VirtualNetworkStatusFromAzure(az networkmgmt.VirtualNetwork) v1alpha2.VirtualNetworkStatus

VirtualNetworkStatusFromAzure converts an Azure virtual network to a VirtualNetworkStatus

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