operator

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: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UnhealthyMemberTTL time.Duration `yaml:"unhealthy-member-ttl"`

	Etcd *etcdmain.Config `yaml:"etcd"`
	//ASG      asg.Config             `yaml:"asg"`
	Snapshot                snapshot.Config `yaml:"snapshot"`
	InitialMembersAddresses []string        `yaml:"initial-member-addresses"`
	CurrentMemberAddress    string          `yaml:"current-member-addres"`
}

Config is the global configuration for an instance of ECO.

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Operator

func (*Operator) Run

func (s *Operator) Run()

Jump to

Keyboard shortcuts

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