cmd

package
v1.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithSignal

func ContextWithSignal(ctx context.Context) context.Context

ContextWithSignal create a context cancelled when SIGINT or SIGTERM are notified

Types

type TraefikConfiguration

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

func NewTraefikConfiguration() *TraefikConfiguration

NewTraefikConfiguration creates a TraefikConfiguration with default values

func NewTraefikDefaultPointersConfiguration

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