package
2.0.0-20221110210412-98537dd9d6a1
Repository: https://github.com/ungtb10d/cli.git
Documentation: pkg.go.dev

# Functions

AddAuthToken adds an authentication token header for the host specified by the request.
AddCacheTTLHeader adds an header to the request telling the cache that the request should be cached for a specified amount of time.
No description provided by the author
No description provided by the author
No description provided by the author
introspects the schema to see if we expose the LinkedBranch type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreatePullRequest creates a pull request in a GitHub repository.
No description provided by the author
No description provided by the author
No description provided by the author
EndpointNeedsScopes adds additional OAuth scopes to an HTTP response as if they were returned from the server endpoint.
ExtractHeader extracts a named header from any response received by this client and, if non-blank, saves it to dest.
No description provided by the author
This fetches the oids for the repo's default branch (`main`, etc) and the name the user might have provided in one shot.
ForkRepo forks the repository on GitHub and returns the new repository.
No description provided by the author
HandleHTTPError parses a http.Response into a HTTPError.
No description provided by the author
IssueCreate creates an issue in a GitHub repository.
IssueGraphQL constructs a GraphQL query fragment for a set of issue fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OrganizationProjects fetches all open projects for an organization.
OrganizationTeams fetches all the teams in an organization.
No description provided by the author
No description provided by the author
No description provided by the author
PullRequestGraphQL constructs a GraphQL query fragment for a set of pull request fields.
No description provided by the author
No description provided by the author
RenameRepo renames the repository on GitHub and returns the renamed repository.
RepoAndOrgProjects fetches all open projects for a repository and its org.
RepoAssignableUsers fetches all the assignable users for a repository.
No description provided by the author
RepoFindForks finds forks of the repo that are affiliated with the viewer.
RepoLabels fetches all the labels in a repository.
RepoMetadata pre-fetches the metadata for attaching to issues and pull requests.
RepoMilestones fetches milestones in a repository.
RepoNetwork inspects the relationship between multiple GitHub repositories.
RepoParent finds out the parent repository of a fork.
RepoProjects fetches all open projects for a repository.
RepoResolveMetadataIDs looks up GraphQL node IDs in bulk.
No description provided by the author
No description provided by the author
ScopesSuggestion is an error messaging utility that prints the suggestion to request additional OAuth scopes in case a server response indicates that there are missing scopes.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
BranchRef is the branch name in a GitHub repository.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Commit loads just the commit SHA and nothing else.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PullRequestCommitCommit contains full information about a commit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RepoNetworkResult describes the relationship between related repositories.
No description provided by the author
No description provided by the author
Repository contains information about a GitHub repo.
No description provided by the author
RepositoryOwner is the owner of a GitHub repository.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author