types

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBridge

func ConvertBridge(bridge *gitlab.Bridge) *typespb.Bridge

func ConvertDuration

func ConvertDuration(d float64) *durationpb.Duration

func ConvertJob

func ConvertJob(job *gitlab.Job) *typespb.Job

func ConvertMergeRequest

func ConvertMergeRequest(mr *gitlab.MergeRequest) *typespb.MergeRequest

func ConvertPipeline

func ConvertPipeline(pipeline *gitlab.Pipeline) *typespb.Pipeline

func ConvertPipelineInfo

func ConvertPipelineInfo(pipeline *gitlab.PipelineInfo) *typespb.PipelineInfo

func ConvertProject

func ConvertProject(p *gitlab.Project) *typespb.Project

func ConvertTestReport

func ConvertTestReport(pipelineID int64, report *gitlab.PipelineTestReport) (*typespb.TestReport, []*typespb.TestSuite, []*typespb.TestCase)

func ConvertTime

func ConvertTime(t *time.Time) *timestamppb.Timestamp

func ConvertToMergeRequestNoteEvent

func ConvertToMergeRequestNoteEvent(note *gitlab.Note) *typespb.MergeRequestNoteEvent

func ConvertUnixMilli

func ConvertUnixMilli(ts int64) *timestamppb.Timestamp

func ConvertUnixNano

func ConvertUnixNano(ts int64) *timestamppb.Timestamp

func ConvertUnixSeconds

func ConvertUnixSeconds(ts int64) *timestamppb.Timestamp

Types

This section is empty.

Jump to

Keyboard shortcuts

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