master

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Token = "4a996f.8f1da0db96f8e50e"
)

Variables

This section is empty.

Functions

func NewInitMasterOperation

func NewInitMasterOperation(config *InitMasterOperationConfig) (*initMasterOperation, error)

func NewJoinMasterOperation

func NewJoinMasterOperation(config *JoinMasterOperationConfig) (*joinMasterOperation, error)

Types

type InitMasterOperationConfig

type InitMasterOperationConfig struct {
	Logger        *logrus.Entry
	CertKey       string
	Node          *pb.Node
	MasterNodes   []*pb.Node
	EtcdNodes     []*pb.Node
	ClusterConfig *pb.ClusterConfig
}

type JoinMasterOperationConfig

type JoinMasterOperationConfig struct {
	Logger        *logrus.Entry
	CertKey       string
	Node          *pb.Node
	MasterNodes   []*pb.Node
	ClusterConfig *pb.ClusterConfig
}

Jump to

Keyboard shortcuts

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