resolver

package
v0.0.0-...-7eaa7e1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 29 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) CheckNotifications

func (r *Resolver) CheckNotifications(ctx context.Context, command string, flags []string) ([]*graph.NotificationInfo, 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) GetCache

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

func (*Resolver) GetJwt

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

func (*Resolver) GetProcessesInUse

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

func (*Resolver) HashGlobs

func (r *Resolver) HashGlobs(ctx context.Context, wd string, globs []string) (*graph.GlobResult, error)

func (*Resolver) Mutation

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

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) SetCache

func (r *Resolver) SetCache(ctx context.Context, key string, value string, expiry int) (*graphqltypes.Void, 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