query

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByContainerIdRequest

type ByContainerIdRequest interface {
	Request
	GetOffset() int64
	GetPattern() string
	GetRequestId() string
	GetId() string
	GetSource() string
	GetStream() string
}

type ByContainerMetaRequest

type ByContainerMetaRequest interface {
	Request
	GetPodName() string
	GetPodNamespace() string
	GetContainerName() string
	GetClusterName() string
	GetIsFirstQuery() bool
}

type ByExpressionRequest

type ByExpressionRequest interface {
	Request
	GetQueryExpression() string
	GetQueryMeta() *pb.QueryMeta
	GetExtraFilter() *pb.ExtraFilter
}

type LogRequest

type LogRequest struct {
	RequestID     string `form:"requestId"`
	LogID         string `form:"requestId"`
	Source        string `form:"source"`
	ID            string `form:"id"`
	Stream        string `form:"stream"`
	Start         int64  `form:"start"`
	End           int64  `form:"end"`
	Count         int64  `form:"count"`
	ApplicationID string `from:"applicationId"`
	ClusterName   string `from:"clusterName"`
	Pattern       string `from:"pattern"`
	Offset        int64  `from:"offset"`
	Live          bool   `from:"live"`
	Debug         bool   `from:"debug"`
	PodName       string `form:"podName"`
	PodNamespace  string `form:"podNamespace"`
	ContainerName string `form:"containerName"`
	IsFallBack    bool   `form:"isFallBack"`
	// contains filtered or unexported fields
}

LogRequest .

func (*LogRequest) GetCount

func (r *LogRequest) GetCount() int64

func (*LogRequest) GetDebug

func (r *LogRequest) GetDebug() bool

func (*LogRequest) GetEnd

func (r *LogRequest) GetEnd() int64

func (*LogRequest) GetId

func (r *LogRequest) GetId() string

func (*LogRequest) GetLive

func (r *LogRequest) GetLive() bool

func (*LogRequest) GetOffset

func (r *LogRequest) GetOffset() int64

func (*LogRequest) GetPattern

func (r *LogRequest) GetPattern() string

func (*LogRequest) GetRequestId

func (r *LogRequest) GetRequestId() string

func (*LogRequest) GetSource

func (r *LogRequest) GetSource() string

func (*LogRequest) GetStart

func (r *LogRequest) GetStart() int64

func (*LogRequest) GetStream

func (r *LogRequest) GetStream() string

type Request

type Request interface {
	GetStart() int64
	GetEnd() int64
	GetCount() int64
	GetLive() bool
	GetDebug() bool
}

Request .

Jump to

Keyboard shortcuts

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