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.ZoneInput) (*qlmodels.ZonePayload, error)
- func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qlmodels.ZonePayload, error)
- func (r *QueryResolver) Get(ctx context.Context, id uint64) (*qlmodels.ZonePayload, error)
- func (r *QueryResolver) List(ctx context.Context, filter *qlmodels.ZoneListFilter, ...) (*connectors.ZoneConnection, 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.ZoneInput) (*qlmodels.ZonePayload, 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 Zone is the resolver for the approveApplication field.
func (*QueryResolver) Create ¶
func (r *QueryResolver) Create(ctx context.Context, input qlmodels.ZoneInput) (*qlmodels.ZonePayload, error)
Create Zone is the resolver for the createApplication field.
func (*QueryResolver) Delete ¶
func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qlmodels.ZonePayload, error)
Delete Zone is the resolver for the deleteApplication field.
func (*QueryResolver) Get ¶
func (r *QueryResolver) Get(ctx context.Context, id uint64) (*qlmodels.ZonePayload, error)
Get is the resolver for the zone field.
func (*QueryResolver) List ¶
func (r *QueryResolver) List(ctx context.Context, filter *qlmodels.ZoneListFilter, order *qlmodels.ZoneListOrder, page *qlmodels.Page) (*connectors.ZoneConnection, error)
List Zones 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 Zone 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 Zone 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 Zone is the resolver for the runApplication field.
Click to show internal directories.
Click to hide internal directories.