factory

package
v2.0.1-0...-d4b4061 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseRepoFunc

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

func New

func New(appVersion string) *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