Help us shape the future of Go! Take the 2026 Go Developer Survey

architecture

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadProject

func LoadProject(ctx context.Context, project *configurations.Project) (*basev1.Project, error)

func LoadService

func LoadService(ctx context.Context, service *configurations.Service) (*basev1.Service, error)

func Reverse

func Reverse[T any](ss []T)

func ToGraphResponse added in v0.0.65

func ToGraphResponse(g *Graph) *observabilityv1.GraphResponse

Types

type Edge

type Edge struct {
	From string
	To   string
}

type Graph

type Graph struct {
	Name string
	// contains filtered or unexported fields
}

func LoadPublicApplicationGraph added in v0.0.65

func LoadPublicApplicationGraph(ctx context.Context, project *configurations.Project) ([]*Graph, error)

func LoadServiceGraph

func LoadServiceGraph(ctx context.Context, project *configurations.Project) (*Graph, error)

func NewGraph

func NewGraph(name string) *Graph

func (*Graph) AddEdge

func (g *Graph) AddEdge(u, v string)

func (*Graph) AddNode

func (g *Graph) AddNode(u string)

func (*Graph) Edges

func (g *Graph) Edges() []Edge

func (*Graph) Nodes

func (g *Graph) Nodes() []string

func (*Graph) TopologicalSort

func (g *Graph) TopologicalSort() []string

Jump to

Keyboard shortcuts

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