Documentation
¶
Index ¶
- func LoadApplication(ctx context.Context, app *configurations.Application) (*basev1.Application, error)
- func LoadProject(ctx context.Context, project *configurations.Project) (*basev1.Project, error)
- func LoadService(ctx context.Context, service *configurations.Service) (*basev1.Service, error)
- func Reverse[T any](ss []T)
- func ToGraphResponse(g *Graph) *observabilityv1.GraphResponse
- func ToType(t any) observabilityv1.GraphNode_Type
- type Edge
- type Graph
- func (g *Graph) AddEdge(u, v string)
- func (g *Graph) AddNode(u string)
- func (g *Graph) AddTypedNode(u string, t any)
- func (g *Graph) Antecedents(s string) []string
- func (g *Graph) Edges() []Edge
- func (g *Graph) Nodes() []Node
- func (g *Graph) Subgraph(start string) *Graph
- func (g *Graph) TopologicalSort() []string
- func (g *Graph) TopologicalSortFrom(node string) []string
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadApplication ¶
func LoadApplication(ctx context.Context, app *configurations.Application) (*basev1.Application, error)
func LoadProject ¶
func LoadService ¶
func ToGraphResponse ¶ added in v0.0.65
func ToGraphResponse(g *Graph) *observabilityv1.GraphResponse
func ToType ¶ added in v0.0.80
func ToType(t any) observabilityv1.GraphNode_Type
Types ¶
type Graph ¶
type Graph struct { Name string // contains filtered or unexported fields }
func LoadPublicApplicationGraph ¶ added in v0.0.65
func LoadServiceGraph ¶
func (*Graph) AddTypedNode ¶ added in v0.0.81
func (*Graph) Antecedents ¶ added in v0.0.81
func (*Graph) TopologicalSort ¶
func (*Graph) TopologicalSortFrom ¶ added in v0.0.81
Click to show internal directories.
Click to hide internal directories.