azure

package
v1.4.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouldNotAuthenticate = errors.New("could not authenticate to Azure with any authorizer " +
		"(from environment, file, or CLI)")
)

Functions

func LoadBalancerPorts added in v1.3.10

func LoadBalancerPorts(lb *network.LoadBalancer) (loadBalancerPorts []int16)

func NewAuthorizer added in v1.3.13

func NewAuthorizer() (authorizer autorest.Authorizer, err error)

NewAuthorizer creates an authorizer for connecting to Azure using a custom credential chain (from ENV, file and CLI)

func NewAzureARMTemplateDiscovery added in v1.3.10

func NewAzureARMTemplateDiscovery(opts ...DiscoveryOption) discovery.Discoverer

func NewAzureComputeDiscovery added in v1.3.3

func NewAzureComputeDiscovery(opts ...DiscoveryOption) discovery.Discoverer

func NewAzureNetworkDiscovery added in v1.3.5

func NewAzureNetworkDiscovery(opts ...DiscoveryOption) discovery.Discoverer

func NewAzureStorageDiscovery

func NewAzureStorageDiscovery(opts ...DiscoveryOption) discovery.Discoverer

Types

type DiscoveryOption added in v1.3.3

type DiscoveryOption interface {
	// contains filtered or unexported methods
}

func WithAuthorizer added in v1.3.3

func WithAuthorizer(authorizer autorest.Authorizer) DiscoveryOption

func WithSender added in v1.3.3

func WithSender(sender autorest.Sender) DiscoveryOption

Jump to

Keyboard shortcuts

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