Documentation ¶
Overview ¶
Package convert provides a method to convert Pipeline v1 API objects to Results API proto objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferGVK ¶ added in v0.5.0
func InferGVK(o runtime.Object) (schema.GroupVersionKind, error)
InferGVK infers the GroupVersionKind from the Object via schemes. Currently only the Tekton scheme is supported.
func Status ¶ added in v0.5.0
func Status(ca apis.ConditionAccessor) rpb.RecordSummary_Status
Status maps a Run condition to a general Record status.
func ToLogProto ¶ added in v0.5.0
ToLogProto converts k8s object to log proto object.
func TypeName ¶ added in v0.5.0
TypeName returns a string representation of type Object type. We do not know of any formalized spec for identifying objects across API versions. Standard GVK string formatting does not produce something that's payload friendly (i.e. includes spaces). To get around this we append API Version + Kind (e.g. tekton.dev/v1.TaskRun).
Types ¶
This section is empty.