github

package
v0.0.0-...-4caf7cb Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 8 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubCLI

func GitHubCLI() schema.Executable

func New

func New() schema.Plugin

func PersonalAccessToken

func PersonalAccessToken() schema.CredentialType

func TryGitHubConfigFile

func TryGitHubConfigFile() sdk.Importer

Types

type Config

type Config struct {
	Token string `yaml:"oauth_token"`
}

type GitHubCLIProvisioner

type GitHubCLIProvisioner struct{}

GitHubCLIProvisioner provisions auth tokens using the environment variables expected by the GitHub CLI. GitHub.com and GitHub Enterprise Cloud (*.ghe.com) use GH_TOKEN and GITHUB_TOKEN. GitHub Enterprise Server uses GH_ENTERPRISE_TOKEN and GITHUB_ENTERPRISE_TOKEN with GH_HOST.

func (GitHubCLIProvisioner) Deprovision

func (GitHubCLIProvisioner) Description

func (p GitHubCLIProvisioner) Description() string

func (GitHubCLIProvisioner) Provision

Jump to

Keyboard shortcuts

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