dto

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateProjectDTO added in v0.26.0

type CreateProjectDTO struct {
	Name                string                   `json:"name" validate:"required"`
	Image               *string                  `json:"image,omitempty" validate:"optional"`
	User                *string                  `json:"user,omitempty" validate:"optional"`
	BuildConfig         *buildconfig.BuildConfig `json:"buildConfig,omitempty" validate:"optional"`
	Source              CreateProjectSourceDTO   `json:"source" validate:"required"`
	EnvVars             map[string]string        `json:"envVars" validate:"required"`
	GitProviderConfigId *string                  `json:"gitProviderConfigId" validate:"optional"`

} //	@name	CreateProjectDTO

type CreateProjectSourceDTO added in v0.26.0

type CreateProjectSourceDTO struct {
	Repository *gitprovider.GitRepository `json:"repository" validate:"required"`

} // @name CreateProjectSourceDTO

type CreateWorkspaceDTO added in v0.24.0

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

} //	@name	CreateWorkspaceDTO

type ProjectDTO

type ProjectDTO struct {
	project.Project
	Info *project.ProjectInfo `json:"info" validate:"optional"`

} //	@name	ProjectDTO

type WorkspaceDTO

type WorkspaceDTO struct {
	workspace.Workspace
	Info *workspace.WorkspaceInfo `json:"info" validate:"optional"`

} //	@name	WorkspaceDTO

Jump to

Keyboard shortcuts

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