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

graphql

package
v0.0.0-...-c19bbba Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 1 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 = `` /* 202-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

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      *struct {
		Name   string
		Target struct{ OID string }
	}
}

func (*Repository) BaseRef

func (r *Repository) BaseRef() string

func (*Repository) Rev

func (r *Repository) Rev() string

func (*Repository) Slug

func (r *Repository) Slug() string

Jump to

Keyboard shortcuts

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