cloudprovider

package
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TenantID            string `json:"tenantId,omitempty"`
	SubscriptionID      string `json:"subscriptionId,omitempty"`
	AadClientID         string `json:"aadClientId,omitempty"`
	AadClientSecret     string `json:"aadClientSecret,omitempty"`
	ResourceGroup       string `json:"resourceGroup,omitempty"`
	Location            string `json:"location,omitempty"`
	LoadBalancerSku     string `json:"loadBalancerSku,omitempty"`
	SecurityGroupName   string `json:"securityGroupName,omitempty"`
	VMType              string `json:"vmType,omitempty"`
	SubnetName          string `json:"subnetName,omitempty"`
	VnetName            string `json:"vnetName,omitempty"`
	UseInstanceMetadata bool   `json:"useInstanceMetadata,omitempty"`
}

func Load

func Load(path string) (*Config, error)

Load returns Config unmarshalled from the file provided

Jump to

Keyboard shortcuts

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