network

package
v1.5.4-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRoutesCheckTimeout = 20000 // 20 second

)

Variables

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

Functions

func AllDefaultGWOK added in v1.5.3

func AllDefaultGWOK(timeout int) error

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