etcdmain

package
v0.0.0-...-acf0fab Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2018 License: Apache-2.0 Imports: 49 Imported by: 3

Documentation

Overview

Package etcdmain contains the main entry point for the etcd binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Config

type Config struct {
	Ec           embed.Config
	Cp           configProxy
	Cf           configFlags
	ConfigFile   string
	PrintVersion bool
	Ignored      []string
}

Config holds the Config for a command line invocation of etcd

func NewConfig

func NewConfig() *Config

func (*Config) ConfigFromCmdLine

func (cfg *Config) ConfigFromCmdLine() error

func (*Config) Parse

func (cfg *Config) Parse(arguments []string) error

Jump to

Keyboard shortcuts

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