Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 1.57 KB

README.md

File metadata and controls

68 lines (40 loc) · 1.57 KB

c4k8s

Presentation

This package is an extension of the c4model one.

The package provides pre configured Deployment Nodes (item and boundary) for each Kubernetes resources.

Usage

Bootstrap

The bootstrap may provide PlantUML artifacts like constants, procedures or style statements.

' loads the c4k8s bootstrap
include('c4k8s/bootstrap')

Full inclusion

An additional include can be used to load all items in one shot.

' loads the bootstrap of `c4k8s` and all related items
include('c4k8s/full')

Single inclusion

Finally, another include can be used to load the library's bootstrap, the package's bootstrap and all items' resources in one !include statement.

Include remotely the resources:

' loads the library, the bootstrap of `c4k8s` and all related items
!include https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution/c4k8s/single.puml

Include locally the resources:

' configures the library
!global $INCLUSION_MODE="local"
' loads the library, the bootstrap of `c4k8s` and all related items
!include <the relative path to the /distribution directory>/c4k8s/single.puml

Modules

The package provides 2 modules.

Examples

The package provides 1 examples.

Deployment diagram

Deployment diagram
The source file.