registration

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverrideRegistryConfigWithUrl added in v0.0.25

func OverrideRegistryConfigWithUrl(registryConfig registryTypes.Config, registryUrl string) (registryTypes.Config, error)

TODO: Remove this func for release v2.0.0 For backwards compatibility with Fuji Device Service, -registry is a string that can contain a provider URL.

func RegisterWithRegistry

func RegisterWithRegistry(
	ctx context.Context,
	startupTimer startup.Timer,
	config interfaces.Configuration,
	registryUrl string,
	envVars *environment.Variables,
	lc logger.LoggingClient,
	serviceKey string) (registry.Client, error)

TODO: Remove registryUrl parameter for release v2.0.0 RegisterWithRegistry connects to the registry and registers the service with the Registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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