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) 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
Click to show internal directories.
Click to hide internal directories.