convert

package
v0.0.0-...-7db8d2e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package convert provides a method to convert v1beta1 API objects to Results API proto objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPipelineRunProto

func ToPipelineRunProto(pr *v1beta1.PipelineRun) (*pb.PipelineRun, error)

ToPipelineRunProto converts a v1beta1.PipelineRun object to the equivalent Results API proto message.o

func ToTaskRunProto

func ToTaskRunProto(tr *v1beta1.TaskRun) (*pb.TaskRun, error)

ToTaskRunProto converts a v1beta1.TaskRun object to the equivalent Results API proto message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL