network

package
v1.5.2-rc2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 12 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

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

func GetEngines

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

func GetServices

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

func LoadFromNetwork

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

func LoadFromNetworkWithCache

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

func LoadMultiEngineResource

func LoadMultiEngineResource(name string) ([]byte, error)

func LoadResource

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

func LoadServiceResource

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

func SetProxyEnvironmentVariables

func SetProxyEnvironmentVariables()

func UpdateCache added in v1.5.2

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

func UpdateCaches added in v1.5.2

func UpdateCaches(urls []string, key string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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