openshift_etcd

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedStartEtcdServerName = "etcd"

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdOptions

type EtcdOptions struct {
	ConfigFile string
	Output     io.Writer
}

func NewCommandStartEtcdServer

func NewCommandStartEtcdServer(name, basename string, out, errout io.Writer) (*cobra.Command, *EtcdOptions)

NewCommandStartEtcdServer starts only the etcd server

func (*EtcdOptions) RunEtcdServer

func (o *EtcdOptions) RunEtcdServer() error

RunEtcdServer takes the options and starts the etcd server

func (*EtcdOptions) StartEtcdServer

func (o *EtcdOptions) StartEtcdServer() error

StartEtcdServer calls RunEtcdServer and then waits forever

func (*EtcdOptions) Validate

func (o *EtcdOptions) Validate() error

Jump to

Keyboard shortcuts

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