Help us shape the future of Go! Take the 2026 Go Developer Survey

graphql

package
v0.0.0-...-a35c2e7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CampaignFieldsFragment = `
fragment campaignFields on Campaign {
    id
    namespace {
        ...namespaceFields
    }
    name
    description
    url
}
` + NamespaceFieldsFragment
View Source
const NamespaceFieldsFragment = `
fragment namespaceFields on Namespace {
    id
    namespaceName
    url
}
`
View Source
const RepositoryFieldsFragment = `` /* 270-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

type Branch struct {
	Name   string
	Target Target
}

type Campaign

type Campaign struct {
	ID          string
	Namespace   Namespace
	Name        string
	Description string
	URL         string
}

type Namespace

type Namespace struct {
	ID            string
	NamespaceName string
	URL           string
}

type Repository

type Repository struct {
	ID                 string
	Name               string
	URL                string
	ExternalRepository struct{ ServiceType string }

	DefaultBranch *Branch

	Commit Target
	// Branch is populated by resolveRepositoryNameAndBranch with the queried
	// branch's name and the contents of the Commit property.
	Branch Branch

	FileMatches map[string]bool
}

func (*Repository) BaseRef

func (r *Repository) BaseRef() string

func (*Repository) HasBranch

func (r *Repository) HasBranch() bool

func (*Repository) Rev

func (r *Repository) Rev() string

func (*Repository) SearchResultPaths

func (r *Repository) SearchResultPaths() (list fileMatchPathList)

func (*Repository) Slug

func (r *Repository) Slug() string

type Target

type Target struct {
	OID string
}

Jump to

Keyboard shortcuts

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