render

package
v0.0.0-...-93ed7e7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependResult

type DependResult struct {
	Project        string
	Version        string
	Branch         string
	URL            string
	LastActivityAt time.Time
}

DependResult is a dependency result struct.

type Render

type Render struct {
	// contains filtered or unexported fields
}

Render is a basic instance.

func New

func New(w io.Writer) *Render

New returns render instance.

func (*Render) Depends

func (r *Render) Depends(pkgs []*DependResult)

Depends renders dependency results.

func (*Render) GlobalMRs

func (r *Render) GlobalMRs(mrs []*gitlab.MergeRequest)

GlobalMRs renders global's merge requests.

func (*Render) LintCI

func (r *Render) LintCI(result *gitlab.LintResult)

LintCI renders lint ci result.

func (*Render) MR

func (r *Render) MR(mr *gitlab.MergeRequest)

MR renders single merge request information.

func (*Render) ProjectMRs

func (r *Render) ProjectMRs(mrs []*gitlab.MergeRequest)

ProjectMRs renders project's merge requests.

func (*Render) Projects

func (r *Render) Projects(projects []*gitlab.Project)

Projects renders projects.

Jump to

Keyboard shortcuts

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