convert

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 8 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 ToProto

func ToProto(in interface{}) (*anypb.Any, error)

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