graphql

package
v0.0.0-...-454c3e9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 9 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.StatusResponse, 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) 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

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