ghissue

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BugLink(err interface{}) string
func IssueLink(repo, kind, title, body string) string

Types

type Diagnostics

type Diagnostics struct {
	OS                      string `json:"os"`
	Arch                    string `json:"arch"`
	GoVersion               string `json:"goVersion"`
	CliVersion              string `json:"cliVersion"`
	FabricVersion           string `json:"fabricVersion"`
	ContainerRuntime        string `json:"containerRuntime"`
	ContainerRuntimeVersion string `json:"containerRuntimeVersion"`
}

func Gather

func Gather() (*Diagnostics, error)

type GHIssue

type GHIssue struct {
	Diagnostics Diagnostics `json:"diagnostics"`
	Command     string      `json:"command"`
	Error       string      `json:"error"`
	StackTrace  string      `json:"stacktrace"`
}

Jump to

Keyboard shortcuts

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