Documentation
¶
Overview ¶
Package discovery contains an experimental implementation of the Image Discovery section of the appc specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACIEndpoint ¶
type App ¶
func NewAppFromString ¶
NewAppFromString takes a command line app parameter and returns a map of labels.
Example app parameters:
example.com/reduce-worker:1.0.0 example.com/reduce-worker,channel=alpha,label=value
type Endpoints ¶
type Endpoints struct { ACIEndpoints []ACIEndpoint Keys []string }
func DiscoverEndpoints ¶
DiscoverEndpoints will make HTTPS requests to find the ac-discovery meta tags and optionally will use HTTP if insecure is set. Based on the app passed the discovery templates will be filled out and returned in eps.