reliability

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct{ Label, Value, Caption string }

type Component

type Component struct {
	Name     string
	A        float64
	Replicas int
	Each     float64
}

Component is one stage: its name, composed availability, and (for the app tier) the replica count and per-replica availability.

type Diagram

type Diagram struct{ Sys System }

Diagram renders the reliability block diagram.

func (Diagram) Render

func (d Diagram) Render() Rendered

type Markdown

type Markdown string

func (Markdown) Render

func (m Markdown) Render() Rendered

type Readout

type Readout struct{ Cards []Card }

type Rendered

type Rendered struct{ MIME, Data string }

type System

type System struct {
	LB, App, DB Component
	Total       float64
	AppEach     float64
}

System is the composed architecture.

Jump to

Keyboard shortcuts

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