graphql

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromApplicationModel added in v0.2.0

func FromApplicationModel(obj *models.Application) *gqlmodels.Application

func FromApplicationModelList added in v0.2.0

func FromApplicationModelList(list []*models.Application) []*gqlmodels.Application

Types

type ApplicationConnection added in v0.2.0

type ApplicationConnection = connectors.CollectionConnection[*gqlmodels.Application]

ApplicationConnection implements collection accessor interface with pagination.

func NewApplicationConnection added in v0.2.0

func NewApplicationConnection(
	ctx context.Context,
	applicationAccessor application.Usecase,
	filter *gqlmodels.ApplicationListFilter,
	order *gqlmodels.ApplicationListOrder,
	page *models.Page,
) *ApplicationConnection

NewApplicationConnection based on query object

type QueryResolver

type QueryResolver struct {
	// contains filtered or unexported fields
}

func NewQueryResolver

func NewQueryResolver() *QueryResolver

func (*QueryResolver) Approve

Approve Application is the resolver for the approveApplication field.

func (*QueryResolver) Create

Create Application is the resolver for the createApplication field.

func (*QueryResolver) Delete

Delete Application is the resolver for the deleteApplication field.

func (*QueryResolver) Get

Get is the resolver for the application field.

func (*QueryResolver) List

List Applications is the resolver for the listApplications field.

func (*QueryResolver) ListByIDs

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

func (*QueryResolver) Pause

Pause Application is the resolver for the pauseApplication field.

func (*QueryResolver) Reject

Reject Application is the resolver for the rejectApplication field.

func (*QueryResolver) Run

Run Application is the resolver for the runApplication field.

func (*QueryResolver) Update

Update Application 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