Documentation ¶
Index ¶
- type EventInput
- type EventReceiverGroupInput
- type EventReceiverInput
- type FindEventInput
- type FindEventReceiverGroupInput
- type FindEventReceiverInput
- type MutationResolver
- func (r *MutationResolver) CreateEvent(args struct{ ... }) (graphql.ID, error)
- func (r *MutationResolver) CreateEventReceiver(args struct{ ... }) (graphql.ID, error)
- func (r *MutationResolver) CreateEventReceiverGroup(args struct{ ... }) (graphql.ID, error)
- func (r *MutationResolver) SetEventReceiverGroupDisabled(args struct{ ... }) (graphql.ID, error)
- func (r *MutationResolver) SetEventReceiverGroupEnabled(args struct{ ... }) (graphql.ID, error)
- type QueryResolver
- func (r *QueryResolver) EventReceiverGroups(args struct{ ... }) ([]storage.EventReceiverGroup, error)
- func (r *QueryResolver) EventReceiverGroupsByID(args struct{ ... }) ([]storage.EventReceiverGroup, error)
- func (r *QueryResolver) EventReceivers(args struct{ ... }) ([]storage.EventReceiver, error)
- func (r *QueryResolver) EventReceiversByID(args struct{ ... }) ([]storage.EventReceiver, error)
- func (r *QueryResolver) Events(args struct{ ... }) ([]storage.Event, error)
- func (r *QueryResolver) EventsByID(args struct{ ... }) ([]storage.Event, error)
- type Resolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventInput ¶
type EventReceiverGroupInput ¶
type EventReceiverInput ¶
type FindEventInput ¶
type FindEventInput struct { ID *graphql.ID Name graphql.NullString Version graphql.NullString Release graphql.NullString PlatformID graphql.NullString Package graphql.NullString Success graphql.NullBool EventReceiverID *graphql.ID }
type FindEventReceiverGroupInput ¶
type FindEventReceiverGroupInput struct { ID *graphql.ID Name graphql.NullString Type graphql.NullString Version graphql.NullString }
type FindEventReceiverInput ¶
type FindEventReceiverInput struct { ID *graphql.ID Name graphql.NullString Type graphql.NullString Version graphql.NullString }
type MutationResolver ¶
type MutationResolver struct { Connection *storage.Database // contains filtered or unexported fields }
The MutationResolver type is used to handle mutations in a GraphQL schema and has a connection to a database. @property Connection - The `Connection` property is a reference to a database connection object. It is used to establish a connection to a database and perform various database operations such as querying and modifying data.
func (*MutationResolver) CreateEvent ¶
func (r *MutationResolver) CreateEvent(args struct{ Event EventInput }) (graphql.ID, error)
func (*MutationResolver) CreateEventReceiver ¶
func (r *MutationResolver) CreateEventReceiver(args struct{ EventReceiver EventReceiverInput }) (graphql.ID, error)
func (*MutationResolver) CreateEventReceiverGroup ¶
func (r *MutationResolver) CreateEventReceiverGroup(args struct{ EventReceiverGroup EventReceiverGroupInput }) (graphql.ID, error)
func (*MutationResolver) SetEventReceiverGroupDisabled ¶
func (r *MutationResolver) SetEventReceiverGroupDisabled(args struct{ ID graphql.ID }) (graphql.ID, error)
func (*MutationResolver) SetEventReceiverGroupEnabled ¶
func (r *MutationResolver) SetEventReceiverGroupEnabled(args struct{ ID graphql.ID }) (graphql.ID, error)
type QueryResolver ¶
func (*QueryResolver) EventReceiverGroups ¶
func (r *QueryResolver) EventReceiverGroups(args struct{ EventReceiverGroup FindEventReceiverGroupInput }) ([]storage.EventReceiverGroup, error)
func (*QueryResolver) EventReceiverGroupsByID ¶
func (r *QueryResolver) EventReceiverGroupsByID(args struct{ ID graphql.ID }) ([]storage.EventReceiverGroup, error)
func (*QueryResolver) EventReceivers ¶
func (r *QueryResolver) EventReceivers(args struct{ EventReceiver FindEventReceiverInput }) ([]storage.EventReceiver, error)
func (*QueryResolver) EventReceiversByID ¶
func (r *QueryResolver) EventReceiversByID(args struct{ ID graphql.ID }) ([]storage.EventReceiver, error)
func (*QueryResolver) Events ¶
func (r *QueryResolver) Events(args struct{ Event FindEventInput }) ([]storage.Event, error)
func (*QueryResolver) EventsByID ¶
func (r *QueryResolver) EventsByID(args struct{ ID graphql.ID }) ([]storage.Event, error)
type Resolver ¶
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() *MutationResolver
func (*Resolver) Query ¶
func (r *Resolver) Query() *QueryResolver
Click to show internal directories.
Click to hide internal directories.