Documentation ¶
Index ¶
- type Resolver
- func (r *Resolver) AnalyticsEvent(_ context.Context, category, action, source string, _label *string, ...) (*graph.AnalyticsEventResponse, error)
- func (r *Resolver) AvailableUpdate(ctx context.Context, desiredChannel, desiredVersion string) (*graph.AvailableUpdate, error)
- func (r *Resolver) CheckNotifications(ctx context.Context, command string, flags []string) ([]*graph.NotificationInfo, error)
- func (r *Resolver) Close() error
- func (r *Resolver) ConfigChanged(ctx context.Context, key string) (*graph.ConfigChangedResponse, error)
- func (r *Resolver) FetchLogTail(ctx context.Context) (string, error)
- func (r *Resolver) GetCache(ctx context.Context, key string) (string, error)
- func (r *Resolver) GetJwt(ctx context.Context) (*graph.Jwt, error)
- func (r *Resolver) GetProcessesInUse(ctx context.Context, execDir string) ([]*graph.ProcessInfo, error)
- func (r *Resolver) HashGlobs(ctx context.Context, wd string, globs []string) (*graph.GlobResult, error)
- func (r *Resolver) Mutation() genserver.MutationResolver
- func (r *Resolver) Projects(ctx context.Context) ([]*graph.Project, error)
- func (r *Resolver) Query() genserver.QueryResolver
- func (r *Resolver) ReportRuntimeUsage(_ context.Context, pid int, exec, source string, dimensionsJSON string) (*graph.ReportRuntimeUsageResponse, error)
- func (r *Resolver) SetCache(ctx context.Context, key string, value string, expiry int) (*graphqltypes.Void, error)
- func (r *Resolver) Version(ctx context.Context) (*graph.Version, error)
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 (*Resolver) AnalyticsEvent ¶
func (*Resolver) AvailableUpdate ¶
func (*Resolver) CheckNotifications ¶
func (*Resolver) ConfigChanged ¶
func (*Resolver) FetchLogTail ¶
func (*Resolver) GetProcessesInUse ¶
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() genserver.MutationResolver
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 ¶
Click to show internal directories.
Click to hide internal directories.