network

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoNetwork = errors.New("Networking not available to load resource")
	ErrNotFound  = errors.New("Failed to find resource")
)

Functions

func GetConsoles added in v0.5.0

func GetConsoles(urls []string) ([]string, error)

func GetEngines added in v0.6.0

func GetEngines(urls []string) ([]string, error)

func GetServices

func GetServices(urls []string) ([]string, error)

func LoadFromNetwork added in v1.1.1

func LoadFromNetwork(location string) ([]byte, error)

func LoadFromNetworkWithCache added in v1.1.1

func LoadFromNetworkWithCache(location string) ([]byte, error)

func LoadResource

func LoadResource(location string, network bool) ([]byte, error)

func LoadServiceResource added in v0.5.0

func LoadServiceResource(name string, useNetwork bool, cfg *config.CloudConfig) ([]byte, error)

func SetProxyEnvironmentVariables

func SetProxyEnvironmentVariables()

Types

This section is empty.

Jump to

Keyboard shortcuts

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