tenant

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTenantResolver

func NewTenantResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	configurationService configuration.ConfigurationContract,
	tenantID graphql.ID) (tenant.TenantResolverContract, error)

NewTenantResolver creates new instance of the tenantResolver, 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 tenantID: Mandatory. the tenant unique identifier Returns the new instance or error if something goes wrong

func NewTenantTypeConnectionResolver

func NewTenantTypeConnectionResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract) (tenant.TenantTypeConnectionResolverContract, error)

NewTenantTypeConnectionResolver creates new instance of the tenantTypeConnectionResolver, 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 tenantID: Mandatory. the tenant unique identifier cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong

func NewTenantTypeEdgeResolver

func NewTenantTypeEdgeResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	tenantID graphql.ID,
	cursor string) (tenant.TenantTypeEdgeResolverContract, error)

NewTenantTypeEdgeResolver creates new instance of the tenantTypeEdgeResolver, 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 tenantID: Mandatory. the tenant unique identifier cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong

Types

This section is empty.

Jump to

Keyboard shortcuts

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