Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetNetwork ¶
GetNetwork tries to query for a network as an ID and if it can't be found tries to query as a name. If the name query returns exactly one entry then it is returned to the caller. Otherwise an error is returned.
func ResolveServiceNetworks ¶
func ResolveServiceNetworks(ctx context.Context, c api.ControlClient, spec *api.ServiceSpec) error
ResolveServiceNetworks takes a service spec and resolves network names to network IDs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.