Documentation ¶
Index ¶
- Constants
- type BranchHistory
- type BranchHistoryTargetBlob
- type BranchHistoryTargetCommit
- type BranchHistoryTargetCommitHistoryCommitHistoryConnection
- type BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo
- type BranchHistoryTargetGitObject
- type BranchHistoryTargetTag
- type BranchHistoryTargetTree
- type BranchNode
- type BranchNodeCompareComparison
- type BranchNodeRepository
- type BranchNodeRepositoryDefaultBranchRef
- type CommitNode
- type Config
- type Factory
- type PullRequestNode
- func (v *PullRequestNode) GetCreatedAt() time.Time
- func (v *PullRequestNode) GetHeadRefName() string
- func (v *PullRequestNode) GetMergeCommit() PullRequestNodeMergeCommit
- func (v *PullRequestNode) GetMerged() bool
- func (v *PullRequestNode) GetMergedAt() time.Time
- func (v *PullRequestNode) GetReviews() PullRequestNodeReviewsPullRequestReviewConnection
- type PullRequestNodeMergeCommit
- type PullRequestNodeMergeCommitDeploymentsDeploymentConnection
- type PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment
- type PullRequestNodeReviewsPullRequestReviewConnection
- type PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview
- type PullRequestState
- type SearchNode
- type SearchNodeApp
- type SearchNodeDefaultBranchRef
- type SearchNodeDiscussion
- type SearchNodeIssue
- type SearchNodeMarketplaceListing
- type SearchNodeOrganization
- type SearchNodePullRequest
- type SearchNodeRepository
- type SearchNodeUser
Constants ¶
const (
TypeStr = "scraper"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchHistory ¶
type BranchHistory struct { // The object the ref points to. Returns null when object does not exist. Target BranchHistoryTargetGitObject `json:"-"` }
BranchHistory includes the requested fields of the GraphQL type Ref. The GraphQL type's documentation follows.
Represents a Git reference.
func (*BranchHistory) GetTarget ¶
func (v *BranchHistory) GetTarget() BranchHistoryTargetGitObject
GetTarget returns BranchHistory.Target, and is useful for accessing the field via an interface.
func (*BranchHistory) MarshalJSON ¶
func (v *BranchHistory) MarshalJSON() ([]byte, error)
func (*BranchHistory) UnmarshalJSON ¶
func (v *BranchHistory) UnmarshalJSON(b []byte) error
type BranchHistoryTargetBlob ¶
type BranchHistoryTargetBlob struct {
Typename string `json:"__typename"`
}
BranchHistoryTargetBlob includes the requested fields of the GraphQL type Blob. The GraphQL type's documentation follows.
Represents a Git blob.
func (*BranchHistoryTargetBlob) GetTypename ¶
func (v *BranchHistoryTargetBlob) GetTypename() string
GetTypename returns BranchHistoryTargetBlob.Typename, and is useful for accessing the field via an interface.
type BranchHistoryTargetCommit ¶
type BranchHistoryTargetCommit struct { Typename string `json:"__typename"` Id string `json:"id"` // The linear commit history starting from (and including) this commit, in the same order as `git log`. History BranchHistoryTargetCommitHistoryCommitHistoryConnection `json:"history"` }
BranchHistoryTargetCommit includes the requested fields of the GraphQL type Commit. The GraphQL type's documentation follows.
Represents a Git commit.
func (*BranchHistoryTargetCommit) GetHistory ¶
func (v *BranchHistoryTargetCommit) GetHistory() BranchHistoryTargetCommitHistoryCommitHistoryConnection
GetHistory returns BranchHistoryTargetCommit.History, and is useful for accessing the field via an interface.
func (*BranchHistoryTargetCommit) GetId ¶
func (v *BranchHistoryTargetCommit) GetId() string
GetId returns BranchHistoryTargetCommit.Id, and is useful for accessing the field via an interface.
func (*BranchHistoryTargetCommit) GetTypename ¶
func (v *BranchHistoryTargetCommit) GetTypename() string
GetTypename returns BranchHistoryTargetCommit.Typename, and is useful for accessing the field via an interface.
type BranchHistoryTargetCommitHistoryCommitHistoryConnection ¶
type BranchHistoryTargetCommitHistoryCommitHistoryConnection struct { // A list of nodes. Nodes []CommitNode `json:"nodes"` // Information to aid in pagination. PageInfo BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo `json:"pageInfo"` }
BranchHistoryTargetCommitHistoryCommitHistoryConnection includes the requested fields of the GraphQL type CommitHistoryConnection. The GraphQL type's documentation follows.
The connection type for Commit.
func (*BranchHistoryTargetCommitHistoryCommitHistoryConnection) GetNodes ¶
func (v *BranchHistoryTargetCommitHistoryCommitHistoryConnection) GetNodes() []CommitNode
GetNodes returns BranchHistoryTargetCommitHistoryCommitHistoryConnection.Nodes, and is useful for accessing the field via an interface.
func (*BranchHistoryTargetCommitHistoryCommitHistoryConnection) GetPageInfo ¶
func (v *BranchHistoryTargetCommitHistoryCommitHistoryConnection) GetPageInfo() BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo
GetPageInfo returns BranchHistoryTargetCommitHistoryCommitHistoryConnection.PageInfo, and is useful for accessing the field via an interface.
type BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo ¶
type BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo struct { // When paginating forwards, the cursor to continue. EndCursor string `json:"endCursor"` // When paginating forwards, are there more items? HasNextPage bool `json:"hasNextPage"` }
BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo. The GraphQL type's documentation follows.
Information about pagination in a connection.
func (*BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo) GetEndCursor ¶
func (v *BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo) GetEndCursor() string
GetEndCursor returns BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo) GetHasNextPage ¶
func (v *BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo) GetHasNextPage() bool
GetHasNextPage returns BranchHistoryTargetCommitHistoryCommitHistoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.
type BranchHistoryTargetGitObject ¶
type BranchHistoryTargetGitObject interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // contains filtered or unexported methods }
BranchHistoryTargetGitObject includes the requested fields of the GraphQL interface GitObject.
BranchHistoryTargetGitObject is implemented by the following types: BranchHistoryTargetBlob BranchHistoryTargetCommit BranchHistoryTargetTag BranchHistoryTargetTree The GraphQL type's documentation follows.
Represents a Git object.
type BranchHistoryTargetTag ¶
type BranchHistoryTargetTag struct {
Typename string `json:"__typename"`
}
BranchHistoryTargetTag includes the requested fields of the GraphQL type Tag. The GraphQL type's documentation follows.
Represents a Git tag.
func (*BranchHistoryTargetTag) GetTypename ¶
func (v *BranchHistoryTargetTag) GetTypename() string
GetTypename returns BranchHistoryTargetTag.Typename, and is useful for accessing the field via an interface.
type BranchHistoryTargetTree ¶
type BranchHistoryTargetTree struct {
Typename string `json:"__typename"`
}
BranchHistoryTargetTree includes the requested fields of the GraphQL type Tree. The GraphQL type's documentation follows.
Represents a Git tree.
func (*BranchHistoryTargetTree) GetTypename ¶
func (v *BranchHistoryTargetTree) GetTypename() string
GetTypename returns BranchHistoryTargetTree.Typename, and is useful for accessing the field via an interface.
type BranchNode ¶
type BranchNode struct { // The ref name. Name string `json:"name"` // Compares the current ref as a base ref to another head ref, if the comparison can be made. Compare BranchNodeCompareComparison `json:"compare"` // The repository the ref belongs to. Repository BranchNodeRepository `json:"repository"` }
BranchNode includes the requested fields of the GraphQL type Ref. The GraphQL type's documentation follows.
Represents a Git reference.
func (*BranchNode) GetCompare ¶
func (v *BranchNode) GetCompare() BranchNodeCompareComparison
GetCompare returns BranchNode.Compare, and is useful for accessing the field via an interface.
func (*BranchNode) GetName ¶
func (v *BranchNode) GetName() string
GetName returns BranchNode.Name, and is useful for accessing the field via an interface.
func (*BranchNode) GetRepository ¶
func (v *BranchNode) GetRepository() BranchNodeRepository
GetRepository returns BranchNode.Repository, and is useful for accessing the field via an interface.
type BranchNodeCompareComparison ¶
type BranchNodeCompareComparison struct { // The number of commits ahead of the base branch. AheadBy int `json:"aheadBy"` // The number of commits behind the base branch. BehindBy int `json:"behindBy"` }
BranchNodeCompareComparison includes the requested fields of the GraphQL type Comparison. The GraphQL type's documentation follows.
Represents a comparison between two commit revisions.
func (*BranchNodeCompareComparison) GetAheadBy ¶
func (v *BranchNodeCompareComparison) GetAheadBy() int
GetAheadBy returns BranchNodeCompareComparison.AheadBy, and is useful for accessing the field via an interface.
func (*BranchNodeCompareComparison) GetBehindBy ¶
func (v *BranchNodeCompareComparison) GetBehindBy() int
GetBehindBy returns BranchNodeCompareComparison.BehindBy, and is useful for accessing the field via an interface.
type BranchNodeRepository ¶
type BranchNodeRepository struct { // The name of the repository. Name string `json:"name"` // The Ref associated with the repository's default branch. DefaultBranchRef BranchNodeRepositoryDefaultBranchRef `json:"defaultBranchRef"` }
BranchNodeRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.
A repository contains the content for a project.
func (*BranchNodeRepository) GetDefaultBranchRef ¶
func (v *BranchNodeRepository) GetDefaultBranchRef() BranchNodeRepositoryDefaultBranchRef
GetDefaultBranchRef returns BranchNodeRepository.DefaultBranchRef, and is useful for accessing the field via an interface.
func (*BranchNodeRepository) GetName ¶
func (v *BranchNodeRepository) GetName() string
GetName returns BranchNodeRepository.Name, and is useful for accessing the field via an interface.
type BranchNodeRepositoryDefaultBranchRef ¶
type BranchNodeRepositoryDefaultBranchRef struct { // The ref name. Name string `json:"name"` }
BranchNodeRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref. The GraphQL type's documentation follows.
Represents a Git reference.
func (*BranchNodeRepositoryDefaultBranchRef) GetName ¶
func (v *BranchNodeRepositoryDefaultBranchRef) GetName() string
GetName returns BranchNodeRepositoryDefaultBranchRef.Name, and is useful for accessing the field via an interface.
type CommitNode ¶
type CommitNode struct { // The datetime when this commit was committed. CommittedDate time.Time `json:"committedDate"` // The number of additions in this commit. Additions int `json:"additions"` // The number of deletions in this commit. Deletions int `json:"deletions"` }
CommitNode includes the requested fields of the GraphQL type Commit. The GraphQL type's documentation follows.
Represents a Git commit.
func (*CommitNode) GetAdditions ¶
func (v *CommitNode) GetAdditions() int
GetAdditions returns CommitNode.Additions, and is useful for accessing the field via an interface.
func (*CommitNode) GetCommittedDate ¶
func (v *CommitNode) GetCommittedDate() time.Time
GetCommittedDate returns CommitNode.CommittedDate, and is useful for accessing the field via an interface.
func (*CommitNode) GetDeletions ¶
func (v *CommitNode) GetDeletions() int
GetDeletions returns CommitNode.Deletions, and is useful for accessing the field via an interface.
type Config ¶
type Config struct { metadata.MetricsBuilderConfig `mapstructure:",squash"` confighttp.ClientConfig `mapstructure:",squash"` internal.ScraperConfig // GitHubOrg is the name of the GitHub organization to scrape (github scraper only) GitHubOrg string `mapstructure:"github_org"` // SearchQuery is the query to use when defining a custom search for repository data SearchQuery string `mapstructure:"search_query"` }
Config relating to Github Metric Scraper.
type PullRequestNode ¶
type PullRequestNode struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Whether or not the pull request was merged. Merged bool `json:"merged"` // The date and time that the pull request was merged. MergedAt time.Time `json:"mergedAt"` // The commit that was created when this pull request was merged. MergeCommit PullRequestNodeMergeCommit `json:"mergeCommit"` // Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. HeadRefName string `json:"headRefName"` // A list of reviews associated with the pull request. Reviews PullRequestNodeReviewsPullRequestReviewConnection `json:"reviews"` }
PullRequestNode includes the requested fields of the GraphQL type PullRequest. The GraphQL type's documentation follows.
A repository pull request.
func (*PullRequestNode) GetCreatedAt ¶
func (v *PullRequestNode) GetCreatedAt() time.Time
GetCreatedAt returns PullRequestNode.CreatedAt, and is useful for accessing the field via an interface.
func (*PullRequestNode) GetHeadRefName ¶
func (v *PullRequestNode) GetHeadRefName() string
GetHeadRefName returns PullRequestNode.HeadRefName, and is useful for accessing the field via an interface.
func (*PullRequestNode) GetMergeCommit ¶
func (v *PullRequestNode) GetMergeCommit() PullRequestNodeMergeCommit
GetMergeCommit returns PullRequestNode.MergeCommit, and is useful for accessing the field via an interface.
func (*PullRequestNode) GetMerged ¶
func (v *PullRequestNode) GetMerged() bool
GetMerged returns PullRequestNode.Merged, and is useful for accessing the field via an interface.
func (*PullRequestNode) GetMergedAt ¶
func (v *PullRequestNode) GetMergedAt() time.Time
GetMergedAt returns PullRequestNode.MergedAt, and is useful for accessing the field via an interface.
func (*PullRequestNode) GetReviews ¶
func (v *PullRequestNode) GetReviews() PullRequestNodeReviewsPullRequestReviewConnection
GetReviews returns PullRequestNode.Reviews, and is useful for accessing the field via an interface.
type PullRequestNodeMergeCommit ¶
type PullRequestNodeMergeCommit struct { // The deployments associated with a commit. Deployments PullRequestNodeMergeCommitDeploymentsDeploymentConnection `json:"deployments"` }
PullRequestNodeMergeCommit includes the requested fields of the GraphQL type Commit. The GraphQL type's documentation follows.
Represents a Git commit.
func (*PullRequestNodeMergeCommit) GetDeployments ¶
func (v *PullRequestNodeMergeCommit) GetDeployments() PullRequestNodeMergeCommitDeploymentsDeploymentConnection
GetDeployments returns PullRequestNodeMergeCommit.Deployments, and is useful for accessing the field via an interface.
type PullRequestNodeMergeCommitDeploymentsDeploymentConnection ¶
type PullRequestNodeMergeCommitDeploymentsDeploymentConnection struct { // A list of nodes. Nodes []PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment `json:"nodes"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
PullRequestNodeMergeCommitDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection. The GraphQL type's documentation follows.
The connection type for Deployment.
func (*PullRequestNodeMergeCommitDeploymentsDeploymentConnection) GetNodes ¶
func (v *PullRequestNodeMergeCommitDeploymentsDeploymentConnection) GetNodes() []PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment
GetNodes returns PullRequestNodeMergeCommitDeploymentsDeploymentConnection.Nodes, and is useful for accessing the field via an interface.
func (*PullRequestNodeMergeCommitDeploymentsDeploymentConnection) GetTotalCount ¶
func (v *PullRequestNodeMergeCommitDeploymentsDeploymentConnection) GetTotalCount() int
GetTotalCount returns PullRequestNodeMergeCommitDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.
type PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment ¶
type PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` }
PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment includes the requested fields of the GraphQL type Deployment. The GraphQL type's documentation follows.
Represents triggered deployment instance.
func (*PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment) GetCreatedAt ¶
func (v *PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment) GetCreatedAt() time.Time
GetCreatedAt returns PullRequestNodeMergeCommitDeploymentsDeploymentConnectionNodesDeployment.CreatedAt, and is useful for accessing the field via an interface.
type PullRequestNodeReviewsPullRequestReviewConnection ¶
type PullRequestNodeReviewsPullRequestReviewConnection struct { // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // A list of nodes. Nodes []PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview `json:"nodes"` }
PullRequestNodeReviewsPullRequestReviewConnection includes the requested fields of the GraphQL type PullRequestReviewConnection. The GraphQL type's documentation follows.
The connection type for PullRequestReview.
func (*PullRequestNodeReviewsPullRequestReviewConnection) GetNodes ¶
func (v *PullRequestNodeReviewsPullRequestReviewConnection) GetNodes() []PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview
GetNodes returns PullRequestNodeReviewsPullRequestReviewConnection.Nodes, and is useful for accessing the field via an interface.
func (*PullRequestNodeReviewsPullRequestReviewConnection) GetTotalCount ¶
func (v *PullRequestNodeReviewsPullRequestReviewConnection) GetTotalCount() int
GetTotalCount returns PullRequestNodeReviewsPullRequestReviewConnection.TotalCount, and is useful for accessing the field via an interface.
type PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview ¶
type PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` }
PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview includes the requested fields of the GraphQL type PullRequestReview. The GraphQL type's documentation follows.
A review object for a given pull request.
func (*PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview) GetCreatedAt ¶
func (v *PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview) GetCreatedAt() time.Time
GetCreatedAt returns PullRequestNodeReviewsPullRequestReviewConnectionNodesPullRequestReview.CreatedAt, and is useful for accessing the field via an interface.
type PullRequestState ¶
type PullRequestState string
The possible states of a pull request.
const ( // A pull request that is still open. PullRequestStateOpen PullRequestState = "OPEN" // A pull request that has been closed without being merged. PullRequestStateClosed PullRequestState = "CLOSED" // A pull request that has been closed by being merged. PullRequestStateMerged PullRequestState = "MERGED" )
type SearchNode ¶
type SearchNode interface { // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // contains filtered or unexported methods }
SearchNode includes the requested fields of the GraphQL interface SearchResultItem.
SearchNode is implemented by the following types: SearchNodeApp SearchNodeDiscussion SearchNodeIssue SearchNodeMarketplaceListing SearchNodeOrganization SearchNodePullRequest SearchNodeRepository SearchNodeUser The GraphQL type's documentation follows.
The results of a search.
type SearchNodeApp ¶
type SearchNodeApp struct {
Typename string `json:"__typename"`
}
SearchNodeApp includes the requested fields of the GraphQL type App. The GraphQL type's documentation follows.
A GitHub App.
func (*SearchNodeApp) GetTypename ¶
func (v *SearchNodeApp) GetTypename() string
GetTypename returns SearchNodeApp.Typename, and is useful for accessing the field via an interface.
type SearchNodeDefaultBranchRef ¶
type SearchNodeDefaultBranchRef struct { // The ref name. Name string `json:"name"` }
SearchNodeDefaultBranchRef includes the requested fields of the GraphQL type Ref. The GraphQL type's documentation follows.
Represents a Git reference.
func (*SearchNodeDefaultBranchRef) GetName ¶
func (v *SearchNodeDefaultBranchRef) GetName() string
GetName returns SearchNodeDefaultBranchRef.Name, and is useful for accessing the field via an interface.
type SearchNodeDiscussion ¶
type SearchNodeDiscussion struct {
Typename string `json:"__typename"`
}
SearchNodeDiscussion includes the requested fields of the GraphQL type Discussion. The GraphQL type's documentation follows.
A discussion in a repository.
func (*SearchNodeDiscussion) GetTypename ¶
func (v *SearchNodeDiscussion) GetTypename() string
GetTypename returns SearchNodeDiscussion.Typename, and is useful for accessing the field via an interface.
type SearchNodeIssue ¶
type SearchNodeIssue struct {
Typename string `json:"__typename"`
}
SearchNodeIssue includes the requested fields of the GraphQL type Issue. The GraphQL type's documentation follows.
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
func (*SearchNodeIssue) GetTypename ¶
func (v *SearchNodeIssue) GetTypename() string
GetTypename returns SearchNodeIssue.Typename, and is useful for accessing the field via an interface.
type SearchNodeMarketplaceListing ¶
type SearchNodeMarketplaceListing struct {
Typename string `json:"__typename"`
}
SearchNodeMarketplaceListing includes the requested fields of the GraphQL type MarketplaceListing. The GraphQL type's documentation follows.
A listing in the GitHub integration marketplace.
func (*SearchNodeMarketplaceListing) GetTypename ¶
func (v *SearchNodeMarketplaceListing) GetTypename() string
GetTypename returns SearchNodeMarketplaceListing.Typename, and is useful for accessing the field via an interface.
type SearchNodeOrganization ¶
type SearchNodeOrganization struct {
Typename string `json:"__typename"`
}
SearchNodeOrganization includes the requested fields of the GraphQL type Organization. The GraphQL type's documentation follows.
An account on GitHub, with one or more owners, that has repositories, members and teams.
func (*SearchNodeOrganization) GetTypename ¶
func (v *SearchNodeOrganization) GetTypename() string
GetTypename returns SearchNodeOrganization.Typename, and is useful for accessing the field via an interface.
type SearchNodePullRequest ¶
type SearchNodePullRequest struct {
Typename string `json:"__typename"`
}
SearchNodePullRequest includes the requested fields of the GraphQL type PullRequest. The GraphQL type's documentation follows.
A repository pull request.
func (*SearchNodePullRequest) GetTypename ¶
func (v *SearchNodePullRequest) GetTypename() string
GetTypename returns SearchNodePullRequest.Typename, and is useful for accessing the field via an interface.
type SearchNodeRepository ¶
type SearchNodeRepository struct { Typename string `json:"__typename"` Id string `json:"id"` // The name of the repository. Name string `json:"name"` // The Ref associated with the repository's default branch. DefaultBranchRef SearchNodeDefaultBranchRef `json:"defaultBranchRef"` // The HTTP URL for this repository Url string `json:"url"` }
SearchNodeRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.
A repository contains the content for a project.
func (*SearchNodeRepository) GetDefaultBranchRef ¶
func (v *SearchNodeRepository) GetDefaultBranchRef() SearchNodeDefaultBranchRef
GetDefaultBranchRef returns SearchNodeRepository.DefaultBranchRef, and is useful for accessing the field via an interface.
func (*SearchNodeRepository) GetId ¶
func (v *SearchNodeRepository) GetId() string
GetId returns SearchNodeRepository.Id, and is useful for accessing the field via an interface.
func (*SearchNodeRepository) GetName ¶
func (v *SearchNodeRepository) GetName() string
GetName returns SearchNodeRepository.Name, and is useful for accessing the field via an interface.
func (*SearchNodeRepository) GetTypename ¶
func (v *SearchNodeRepository) GetTypename() string
GetTypename returns SearchNodeRepository.Typename, and is useful for accessing the field via an interface.
func (*SearchNodeRepository) GetUrl ¶ added in v0.116.0
func (v *SearchNodeRepository) GetUrl() string
GetUrl returns SearchNodeRepository.Url, and is useful for accessing the field via an interface.
type SearchNodeUser ¶
type SearchNodeUser struct {
Typename string `json:"__typename"`
}
SearchNodeUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.
A user is an individual's account on GitHub that owns repositories and can make new content.
func (*SearchNodeUser) GetTypename ¶
func (v *SearchNodeUser) GetTypename() string
GetTypename returns SearchNodeUser.Typename, and is useful for accessing the field via an interface.