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

batches

package
v0.0.0-...-8ea77d2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureFlags

type FeatureFlags struct {
	AllowArrayEnvironments   bool
	IncludeAutoAuthorDetails bool
	UseGzipCompression       bool
	AllowTransformChanges    bool
	AllowWorkspaces          bool
	BatchChanges             bool
	AllowConditionalExec     bool
	AllowOptionalPublished   bool
}

FeatureFlags represent features that are only available on certain Sourcegraph versions and we therefore have to detect at runtime.

func (*FeatureFlags) SetFromVersion

func (ff *FeatureFlags) SetFromVersion(version string) error

type IgnoredRepoSet

type IgnoredRepoSet map[*graphql.Repository]struct{}

IgnoredRepoSet provides a set to manage repositories that are on unsupported code hosts. This type implements error to allow it to be returned directly as an error value if needed.

func (IgnoredRepoSet) Append

func (e IgnoredRepoSet) Append(repo *graphql.Repository)

func (IgnoredRepoSet) Error

func (e IgnoredRepoSet) Error() string

func (IgnoredRepoSet) HasIgnored

func (e IgnoredRepoSet) HasIgnored() bool

func (IgnoredRepoSet) Includes

func (e IgnoredRepoSet) Includes(r *graphql.Repository) bool

type UnsupportedRepoSet

type UnsupportedRepoSet map[*graphql.Repository]struct{}

UnsupportedRepoSet provides a set to manage repositories that are on unsupported code hosts. This type implements error to allow it to be returned directly as an error value if needed.

func (UnsupportedRepoSet) Append

func (e UnsupportedRepoSet) Append(repo *graphql.Repository)

func (UnsupportedRepoSet) Error

func (e UnsupportedRepoSet) Error() string

func (UnsupportedRepoSet) HasUnsupported

func (e UnsupportedRepoSet) HasUnsupported() bool

func (UnsupportedRepoSet) Includes

func (e UnsupportedRepoSet) Includes(r *graphql.Repository) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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