cockroach: github.com/cockroachdb/cockroach/pkg/cmd/internal/issues Index | Files

package issues

import "github.com/cockroachdb/cockroach/pkg/cmd/internal/issues"

Index

Package Files

issues.go

Constants

const (

    // CockroachPkgPrefix is the crdb package prefix.
    CockroachPkgPrefix = "github.com/cockroachdb/cockroach/pkg/"
)

func CanPost Uses

func CanPost() bool

CanPost returns true if the github API token environment variable is set.

func DefaultStressFailureTitle Uses

func DefaultStressFailureTitle(packageName, testName string) string

DefaultStressFailureTitle provides the default title for stress failure issues.

func Post Uses

func Post(
    ctx context.Context,
    title, packageName, testName, message, artifacts, authorEmail string,
    extraLabels []string,
) error

Post either creates a new issue for a failed test, or posts a comment to an existing open issue.

Package issues imports 13 packages (graph) and is imported by 2 packages. Updated 2019-09-21. Refresh now. Tools for package owners.