app

package
v0.0.0-...-7873577 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(opts ...NewOption) *App

func (*App) Run

func (a *App) Run(ctx context.Context) error

type NewOption

type NewOption func(*App)

func WithExternalLabels

func WithExternalLabels(strs ...string) NewOption

func WithGlowmarktLogin

func WithGlowmarktLogin(email, password string) NewOption

func WithLogger

func WithLogger(l log.Logger) NewOption

func WithTSDBBlockLength

func WithTSDBBlockLength(d time.Duration) NewOption

func WithTSDBPath

func WithTSDBPath(s string) NewOption

func WithTSDBRetention

func WithTSDBRetention(d time.Duration) NewOption

func WithThanosBucketObj

func WithThanosBucketObj(str string) NewOption

Jump to

Keyboard shortcuts

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