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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePrebuildDTO added in v0.26.0

type CreatePrebuildDTO struct {
	Id             *string  `json:"id" validate:"optional"`
	Branch         string   `json:"branch" validate:"optional"`
	CommitInterval *int     `json:"commitInterval" validate:"optional"`
	TriggerFiles   []string `json:"triggerFiles" validate:"optional"`
	Retention      int      `json:"retention" validate:"required"`

} // @name CreatePrebuildDTO

type CreateProjectConfigDTO

type CreateProjectConfigDTO 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"`
	RepositoryUrl       string                   `json:"repositoryUrl" validate:"required"`
	EnvVars             map[string]string        `json:"envVars" validate:"required"`
	GitProviderConfigId *string                  `json:"gitProviderConfigId" validate:"optional"`

} // @name CreateProjectConfigDTO

type PrebuildDTO added in v0.26.0

type PrebuildDTO struct {
	Id                string   `json:"id" validate:"required"`
	ProjectConfigName string   `json:"projectConfigName" validate:"required"`
	Branch            string   `json:"branch" validate:"required"`
	CommitInterval    *int     `json:"commitInterval" validate:"optional"`
	TriggerFiles      []string `json:"triggerFiles" validate:"optional"`
	Retention         int      `json:"retention" validate:"required"`

} // @name PrebuildDTO

Jump to

Keyboard shortcuts

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