cluster

package
v0.0.0-...-e951c9a Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteWriteServer

func NewRemoteWriteServer(handler *http.HandlerFunc) *httptest.Server

Types

type Cluster

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

func New

func New() *Cluster

func (*Cluster) AddComponent

func (c *Cluster) AddComponent(name string, flags ...string) *Component

func (*Cluster) Cleanup

func (c *Cluster) Cleanup() error

func (*Cluster) Run

func (c *Cluster) Run() error

type Component

type Component struct {
	RulesTenant string

	RemoteWriteUrls []string
	// contains filtered or unexported fields
}

func (*Component) GRPCURL

func (c *Component) GRPCURL() *url.URL

func (*Component) HTTPURL

func (c *Component) HTTPURL() *url.URL

Jump to

Keyboard shortcuts

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