appsetup

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 31 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package appsetup creates a private GitHub App from a Manifest and configures one GitHub.com target without starting or reconfiguring the daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Scope, ScaleSet, RunnerGroup, Config, Listen string
	Systemd, NoBrowser, Yes                      bool
	Target, Overwrite                            bool
	// contains filtered or unexported fields
}

Options selects a GitHub.com scale set registration and credential backend.

func (Options) Validate added in v0.0.4

func (options Options) Validate() error

Validate checks explicit input before creating an App or saving credentials.

type Result

type Result struct {
	ClientID, KeyPath, MetadataPath, Target string
	InstallationID                          int64
}

Result contains only public App identifiers and local paths.

func Setup

func Setup(ctx context.Context, options Options, input *os.File, output io.Writer) (Result, error)

Setup creates or resumes an App registration, then confirms and updates a target. input supplies confirmation and remains open when setup returns.

Jump to

Keyboard shortcuts

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