cluster

package
v0.0.0-...-869b895 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 5 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 interface {
	Run() error
	Close() error
}

Cluster interface

func New

func New(cfg *Configuration) Cluster

New Cluster

type Configuration

type Configuration struct {
	Name string
	Key  string
}

Configuration struct

type NodeMeta

type NodeMeta struct {
	Cluster    string
	Region     string
	Type       NodeType
	Properties map[string]interface{}
}

NodeMeta struct

type NodeType

type NodeType string

NodeType type

const (
	NodeTypeAPI     NodeType = "api"
	NodeTypeIndex   NodeType = "index"
	NodeTypeStorage NodeType = "storage"
)

NodeType enums

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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