core

package
v0.0.0-...-0e43621 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Grpc = "GRPC"

Grpc Protocol

View Source
const Rest = "REST"

Rest Protocol

View Source
const Ws = "WS"

Ws Protocol

Variables

This section is empty.

Functions

This section is empty.

Types

type CompageJSON

type CompageJSON struct {
	// Linkages (connection details) between Nodes
	Edges []*coreedge.Edge `json:"edges"`
	// Nodes represent components and has details of the component.
	Nodes []*corenode.Node `json:"nodes"`
}

CompageJSON has all edges and nodes

type ModificationDetails

type ModificationDetails struct {
	CreatedBy string    `json:"createdBy"`
	UpdatedBy string    `json:"updatedBy"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}

ModificationDetails has creation and modification details.

type Project

type Project struct {
	Name                string                 `json:"name"`
	CompageJSON         *CompageJSON           `json:"compageJSON"`
	GitRepositoryName   string                 `json:"gitRepositoryName"`
	GitRepositoryURL    string                 `json:"gitRepositoryURL"`
	GitPlatformName     string                 `json:"gitPlatformName"`
	GitPlatformURL      string                 `json:"gitPlatformURL"`
	GitPlatformUserName string                 `json:"gitPlatformUserName"`
	Metadata            map[string]interface{} `json:"metadata"`
	ModificationDetails
}

Project is top level struct depicting the monorepo and resembling to github repository. It has a single compage.json and can have multiple nodes and edges (projects and connections) internally.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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