logfilter

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogFilter

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

func New

func New(projectID string, filterType LogFilterType) *LogFilter

func (*LogFilter) GetFilterString

func (lf *LogFilter) GetFilterString() (string, error)

func (*LogFilter) WithBuildTriggerName

func (lf *LogFilter) WithBuildTriggerName(buildTriggerName string) *LogFilter

func (*LogFilter) WithClusterName added in v0.0.3

func (lf *LogFilter) WithClusterName(clusterName string) *LogFilter

func (*LogFilter) WithFunctionName added in v0.0.3

func (lf *LogFilter) WithFunctionName(functionName string) *LogFilter

func (*LogFilter) WithHistoric

func (lf *LogFilter) WithHistoric(historic bool) *LogFilter

func (*LogFilter) WithHoursAgo

func (lf *LogFilter) WithHoursAgo(hoursAgo int) *LogFilter

func (*LogFilter) WithID

func (lf *LogFilter) WithID(id string) *LogFilter

func (*LogFilter) WithLastRun added in v0.0.4

func (lf *LogFilter) WithLastRun(lastRun bool) *LogFilter

func (*LogFilter) WithRegion

func (lf *LogFilter) WithRegion(region string) *LogFilter

func (*LogFilter) WithServiceName

func (lf *LogFilter) WithServiceName(serviceName string) *LogFilter

type LogFilterType

type LogFilterType string
const (
	CloudBuildLogFilterType    LogFilterType = "build"
	CloudRunLogFilterType      LogFilterType = "run"
	CloudFunctionLogFilterType LogFilterType = "function"
	K8sClusterLogFilterType    LogFilterType = "k8s_cluster"
)

Jump to

Keyboard shortcuts

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