dashboard

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node added in v0.3.0

type Node struct {
	Config config.Config
	State  membership.State
}

Node defines the aggregation of other entities to represent a Node we need here

type Service

type Service interface {
	// ListNodes returns the list of all the nodes configuration
	ListNodes(context.Context) ([]*Node, error)
}

Service exposes the Dashboard service interface

func New

func New(cfg *config.Config, m storing.Membership, logger kitlog.Logger) Service

New returns an implementation of the Dashboard with the given parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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