Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrInvalidRequestCode = "test_code"
)
Variables ¶
View Source
var (
ErrInvalidRequest = errors.NewDefault(ErrInvalidRequestCode, "Invalid query, please check syntax")
)
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { DBHandler *database.Handler GetKubeClient func() (*mesherykube.Client, error) GetDynamicClient func() (dynamic.Interface, error) // contains filtered or unexported fields }
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
Click to show internal directories.
Click to hide internal directories.