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

guest

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 18 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 Run

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

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 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"`
}

Jump to

Keyboard shortcuts

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