builder

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch added in v0.1.4

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

func (*Batch) Build added in v0.1.4

func (b *Batch) Build() *Loki

func (*Batch) Size added in v0.1.4

func (b *Batch) Size(size int) (batch *Batch)

func (*Batch) Wait added in v0.1.4

func (b *Batch) Wait(wait time.Duration) (batch *Batch)

type Loki

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

func NewLoki

func NewLoki() *Loki

func (*Loki) Batch

func (l *Loki) Batch() *Batch

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) Queue added in v0.1.4

func (l *Loki) Queue() *Queue

func (*Loki) Tenant added in v0.1.0

func (l *Loki) Tenant(tenant 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)

type Queue added in v0.1.4

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

func (*Queue) Build added in v0.1.4

func (q *Queue) Build() *Loki

func (*Queue) Directory added in v0.1.4

func (q *Queue) Directory(directory string) (queue *Queue)

func (*Queue) Name added in v0.1.4

func (q *Queue) Name(name string) (queue *Queue)

Jump to

Keyboard shortcuts

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