resolver

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

func New

func New(cfg *config.Instance, an *sync.Client, auth *authentication.Auth) (*Resolver, error)

func (*Resolver) AnalyticsEvent

func (r *Resolver) AnalyticsEvent(_ context.Context, category, action, source string, _label *string, dimensionsJson string) (*graph.AnalyticsEventResponse, error)

func (*Resolver) AvailableUpdate

func (r *Resolver) AvailableUpdate(ctx context.Context, desiredChannel, desiredVersion string) (*graph.AvailableUpdate, error)

func (*Resolver) CheckMessages

func (r *Resolver) CheckMessages(ctx context.Context, command string, flags []string) ([]*graph.MessageInfo, error)

func (*Resolver) Close

func (r *Resolver) Close() error

func (*Resolver) ConfigChanged

func (r *Resolver) ConfigChanged(ctx context.Context, key string) (*graph.ConfigChangedResponse, error)

func (*Resolver) FetchLogTail

func (r *Resolver) FetchLogTail(ctx context.Context) (string, error)

func (*Resolver) GetProcessesInUse

func (r *Resolver) GetProcessesInUse(ctx context.Context, execDir string) ([]*graph.ProcessInfo, error)

func (*Resolver) Projects

func (r *Resolver) Projects(ctx context.Context) ([]*graph.Project, error)

func (*Resolver) Query

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

Seems gqlgen supplies this so you can separate your resolver and query resolver logic So far no need for this, so we're pointing back at ourselves..

func (*Resolver) ReportRuntimeUsage

func (r *Resolver) ReportRuntimeUsage(_ context.Context, pid int, exec, source string, dimensionsJSON string) (*graph.ReportRuntimeUsageResponse, error)

func (*Resolver) Version

func (r *Resolver) Version(ctx context.Context) (*graph.Version, error)

Jump to

Keyboard shortcuts

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