web

package
v2.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationDto

type ApplicationDto struct {
	*core.Application
	DependenciesGrouped                  []*core.DependenciesGrouped `json:"dependenciesGrouped"`
	DependenciesToMissingApplications    []*MissingApplicationDto    `json:"dependenciesToMissingApplications"`
	DependenciesToUnincludedApplications []*MissingApplicationDto    `json:"dependenciesToUnincludedApplications"`
}

type AvailableGroups added in v2.0.10

type AvailableGroups struct {
	SubGroups          []*AvailableGroups `json:"subGroups"`
	GroupName          string             `json:"groupName"`
	QualifiedGroupName string             `json:"qualifiedGroupName"`
}

type MissingApplicationDto added in v2.0.10

type MissingApplicationDto struct {
	//PseudoId used as id for frontend
	PseudoId int    `json:"id"`
	Title    string `json:"name"`
}

type MissingApplications added in v2.0.10

type MissingApplications []*MissingApplicationDto

func (MissingApplications) Add added in v2.0.10

type ProjectController

type ProjectController struct {
	// contains filtered or unexported fields
}

func (*ProjectController) DataAction

func (p *ProjectController) DataAction(w http.ResponseWriter, r *http.Request, documentsFolder string)

func (*ProjectController) IndexAction

func (p *ProjectController) IndexAction(w http.ResponseWriter, r *http.Request, localTemplateFolder string)

func (*ProjectController) Inject

func (p *ProjectController) Inject(definitions *application.ProjectConfig, projectLoader *application.ProjectLoader, definitionsBaseFolder string, skipValidation bool)

type Result

type Result struct {
	Name                 string                    `json:"name"`
	AvailableSubViews    []string                  `json:"availableSubViews"`
	ApplicationsByGroup  *core.ApplicationsByGroup `json:"applicationsByGroup"`
	AvailableGroups      *AvailableGroups          `json:"availableGroups"`
	ApplicationsDto      []*ApplicationDto         `json:"applications"`
	StaticDocumentations []string                  `json:"staticDocumentations"`
	Errors               []string                  `json:"errors"`
	//MissingApplications - list of applications that are referenced but not definied at all in the project
	MissingApplications MissingApplications `json:"missingApplications"`
	//UnincludedApplications - list of applications that are referenced but not included in current selection (e.g. because of selected subview or due to a filter)
	UnincludedApplications MissingApplications `json:"unincludedApplications"`
}

func (*Result) AddError

func (r *Result) AddError(err error)

Jump to

Keyboard shortcuts

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