v1alpha2

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogRecordType = "results.tekton.dev/v1alpha2.Log"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LogSpec   `json:"spec"`
	Status LogStatus `json:"status,omitempty"`
}

func (*Log) Default

func (t *Log) Default()

type LogSpec

type LogSpec struct {
	Resource Resource `json:"resource"`
	Type     LogType  `json:"type"`
}

type LogStatus

type LogStatus struct {
	Path string `json:"path,omitempty"`
	Size int64  `json:"size"`
}

type LogType

type LogType string
const (
	FileLogType LogType = "File"
	S3LogType   LogType = "S3"
)

type Resource

type Resource struct {
	Kind      string    `json:"kind,omitempty"`
	Namespace string    `json:"namespace"`
	Name      string    `json:"name"`
	UID       types.UID `json:"uid,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳