graphql

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(router gin.IRouter, bindplane server.BindPlane)

AddRoutes TODO(doc)

Types

type NodeIDResolver added in v1.3.0

type NodeIDResolver func(metric *record.Metric, position model.MeasurementPosition, pipelineType bpotel.PipelineType, resourceName string) string

NodeIDResolver is a function that assigns the appropriate NodeID to a GraphMetric based on its position, pipelineType, and resourceName parsed out of the metric processor name. If an empty string is returned, this metric will be ignored.

type Resolver

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

Resolver TODO(doc)

func NewResolver

func NewResolver(bindplane server.BindPlane) *Resolver

NewResolver returns a new Resolver and starts a go routine that sends agent updates to observers.

func (*Resolver) Agent

func (r *Resolver) Agent() generated.AgentResolver

Agent returns generated.AgentResolver implementation.

func (*Resolver) AgentSelector

func (r *Resolver) AgentSelector() generated.AgentSelectorResolver

AgentSelector returns generated.AgentSelectorResolver implementation.

func (*Resolver) AgentUpgrade added in v1.0.0

func (r *Resolver) AgentUpgrade() generated.AgentUpgradeResolver

AgentUpgrade returns generated.AgentUpgradeResolver implementation.

func (*Resolver) Configuration

func (r *Resolver) Configuration() generated.ConfigurationResolver

Configuration returns generated.ConfigurationResolver implementation.

func (*Resolver) Destination

func (r *Resolver) Destination() generated.DestinationResolver

Destination returns generated.DestinationResolver implementation.

func (*Resolver) DestinationType

func (r *Resolver) DestinationType() generated.DestinationTypeResolver

DestinationType returns generated.DestinationTypeResolver implementation.

func (*Resolver) Metadata

func (r *Resolver) Metadata() generated.MetadataResolver

Metadata returns generated.MetadataResolver implementation.

func (*Resolver) Mutation added in v1.7.0

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

func (*Resolver) ParameterDefinition

func (r *Resolver) ParameterDefinition() generated.ParameterDefinitionResolver

ParameterDefinition returns generated.ParameterDefinitionResolver implementation.

func (*Resolver) ParameterOptions added in v1.7.0

func (r *Resolver) ParameterOptions() generated.ParameterOptionsResolver

ParameterOptions returns generated.ParameterOptionsResolver implementation.

func (*Resolver) Processor added in v0.5.2

func (r *Resolver) Processor() generated.ProcessorResolver

Processor returns generated.ProcessorResolver implementation.

func (*Resolver) ProcessorType added in v0.5.2

func (r *Resolver) ProcessorType() generated.ProcessorTypeResolver

ProcessorType returns generated.ProcessorTypeResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

func (*Resolver) RelevantIfCondition

func (r *Resolver) RelevantIfCondition() generated.RelevantIfConditionResolver

RelevantIfCondition returns generated.RelevantIfConditionResolver implementation.

func (*Resolver) Source

func (r *Resolver) Source() generated.SourceResolver

Source returns generated.SourceResolver implementation.

func (*Resolver) SourceType

func (r *Resolver) SourceType() generated.SourceTypeResolver

SourceType returns generated.SourceTypeResolver implementation.

func (*Resolver) Subscription

func (r *Resolver) Subscription() generated.SubscriptionResolver

Subscription returns generated.SubscriptionResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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