cmd

package
v0.0.0-...-f5d7a39 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetBugzillaEndpoint

func GetBugzillaEndpoint() string

GetBugzillaEndpoint ...

func GetUserBugs

func GetUserBugs(userEmail string)

GetUserBugs ...

func RenderTable

func RenderTable(data [][]string, header []string)

RenderTable ...

Types

type Bug

type Bug struct {
	BugID        int       `json:"id"`
	Product      string    `json:"product"`
	Component    []string  `json:"component"`
	Summary      string    `json:"summary"`
	Keywords     []string  `json:"keywords"`
	Priority     string    `json:"priority"`
	Severity     string    `json:"severity"`
	Status       string    `json:"status"`
	QAContact    string    `json:"qa_contact"`
	AssignedTo   string    `json:"assigned_to"`
	CreatedBy    string    `json:"creator"`
	Blocks       []int64   `json:"blocks"`
	CloneOf      []int64   `json:"cf_clone_of"`
	CreationTime time.Time `json:"creation_time"`
	LastUpdated  time.Time `json:"last_change_time"`
}

Bug ...

type Bugs

type Bugs struct {
	Bugs []Bug `json:"bugs"`
}

Bugs ...

Jump to

Keyboard shortcuts

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