graph

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GinContextFromContext

func GinContextFromContext(ctx context.Context) (*gin.Context, error)

func GinContextToContextMiddleware

func GinContextToContextMiddleware() gin.HandlerFunc

func NewSchema

func NewSchema(client *ent.Client, cbleServer *providers.CBLEServer, permissionEngine *permissionengine.PermissionEngine) graphql.ExecutableSchema

NewSchema creates a graphql executable schema.

func WithTx

func WithTx(ctx context.Context, client *ent.Client, fn func(tx *ent.Tx) error) error

Types

type Resolver

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

func (*Resolver) Blueprint

func (r *Resolver) Blueprint() generated.BlueprintResolver

Blueprint returns generated.BlueprintResolver implementation.

func (*Resolver) Deployment

func (r *Resolver) Deployment() generated.DeploymentResolver

Deployment returns generated.DeploymentResolver implementation.

func (*Resolver) Group

func (r *Resolver) Group() generated.GroupResolver

Group returns generated.GroupResolver implementation.

func (*Resolver) Mutation

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

Mutation returns generated.MutationResolver implementation.

func (*Resolver) Permission

func (r *Resolver) Permission() generated.PermissionResolver

Permission returns generated.PermissionResolver implementation.

func (*Resolver) PermissionPolicy

func (r *Resolver) PermissionPolicy() generated.PermissionPolicyResolver

PermissionPolicy returns generated.PermissionPolicyResolver implementation.

func (*Resolver) Provider

func (r *Resolver) Provider() generated.ProviderResolver

Provider returns generated.ProviderResolver implementation.

func (*Resolver) ProviderCommand

func (r *Resolver) ProviderCommand() generated.ProviderCommandResolver

ProviderCommand returns generated.ProviderCommandResolver implementation.

func (*Resolver) Query

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

Query returns generated.QueryResolver implementation.

func (*Resolver) User

func (r *Resolver) User() generated.UserResolver

User returns generated.UserResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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