cluster

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func New

func New(b bundle.Bundle) Cluster

func (Cluster) MesosLeader

func (c Cluster) MesosLeader() (MesosMaster, error)

func (Cluster) MesosMasters

func (c Cluster) MesosMasters() ([]MesosMaster, error)

type MesosMaster

type MesosMaster struct {
	Node
	IsLeader bool
}

func NewMesosMaster

func NewMesosMaster(m bundle.Host) (MesosMaster, error)

type Node

type Node struct {
	Host bundle.Host
}

func (Node) IP

func (n Node) IP() bundle.IP

Jump to

Keyboard shortcuts

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