cronjob

package
v1.2.4-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = kit.NewRouter(httptransport.Group("/cronjob"))

Functions

This section is empty.

Types

type CreateCronJob

type CreateCronJob struct {
	httpx.MethodPost
	ProjectID         types.SFID `in:"path" name:"projectID"`
	cronjob.CreateReq `in:"body"`
}

func (*CreateCronJob) Output

func (r *CreateCronJob) Output(ctx context.Context) (interface{}, error)

func (*CreateCronJob) Path

func (r *CreateCronJob) Path() string

type ListCronJob

type ListCronJob struct {
	httpx.MethodGet
	ProjectID types.SFID `in:"path" name:"projectID"`
	cronjob.ListReq
}

func (*ListCronJob) Output

func (r *ListCronJob) Output(ctx context.Context) (interface{}, error)

func (*ListCronJob) Path added in v1.2.2

func (r *ListCronJob) Path() string

type RemoveCronJob

type RemoveCronJob struct {
	httpx.MethodDelete
	CronJobID types.SFID `in:"path" name:"cronJobID"`
}

func (*RemoveCronJob) Output

func (r *RemoveCronJob) Output(ctx context.Context) (interface{}, error)

func (*RemoveCronJob) Path

func (r *RemoveCronJob) Path() string

Jump to

Keyboard shortcuts

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