handler

package
v0.0.0-...-6d8787e Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelUserResourceHandler

type DelUserResourceHandler struct {
	// Configuration file for the worker
	ConfigFile        string
	ApiNotifierClient *redis.Client
}

DelUserResourceHandler implements `bokchoy.Handler` for applying deletion on user home dir qtree.

func (*DelUserResourceHandler) Handle

Handle performs user resource update based on the request payload.

type SetProjectResourceHandler

type SetProjectResourceHandler struct {
	// Configuration file for the worker
	ConfigFile        string
	ApiNotifierClient *redis.Client
}

SetProjectResourceHandler implements `bokchoy.Handler` for applying update on project resource.

func (*SetProjectResourceHandler) Handle

Handle performs project resource update based on the request payload.

type SetUserResourceHandler

type SetUserResourceHandler struct {
	// Configuration file for the worker
	ConfigFile        string
	ApiNotifierClient *redis.Client
}

SetUserResourceHandler implements `bokchoy.Handler` for applying update on user resource.

func (*SetUserResourceHandler) Handle

Handle performs user resource update based on the request payload.

type TaskResults

type TaskResults struct {
	Error error  `json:"errors"`
	Info  string `json:"info"`
}

TaskResults defines the output structure of the task

Jump to

Keyboard shortcuts

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