Documentation ¶
Index ¶
- Variables
- func CurrentUserHasMinimumProjectRole(ctx context.Context, client *ent.Client, projectId uuid.UUID, ...) (bool, error)
- func GinContextFromContext(ctx context.Context) (*gin.Context, error)
- func GinContextToContextMiddleware() gin.HandlerFunc
- func IDFuzzySearch(search string) func(*sql.Selector)
- func NewSchema(cbleConfig *config.Config, client *ent.Client, ...) graphql.ExecutableSchema
- func WithTx(ctx context.Context, client *ent.Client, fn func(tx *ent.Tx) error) error
- type Resolver
- func (r *Resolver) Blueprint() generated.BlueprintResolver
- func (r *Resolver) Deployment() generated.DeploymentResolver
- func (r *Resolver) DeploymentNode() generated.DeploymentNodeResolver
- func (r *Resolver) GrantedPermission() generated.GrantedPermissionResolver
- func (r *Resolver) Group() generated.GroupResolver
- func (r *Resolver) GroupMembership() generated.GroupMembershipResolver
- func (r *Resolver) Membership() generated.MembershipResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Project() generated.ProjectResolver
- func (r *Resolver) Provider() generated.ProviderResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) Resource() generated.ResourceResolver
- func (r *Resolver) User() generated.UserResolver
Constants ¶
This section is empty.
Variables ¶
var GIN_CONTEXT_KEY = &contextKey{"gincontext"}
Functions ¶
func GinContextToContextMiddleware ¶
func GinContextToContextMiddleware() gin.HandlerFunc
func IDFuzzySearch ¶
func NewSchema ¶
func NewSchema(cbleConfig *config.Config, client *ent.Client, cbleServer *providers.CBLEServer) graphql.ExecutableSchema
NewSchema creates a graphql executable schema.
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) DeploymentNode ¶
func (r *Resolver) DeploymentNode() generated.DeploymentNodeResolver
DeploymentNode returns generated.DeploymentNodeResolver implementation.
func (*Resolver) GrantedPermission ¶
func (r *Resolver) GrantedPermission() generated.GrantedPermissionResolver
GrantedPermission returns generated.GrantedPermissionResolver implementation.
func (*Resolver) Group ¶
func (r *Resolver) Group() generated.GroupResolver
Group returns generated.GroupResolver implementation.
func (*Resolver) GroupMembership ¶
func (r *Resolver) GroupMembership() generated.GroupMembershipResolver
GroupMembership returns generated.GroupMembershipResolver implementation.
func (*Resolver) Membership ¶
func (r *Resolver) Membership() generated.MembershipResolver
Membership returns generated.MembershipResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Project ¶
func (r *Resolver) Project() generated.ProjectResolver
Project returns generated.ProjectResolver implementation.
func (*Resolver) Provider ¶
func (r *Resolver) Provider() generated.ProviderResolver
Provider returns generated.ProviderResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) Resource ¶
func (r *Resolver) Resource() generated.ResourceResolver
Resource returns generated.ResourceResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.