Documentation ¶
Index ¶
- type QueryResolver
- func (r *QueryResolver) Approve(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
- func (r *QueryResolver) Create(ctx context.Context, input qlmodels.ApplicationInput) (*qlmodels.ApplicationPayload, error)
- func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qlmodels.ApplicationPayload, error)
- func (r *QueryResolver) Get(ctx context.Context, id uint64) (*qlmodels.ApplicationPayload, error)
- func (r *QueryResolver) List(ctx context.Context, filter *qlmodels.ApplicationListFilter, ...) (*connectors.ApplicationConnection, error)
- func (r *QueryResolver) Pause(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
- func (r *QueryResolver) Reject(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
- func (r *QueryResolver) Run(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
- func (r *QueryResolver) Update(ctx context.Context, id uint64, input qlmodels.ApplicationInput) (*qlmodels.ApplicationPayload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryResolver ¶
type QueryResolver struct {
// contains filtered or unexported fields
}
func NewQueryResolver ¶
func NewQueryResolver() *QueryResolver
func (*QueryResolver) Approve ¶
func (r *QueryResolver) Approve(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
Approve Application is the resolver for the approveApplication field.
func (*QueryResolver) Create ¶
func (r *QueryResolver) Create(ctx context.Context, input qlmodels.ApplicationInput) (*qlmodels.ApplicationPayload, error)
Create Application is the resolver for the createApplication field.
func (*QueryResolver) Delete ¶
func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qlmodels.ApplicationPayload, error)
Delete Application is the resolver for the deleteApplication field.
func (*QueryResolver) Get ¶
func (r *QueryResolver) Get(ctx context.Context, id uint64) (*qlmodels.ApplicationPayload, error)
Get is the resolver for the application field.
func (*QueryResolver) List ¶
func (r *QueryResolver) List(ctx context.Context, filter *qlmodels.ApplicationListFilter, order *qlmodels.ApplicationListOrder, page *qlmodels.Page) (*connectors.ApplicationConnection, error)
List Applications is the resolver for the listApplications field.
func (*QueryResolver) Pause ¶
func (r *QueryResolver) Pause(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
Pause Application is the resolver for the pauseApplication field.
func (*QueryResolver) Reject ¶
func (r *QueryResolver) Reject(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
Reject Application is the resolver for the rejectApplication field.
func (*QueryResolver) Run ¶
func (r *QueryResolver) Run(ctx context.Context, id uint64, msg *string) (*qlmodels.StatusResponse, error)
Run Application is the resolver for the runApplication field.
func (*QueryResolver) Update ¶
func (r *QueryResolver) Update(ctx context.Context, id uint64, input qlmodels.ApplicationInput) (*qlmodels.ApplicationPayload, error)
Update Application is the resolver for the updateApplication field.
Click to show internal directories.
Click to hide internal directories.