srtructurizr

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ID          string
	Name        string
	Description string
	Technology  string
	Tags        []string
}

func (*Container) Write

func (c *Container) Write(w io.Writer, level int)

type Relation

type Relation struct {
	Description string
	Technology  string
	Tags        []string
}

func (*Relation) Write

func (r *Relation) Write(w io.Writer, level int)

type System

type System struct {
	ID          string
	Name        string
	Description string
	Tags        []string
	// contains filtered or unexported fields
}

func NewSystem

func NewSystem(name string) *System

func (*System) AddContainer

func (s *System) AddContainer(id, name string) (c *Container, ok bool)

func (*System) AddRelation

func (s *System) AddRelation(srcID, dstID string) (rv *Relation, ok bool)

func (*System) WriteContainers

func (s *System) WriteContainers(w io.Writer, level int)

func (*System) WriteRelations

func (s *System) WriteRelations(w io.Writer, level int)

type Workspace

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

func NewWorkspace added in v1.6.0

func NewWorkspace(name, defaultSystem string) *Workspace

func (*Workspace) AddRelation added in v1.6.0

func (ws *Workspace) AddRelation(srcID, dstID string) (rv *Relation, ok bool)

func (*Workspace) HasSystem added in v1.6.0

func (ws *Workspace) HasSystem(name string) (yes bool)

func (*Workspace) System

func (ws *Workspace) System(name string) (rv *System)

func (*Workspace) Write

func (ws *Workspace) Write(w io.Writer)

Jump to

Keyboard shortcuts

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