hookflags

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceProvider

type ServiceProvider struct {
	FlagServiceName   string
	FlagPodIP         string
	FlagContainerPort string
	FlagServiceTags   string
	FlagCheckPath     string
	CLIContext        *cli.Context
}

ServiceProvider is responsible for providing services that should be registered in Consul discovery service.

func (*ServiceProvider) Get

Get returns slice of services that are configured to be registered in Consul discovery service.

Jump to

Keyboard shortcuts

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