Documentation ¶
Index ¶
- type LogFilter
- func (lf *LogFilter) GetFilterString() (string, error)
- func (lf *LogFilter) WithBuildTriggerName(buildTriggerName string) *LogFilter
- func (lf *LogFilter) WithClusterName(clusterName string) *LogFilter
- func (lf *LogFilter) WithFunctionName(functionName string) *LogFilter
- func (lf *LogFilter) WithHistoric(historic bool) *LogFilter
- func (lf *LogFilter) WithHoursAgo(hoursAgo int) *LogFilter
- func (lf *LogFilter) WithID(id string) *LogFilter
- func (lf *LogFilter) WithLastRun(lastRun bool) *LogFilter
- func (lf *LogFilter) WithRegion(region string) *LogFilter
- func (lf *LogFilter) WithServiceName(serviceName string) *LogFilter
- type LogFilterType
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 (*LogFilter) WithBuildTriggerName ¶
func (*LogFilter) WithClusterName ¶ added in v0.0.3
func (*LogFilter) WithFunctionName ¶ added in v0.0.3
func (*LogFilter) WithHistoric ¶
func (*LogFilter) WithHoursAgo ¶
func (*LogFilter) WithLastRun ¶ added in v0.0.4
func (*LogFilter) WithRegion ¶
func (*LogFilter) WithServiceName ¶
type LogFilterType ¶
type LogFilterType string
const ( CloudBuildLogFilterType LogFilterType = "build" CloudRunLogFilterType LogFilterType = "run" CloudFunctionLogFilterType LogFilterType = "function" K8sClusterLogFilterType LogFilterType = "k8s_cluster" )
Click to show internal directories.
Click to hide internal directories.