dto

package
v0.0.0-...-0aa3dee Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTaskRequest

type CreateTaskRequest struct {
	Name      string `json:"name" validate:"required,max=256"`
	Image     string `json:"image" validate:"required,max=256"`
	Namespace string `json:"namespace" validate:"required,max=64"`
	Runtime   string `json:"runtime" validate:"required,max=32"`
	Script    string `json:"script" validate:"required,max=1000"`
}

type CreateTaskResponse

type CreateTaskResponse struct {
	Id        uuid.UUID `json:"id"`
	Name      string    `json:"name"`
	Image     string    `json:"image"`
	Namespace string    `json:"namespace"`
	Runtime   string    `json:"runtime"`
	Status    string    `json:"status"`
	Script    string    `json:"script"`
	Result    string    `json:"result"`
}

Jump to

Keyboard shortcuts

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