Documentation ¶
Index ¶
- func NewServiceEndpoints(e []v1alpha2.ServiceEndpointPropertiesFormat) *[]networkmgmt.ServiceEndpointPropertiesFormat
- func NewSubnetParameters(s *v1alpha2.Subnet) networkmgmt.Subnet
- func NewVirtualNetworkParameters(v *v1alpha2.VirtualNetwork) networkmgmt.VirtualNetwork
- func SubnetNeedsUpdate(kube *v1alpha2.Subnet, az networkmgmt.Subnet) bool
- func SubnetStatusFromAzure(az networkmgmt.Subnet) v1alpha2.SubnetStatus
- func VirtualNetworkNeedsUpdate(kube *v1alpha2.VirtualNetwork, az networkmgmt.VirtualNetwork) bool
- func VirtualNetworkStatusFromAzure(az networkmgmt.VirtualNetwork) v1alpha2.VirtualNetworkStatus
- type SubnetsClient
- type VirtualNetworksClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceEndpoints ¶
func NewServiceEndpoints(e []v1alpha2.ServiceEndpointPropertiesFormat) *[]networkmgmt.ServiceEndpointPropertiesFormat
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.