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