cmd

package
v1.7.15 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithSignal added in v1.6.0

func ContextWithSignal(ctx context.Context) context.Context

ContextWithSignal create a context cancelled when SIGINT or SIGTERM are notified

Types

type TraefikConfiguration added in v1.6.0

type TraefikConfiguration struct {
	configuration.GlobalConfiguration `mapstructure:",squash" export:"true"`
	ConfigFile                        string `short:"c" description:"Configuration file to use (TOML)." export:"true"`
}

TraefikConfiguration holds GlobalConfiguration and other stuff

func NewTraefikConfiguration added in v1.6.0

func NewTraefikConfiguration() *TraefikConfiguration

NewTraefikConfiguration creates a TraefikConfiguration with default values

func NewTraefikDefaultPointersConfiguration added in v1.6.0

func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration

NewTraefikDefaultPointersConfiguration creates a TraefikConfiguration with pointers default values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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