graphql

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.ZonePayload, error)

Approve Zone is the resolver for the approveApplication field.

func (*QueryResolver) Create

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

Get is the resolver for the zone field.

func (*QueryResolver) List

List Zones is the resolver for the listApplications field.

func (*QueryResolver) ListByIDs

func (r *QueryResolver) ListByIDs(ctx context.Context, ids []uint64) ([]*qlmodels.Zone, error)

func (*QueryResolver) Pause

func (r *QueryResolver) Pause(ctx context.Context, id uint64, msg *string) (*qlmodels.ZonePayload, 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.ZonePayload, 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.ZonePayload, error)

Run Zone is the resolver for the runApplication field.

func (*QueryResolver) Update

Update Zone is the resolver for the updateApplication field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL