Documentation ¶
Index ¶
- func ConvertBridge(bridge *gitlab.Bridge) *typespb.Bridge
- func ConvertDuration(d float64) *durationpb.Duration
- func ConvertJob(job *gitlab.Job) *typespb.Job
- func ConvertMergeRequest(mr *gitlab.MergeRequest) *typespb.MergeRequest
- func ConvertPipeline(pipeline *gitlab.Pipeline) *typespb.Pipeline
- func ConvertPipelineInfo(pipeline *gitlab.PipelineInfo) *typespb.PipelineInfo
- func ConvertProject(p *gitlab.Project) *typespb.Project
- func ConvertTestReport(pipelineID int64, report *gitlab.PipelineTestReport) (*typespb.TestReport, []*typespb.TestSuite, []*typespb.TestCase)
- func ConvertTime(t *time.Time) *timestamppb.Timestamp
- func ConvertToMergeRequestNoteEvent(note *gitlab.Note) *typespb.MergeRequestNoteEvent
- func ConvertUnixMilli(ts int64) *timestamppb.Timestamp
- func ConvertUnixNano(ts int64) *timestamppb.Timestamp
- func ConvertUnixSeconds(ts int64) *timestamppb.Timestamp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBridge ¶
func ConvertDuration ¶
func ConvertDuration(d float64) *durationpb.Duration
func ConvertJob ¶
func ConvertMergeRequest ¶
func ConvertMergeRequest(mr *gitlab.MergeRequest) *typespb.MergeRequest
func ConvertPipeline ¶
func ConvertPipelineInfo ¶
func ConvertPipelineInfo(pipeline *gitlab.PipelineInfo) *typespb.PipelineInfo
func ConvertProject ¶
func ConvertTestReport ¶
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.
Click to show internal directories.
Click to hide internal directories.