graphql

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	QueryOperation    bindings.OperationKind = "query"
	MutationOperation bindings.OperationKind = "mutation"
)

Variables

This section is empty.

Functions

func NewGraphQL

func NewGraphQL(logger logger.Logger) bindings.OutputBinding

NewGraphQL returns a new GraphQL binding instance.

Types

type GraphQL

type GraphQL struct {
	// contains filtered or unexported fields
}

GraphQL represents GraphQL output bindings.

func (*GraphQL) Close added in v1.15.0

func (gql *GraphQL) Close() error

func (*GraphQL) GetComponentMetadata added in v1.11.0

func (gql *GraphQL) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*GraphQL) Init

func (gql *GraphQL) Init(_ context.Context, meta bindings.Metadata) error

Init initializes the GraphQL binding.

func (*GraphQL) Invoke

Invoke handles all invoke operations.

func (*GraphQL) Operations

func (gql *GraphQL) Operations() []bindings.OperationKind

Operations returns list of operations supported by GraphQL binding.

Jump to

Keyboard shortcuts

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