cmd

package
v0.0.0-...-e69d149 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationHandler

type ConfigurationHandler interface {
	ReadConfig(path string) (configuration.WatchConfiguration, error)
}

type Execute

type Execute struct {
	Positional PositionalArgs `positional-args:"yes"`

	LogLevel LogLevel `` /* 184-byte string literal not displayed */

	ConfigurationHandler ConfigurationHandler
}

func (*Execute) Execute

func (command *Execute) Execute(args []string) error

type LogLevel

type LogLevel string

LogLevel is a flag that when parsed correctly will set the log level in logrus.

func (*LogLevel) UnmarshalFlag

func (level *LogLevel) UnmarshalFlag(value string) error

type PositionalArgs

type PositionalArgs struct {
	ConfigPath flags.Filename `positional-arg-name:"PATH_TO_CONFIG" required:"true" description:"Path to the appli.ed configuration file."`
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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