etcdmain

package
v0.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 45 Imported by: 0

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 {
	embed.Config

	ConfigFlags
	// contains filtered or unexported fields
}

Config holds the Config for a command line invocation of etcd

func NewConfig

func NewConfig() *Config

func (*Config) ConfigFromCmdLine

func (cfg *Config) ConfigFromCmdLine() error

type ConfigFlags

type ConfigFlags struct {
	*flag.FlagSet
	// contains filtered or unexported fields
}

ConfigFlags has the set of flags used for command line parsing a Config

Jump to

Keyboard shortcuts

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