github

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInstance added in v0.1.0

func ConfigInstance() interface{}

func GetConfig added in v0.1.0

func GetConfig(connection *plugin.Connection) githubConfig

GetConfig :: retrieve and cast connection config from query data

func GitHubWorkflowFileContent added in v0.19.0

func GitHubWorkflowFileContent(ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData) (interface{}, error)

func HasValue added in v0.28.0

func HasValue(_ context.Context, input *transform.TransformData) (interface{}, error)

HasValue Note: if useful to other tables, move to utils.go

func LabelTransform added in v0.30.1

func LabelTransform(ctx context.Context, input *transform.TransformData) (interface{}, error)

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Plugin returns this plugin

Types

type CodeOwnerRule added in v0.22.0

type CodeOwnerRule struct {
	LineNumber  int
	Pattern     string
	Users       []string
	Teams       []string
	PreComments []string
	LineComment string
}

type CollaboratorEdge added in v0.40.0

type CollaboratorEdge struct {
	Permission githubv4.RepositoryPermission `graphql:"permission @include(if:$includeOCPermission)" json:"permission"`
	Node       models.CollaboratorLogin      `graphql:"node @include(if:$includeOCNode)" json:"node"`
}

type ContentInfo added in v0.41.0

type ContentInfo struct {
	Oid            string
	AbbreviatedOid string
	Name           string
	Mode           int
	PathRaw        string
	IsGenerated    bool
	Path           string
	Size           int
	LineCount      int
	Type           string
	Content        string
	CommitUrl      string
	IsBinary       bool
}

type OrgCollaborators added in v0.40.0

type OrgCollaborators struct {
	RepositoryName githubv4.String
	Permission     githubv4.RepositoryPermission
	Node           models.CollaboratorLogin
}

type RepositoryCollaborator added in v0.38.0

type RepositoryCollaborator struct {
	Permission githubv4.RepositoryPermission
	Node       models.BasicUser
}

type Stargazer added in v0.38.0

type Stargazer struct {
	StarredAt models.NullableTime `graphql:"starredAt @include(if:$includeStargazerStarredAt)" json:"starred_at"`
	Node      models.BasicUser    `graphql:"node @include(if:$includeStargazerNode)" json:"ndoe"`
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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