Documentation ¶
Index ¶
Constants ¶
const EventListRecordType = "results.tekton.dev/v1.EventList"
EventListRecordType represents the API resource type for EventSet records.
const LogRecordType = "results.tekton.dev/v1alpha3.Log"
LogRecordType represents the API resource type for Tekton log records.
const LogRecordTypeV2 = "results.tekton.dev/v1alpha2.Log"
LogRecordTypeV2 represents the API resource type for Tekton log records deprecated now.
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"` }
Log represents the API resource for Tekton results Log.
type LogSpec ¶
LogSpec represents the specification for the Tekton Log resource. It contains information about corresponding log resource.
type LogStatus ¶
type LogStatus struct { Path string `json:"path,omitempty"` Size int64 `json:"size"` IsStored bool `json:"isStored"` ErrorOnStoreMsg string `json:"errorOnStoreMsg"` IsRetryableErr bool `json:"isRetryableErr"` }
LogStatus defines the current status of the log resource.
type LogType ¶
type LogType string
LogType represents the log storage type. This information is useful to determine how the resource will be stored.
const ( // FileLogType defines the log type for logs stored in the file system. FileLogType LogType = "File" // S3LogType defines the log type for logs stored in the S3 object storage or S3 compatible alternatives. S3LogType LogType = "S3" // GCSLogType defines the log type for logs stored in the GCS object storage or GCS compatible alternatives. GCSLogType LogType = "GCS" )
type Resource ¶
type Resource struct { Kind string `json:"kind,omitempty"` Namespace string `json:"namespace"` Name string `json:"name"` UID types.UID `json:"uid,omitempty"` }
Resource represents information to identify a Kubernetes API resource. It should be used to match the corresponding log to this resource.