Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOpts ¶
type ClientOpts struct {
BasicAuth *BasicAuth
}
type LokiClient ¶
type LokiClient interface { Ping(ctx context.Context) error Tail(streamSelectors []StreamSelector, filter *string, startTime, endTime *time.Time, limitLength *int, connection *fWebsocket.Conn) error Close() }
func NewLokiClient ¶
func NewLokiClient(httpAddr string, opts ClientOpts) (LokiClient, error)
type LokiClientOptions ¶
type LokiClientOptions interface { GetLokiServerUrlAndOptions() (string, ClientOpts) GetLogServerPort() uint64 }
type StreamSelector ¶
Click to show internal directories.
Click to hide internal directories.