github

package
v0.0.0-...-14a38a3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package github implements interface to GitHub API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler interface {
	CompileGitHub(*github.Client) error
}

Compiler is implemented by project blocks which support GitHub API interface.

type Output

type Output struct {
	// contains filtered or unexported fields
}

Output implements interface to GitHub API.

func NewOutput

func NewOutput() *Output

NewOutput creates new GitHub API output.

func (*Output) Compile

func (o *Output) Compile(compiler Compiler) error

Compile implements [output.TypedWriter] interface. The client may be nil when GITHUB_TOKEN is not set, which disables GitHub API integration. The nil client is forwarded to the compiler as-is; dry-run behavior must be opted into explicitly by the compiler.

func (*Output) Generate

func (o *Output) Generate() error

Generate implements Output interface.

Jump to

Keyboard shortcuts

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