builder

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loki

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

func NewLoki

func NewLoki() *Loki

func (*Loki) Batch

func (l *Loki) Batch(size int, wait time.Duration) (loki *Loki)

func (*Loki) Build

func (l *Loki) Build() *core.Factory

func (*Loki) Http

func (l *Loki) Http(http *http.Client) (loki *Loki)

func (*Loki) Label

func (l *Loki) Label(key string, value string) (loki *Loki)

func (*Loki) Labels

func (l *Loki) Labels(labels map[string]string) (loki *Loki)

func (*Loki) Password

func (l *Loki) Password(password string) (loki *Loki)

func (*Loki) Url

func (l *Loki) Url(url string) (loki *Loki)

func (*Loki) Username

func (l *Loki) Username(username string) (loki *Loki)

Jump to

Keyboard shortcuts

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