query

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package query implements different GraphQL query resovlers required by the GraphQL transport layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserResolver

func NewUserResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	userID string,
	tenantClientService tenant.TenantClientContract,
	edgeClusterClientService edgecluster.EdgeClusterClientContract) (types.UserResolverContract, error)

NewUserResolver creates new instance of the userResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers logger: Mandatory. Reference to the logger service userID: Mandatory. the tenant unique identifier tenantClientService: Mandatory. the tenant client service that creates gRPC connection and client to the tenant Returns the new instance or error if something goes wrong

Types

This section is empty.

Directories

Path Synopsis
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer
Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer Package edgelcuster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer
Package relay implements common relay GraphQL query resovlers required by the GraphQL transport layer
Package relay implements common relay GraphQL query resovlers required by the GraphQL transport layer
Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer
Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer Package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer

Jump to

Keyboard shortcuts

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