dto

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateWorkspaceRequest added in v0.12.0

type CreateWorkspaceRequest struct {
	Id       string                          `json:"id"`
	Name     string                          `json:"name"`
	Target   string                          `json:"target"`
	Projects []CreateWorkspaceRequestProject `json:"projects" validate:"required,gt=0,dive"`

} //	@name	CreateWorkspaceRequest

type CreateWorkspaceRequestProject added in v0.12.0

type CreateWorkspaceRequestProject struct {
	Name    string                              `json:"name" validate:"required,gt=0"`
	Image   *string                             `json:"image,omitempty"`
	User    *string                             `json:"user,omitempty"`
	Build   *workspace.ProjectBuild             `json:"build,omitempty"`
	Source  CreateWorkspaceRequestProjectSource `json:"source"`
	EnvVars map[string]string                   `json:"envVars"`

} // @name CreateWorkspaceRequestProject

type CreateWorkspaceRequestProjectSource added in v0.12.0

type CreateWorkspaceRequestProjectSource struct {
	Repository *gitprovider.GitRepository `json:"repository"`

} // @name CreateWorkspaceRequestProjectSource

type ProjectDTO

type ProjectDTO struct {
	workspace.Project
	Info *workspace.ProjectInfo

} //	@name	ProjectDTO

type WorkspaceDTO

type WorkspaceDTO struct {
	workspace.Workspace
	Info *workspace.WorkspaceInfo

} //	@name	WorkspaceDTO

Jump to

Keyboard shortcuts

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