factory

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const GH_HOST = "GH_HOST"

Variables

This section is empty.

Functions

func BaseRepoFunc

func BaseRepoFunc(f *cmdutil.Factory) func() (ghrepo.Interface, error)

func New

func New() *cmdutil.Factory

func NewHTTPClient

func NewHTTPClient(io *iostreams.IOStreams, cfg configGetter, appVersion string, setAccept bool) (*http.Client, error)

generic authenticated HTTP client for commands

func SmartBaseRepoFunc

func SmartBaseRepoFunc(f *cmdutil.Factory) func() (ghrepo.Interface, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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