Documentation
¶
Index ¶
Constants ¶
View Source
const LogRecordType = "results.tekton.dev/v1alpha2.Log"
LogRecordType represents the API resource type for Tekton log records.
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 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.
Click to show internal directories.
Click to hide internal directories.