Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + func MustCreateDynamicLogRegex(varName string) *regexp.Regexp + func MustCreateRegex(varName string) *regexp.Regexp + type Input struct + ContainerID string + ContainerName string + ExtraTemplateVars []TemplateVar + HostName string + LogName string + Namespace string + PodName string + PodRFC3339FinishTime string + PodRFC3339StartTime string + PodUID string + PodUnixFinishTime int64 + PodUnixStartTime int64 + TaskExecutionID pluginsCore.TaskExecutionID + TaskTemplate *core.TaskTemplate + type Output struct + TaskLogs []*core.TaskLog + type Plugin interface + GetTaskLogs func(i Input) (logs Output, err error) + type TemplateLogPlugin struct + DeprecatedScheme TemplateScheme + DisplayName string + DynamicTemplateURIs []TemplateURI + MessageFormat core.TaskLog_MessageFormat + Name string + TemplateURIs []TemplateURI + func (p TemplateLogPlugin) GetTaskLogs(input Input) (Output, error) + type TemplateScheme int + const TemplateSchemePod + const TemplateSchemeTaskExecution + func TemplateSchemeString(s string) (TemplateScheme, error) + func TemplateSchemeValues() []TemplateScheme + func (i *TemplateScheme) UnmarshalJSON(data []byte) error + func (i *TemplateScheme) UnmarshalYAML(unmarshal func(interface{}) error) error + func (i TemplateScheme) IsATemplateScheme() bool + func (i TemplateScheme) MarshalJSON() ([]byte, error) + func (i TemplateScheme) MarshalYAML() (interface{}, error) + func (i TemplateScheme) String() string + type TemplateURI = string + type TemplateVar struct + Regex *regexp.Regexp + Value string