Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRunnerRegistry ¶ added in v0.1.0
NewRunnerRegistry creates and returns a new registry client. It uses the host and port from the provided config.
Types ¶
type RegistryConfig ¶
type RegistryConfig struct {
Host string `env:"REDIS_HOST,required"`
Port string `env:"REDIS_PORT,required"`
}
RegistryConfig defines the set of environment variables required for creating a registry client.
func NewConfig ¶
func NewConfig(ctx context.Context) (*RegistryConfig, error)
NewConfig creates a new RegistryConfig from environment variables.
func (*RegistryConfig) ToFlags ¶ added in v0.1.0
func (c *RegistryConfig) ToFlags(set *cli.FlagSet)
ToFlags binds the config to a CLI flag set.
Click to show internal directories.
Click to hide internal directories.