local

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLogger

func WithLogger(l *log.Logger) erpOption

Types

type EgressReverseProxy

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

func NewEgressReverseProxy

func NewEgressReverseProxy(
	localReader query.DataReader,
	engine QueryEngine,
	opts ...erpOption,
) *EgressReverseProxy

func (*EgressReverseProxy) InstantQuery

func (*EgressReverseProxy) LabelValuesQuery

func (*EgressReverseProxy) LabelsQuery

func (*EgressReverseProxy) RangeQuery

func (*EgressReverseProxy) SeriesQuery

type IngressClientFunc

type IngressClientFunc func(ctx context.Context, r *rpc.SendRequest, opts ...grpc.CallOption) (*rpc.SendResponse, error)

IngressClientFunc transforms a function into an IngressClient.

func (IngressClientFunc) Send

Send implements an IngressClient.

type IngressReverseProxy

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

IngressReverseProxy is a reverse proxy for Ingress requests.

func NewIngressReverseProxy

func NewIngressReverseProxy(
	localClient rpc.IngressClient,
	log *log.Logger,
) *IngressReverseProxy

NewIngressReverseProxy returns a new IngressReverseProxy.

func (*IngressReverseProxy) Send

type LocalStoreReader

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

func NewLocalStoreReader

func NewLocalStoreReader(store Store) *LocalStoreReader

func (LocalStoreReader) Labels

func (LocalStoreReader) Read

func (reader LocalStoreReader) Read(ctx context.Context, params *storage.SelectParams, labelMatchers ...*labels.Matcher) (storage.SeriesSet, error)

Jump to

Keyboard shortcuts

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