Help us shape the future of Go! Take the 2026 Go Developer Survey

guest

package
v0.2.52 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const EgressSocket = "/run/reforge/egress.sock"

Variables

View Source
var BotConfigPaths = []string{
	".github/dependabot.yml", ".github/dependabot.yaml",
	"renovate.json", "renovate.json5", ".renovaterc", ".renovaterc.json", ".renovaterc.json5",
	".github/renovate.json", ".github/renovate.json5", ".gitlab/renovate.json", ".gitlab/renovate.json5",
}

Functions

func BrokenLinks(name string, body []byte, exists func(string) bool) []string

func CIPath

func CIPath(file string) bool

func Egress

func Egress(command []string) int

func EgressTCP

func EgressTCP() int

func NamedPasses added in v0.2.38

func NamedPasses(cases map[string]string) int

func NodeFileSuite added in v0.2.38

func NodeFileSuite(name string) bool

func NodeTestPath added in v0.2.38

func NodeTestPath(file string) bool

func Run

func Run(args []string, input io.Reader, output io.Writer) error

func RunBootstrap added in v0.2.38

func RunBootstrap(ctx context.Context, root fs.FS, output io.Writer) bool

func TestPath

func TestPath(file string) bool

func ValidPath

func ValidPath(value string) bool

func ValidateBootstrap

func ValidateBootstrap(root fs.FS) []string

func ValidateBotConfig

func ValidateBotConfig(root fs.FS) []string

func ValidateDocs

func ValidateDocs(root fs.FS) []string

Types

type BootstrapReport added in v0.2.38

type BootstrapReport struct {
	Cases    map[string]string `json:"cases"`
	Builds   int               `json:"builds"`
	Complete bool              `json:"complete"`
	Problems []string          `json:"problems"`
}

type File

type File struct {
	Path       string `json:"path"`
	Content    []byte `json:"content"`
	Executable bool   `json:"executable,omitempty"`
	Delete     bool   `json:"delete,omitempty"`
}

type Request

type Request struct {
	Operation string `json:"operation"`
	Files     []File `json:"files,omitempty"`
	Path      string `json:"path,omitempty"`
	Limit     int64  `json:"limit,omitempty"`
}

type TCPEgressRequest

type TCPEgressRequest struct {
	Address string   `json:"address"`
	Token   string   `json:"token"`
	Command []string `json:"command"`
}

type TestAttachment added in v0.2.38

type TestAttachment struct {
	Name        string `json:"name"`
	Path        string `json:"path"`
	ContentType string `json:"contentType"`
	Body        string `json:"body"`
}

type TestReport added in v0.2.38

type TestReport struct {
	Cases       map[string]string
	Attachments []TestAttachment
	Complete    bool
	Failed      bool
}

func ParseTestReport added in v0.2.38

func ParseTestReport(format string, body []byte) TestReport

Jump to

Keyboard shortcuts

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