Documentation ¶
Index ¶
- func APIURL(cfg Getter, path string) (*url.URL, error)
- func CatFiles(implicitFiles, explicitFiles []string) ([]byte, error)
- func DefaultNetrcFiles() []string
- func Get(cfg Getter, section string, key string) string
- func GitHubAppURL() *url.URL
- func Load() (ini.FileSet, error)
- func ResolveSectionName(cfg Getter, name string) string
- func Save(cfg *ini.File) error
- func ShouldUploadBuildLogs(cfg Getter) bool
- func TokenValidationURL(cfg Getter) (*url.URL, error)
- func UIURL(cfg Getter, path string) (*url.URL, error)
- func UserSettingsURL(cfg Getter) (*url.URL, error)
- func UserToken(cfg Getter) (string, error)
- type Getter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatFiles ¶ added in v0.5.0
CatFiles concatenates the given file contents in order. Files in the implicitFiles slice that don't exist will not cause CatFiles to return an error.
func DefaultNetrcFiles ¶ added in v0.5.0
func DefaultNetrcFiles() []string
DefaultNetrcFiles returns paths to search for netrc files in descending precedence order based on environment variables.
func GitHubAppURL ¶
func ResolveSectionName ¶ added in v0.6.1
func ShouldUploadBuildLogs ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.