types

package
v0.0.0-...-325dcee Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructErrorMessages

func ConstructErrorMessages(err error) []userTypes.ApiError

Types

type Application

type Application struct {
	Name          string           `json:"name" validate:"required"`
	Image         string           `json:"image"`
	GitRepo       string           `json:"gitRepo" validate:"required"`
	RepoType      models.BuildType `json:"repoType" validate:"required,repoType"`
	ResourceGroup string           `json:"resourceGroup"`
	Directory     string           `json:"directory" validate:"required"`
}

func (*Application) Validate

func (application *Application) Validate() error

Jump to

Keyboard shortcuts

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