Skip to content

Commit

Permalink
feat: add Kubernetes item for C4 Model
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Mar 18, 2023
1 parent 424cf1c commit c2a7091
Show file tree
Hide file tree
Showing 801 changed files with 20,025 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ The available packages:
- [AWS (q1-2023)](distribution/aws-q1-2023/README.md)
- [Azure (v11)](distribution/azure-11/README.md)
- [C4 Model](distribution/c4model/README.md)
- [c4model + Nord Theme](distribution/c4nord/README.md)
- [C4 Model + Nord Theme](distribution/c4nord/README.md)
- [Kubernetes items for C4 Model](distribution/c4k8s/README.md)
- [Domain Storytelling](distribution/domainstorytelling/README.md)
- [Enterprise Integration Pattern](distribution/eip-1/README.md)
- [Event Storming](distribution/eventstorming/README.md)
Expand Down
3 changes: 2 additions & 1 deletion distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

## Packages

The library provides 12 packages.
The library provides 13 packages.

- [aws-q1-2023](aws-q1-2023/README.md)
- [azure-11](azure-11/README.md)
- [c4model](c4model/README.md)
- [c4nord](c4nord/README.md)
- [c4k8s](c4k8s/README.md)
- [domainstorytelling](domainstorytelling/README.md)
- [eip-1](eip-1/README.md)
- [eventstorming](eventstorming/README.md)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions distribution/c4k8s/Boundary/APIServiceBoundary.Local.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element APIServiceBoundary
include('c4k8s/Boundary/APIServiceBoundary')

' load the c4model package
include('c4model/bootstrap')
APIServiceBoundary('ApiServiceBoundary', 'Api Service Boundary') {
note as note
the content of the boundary
end note
}
@enduml
21 changes: 21 additions & 0 deletions distribution/c4k8s/Boundary/APIServiceBoundary.Remote.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element APIServiceBoundary
include('c4k8s/Boundary/APIServiceBoundary')

' load the c4model package
include('c4model/bootstrap')
APIServiceBoundary('ApiServiceBoundary', 'Api Service Boundary') {
note as note
the content of the boundary
end note
}
@enduml
73 changes: 73 additions & 0 deletions distribution/c4k8s/Boundary/APIServiceBoundary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# APIServiceBoundary


```text
c4k8s/Boundary/APIServiceBoundary
```

```text
include('c4k8s/Boundary/APIServiceBoundary')
```



| APIServiceBoundary |
| :---: |
| ![illustration for APIServiceBoundary](../../c4k8s/Boundary/APIServiceBoundary.Local.png) |




## APIServiceBoundary

### Load remotely
```plantuml
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element APIServiceBoundary
include('c4k8s/Boundary/APIServiceBoundary')
' load the c4model package
include('c4model/bootstrap')
APIServiceBoundary('ApiServiceBoundary', 'Api Service Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

### Load locally
```plantuml
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element APIServiceBoundary
include('c4k8s/Boundary/APIServiceBoundary')
' load the c4model package
include('c4model/bootstrap')
APIServiceBoundary('ApiServiceBoundary', 'Api Service Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

5 changes: 5 additions & 0 deletions distribution/c4k8s/Boundary/APIServiceBoundary.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
' definition of the Item c4k8s/Boundary/APIServiceBoundary

!procedure APIServiceBoundary($id, $name, $tech="")
C4Boundary('K8s/APIService', 'Boundary', $id, $name, $tech)
!endprocedure
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions distribution/c4k8s/Boundary/BindingBoundary.Local.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element BindingBoundary
include('c4k8s/Boundary/BindingBoundary')

' load the c4model package
include('c4model/bootstrap')
BindingBoundary('BindingBoundary', 'Binding Boundary') {
note as note
the content of the boundary
end note
}
@enduml
21 changes: 21 additions & 0 deletions distribution/c4k8s/Boundary/BindingBoundary.Remote.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element BindingBoundary
include('c4k8s/Boundary/BindingBoundary')

' load the c4model package
include('c4model/bootstrap')
BindingBoundary('BindingBoundary', 'Binding Boundary') {
note as note
the content of the boundary
end note
}
@enduml
73 changes: 73 additions & 0 deletions distribution/c4k8s/Boundary/BindingBoundary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# BindingBoundary


```text
c4k8s/Boundary/BindingBoundary
```

```text
include('c4k8s/Boundary/BindingBoundary')
```



| BindingBoundary |
| :---: |
| ![illustration for BindingBoundary](../../c4k8s/Boundary/BindingBoundary.Local.png) |




## BindingBoundary

### Load remotely
```plantuml
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element BindingBoundary
include('c4k8s/Boundary/BindingBoundary')
' load the c4model package
include('c4model/bootstrap')
BindingBoundary('BindingBoundary', 'Binding Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

### Load locally
```plantuml
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element BindingBoundary
include('c4k8s/Boundary/BindingBoundary')
' load the c4model package
include('c4model/bootstrap')
BindingBoundary('BindingBoundary', 'Binding Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

5 changes: 5 additions & 0 deletions distribution/c4k8s/Boundary/BindingBoundary.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
' definition of the Item c4k8s/Boundary/BindingBoundary

!procedure BindingBoundary($id, $name, $tech="")
C4Boundary('K8s/Binding', 'Boundary', $id, $name, $tech)
!endprocedure
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions distribution/c4k8s/Boundary/CSIDriverBoundary.Local.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element CSIDriverBoundary
include('c4k8s/Boundary/CSIDriverBoundary')

' load the c4model package
include('c4model/bootstrap')
CSIDriverBoundary('CsiDriverBoundary', 'Csi Driver Boundary') {
note as note
the content of the boundary
end note
}
@enduml
21 changes: 21 additions & 0 deletions distribution/c4k8s/Boundary/CSIDriverBoundary.Remote.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

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

' loads the Item which embeds the element CSIDriverBoundary
include('c4k8s/Boundary/CSIDriverBoundary')

' load the c4model package
include('c4model/bootstrap')
CSIDriverBoundary('CsiDriverBoundary', 'Csi Driver Boundary') {
note as note
the content of the boundary
end note
}
@enduml
73 changes: 73 additions & 0 deletions distribution/c4k8s/Boundary/CSIDriverBoundary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# CSIDriverBoundary


```text
c4k8s/Boundary/CSIDriverBoundary
```

```text
include('c4k8s/Boundary/CSIDriverBoundary')
```



| CSIDriverBoundary |
| :---: |
| ![illustration for CSIDriverBoundary](../../c4k8s/Boundary/CSIDriverBoundary.Local.png) |




## CSIDriverBoundary

### Load remotely
```plantuml
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element CSIDriverBoundary
include('c4k8s/Boundary/CSIDriverBoundary')
' load the c4model package
include('c4model/bootstrap')
CSIDriverBoundary('CsiDriverBoundary', 'Csi Driver Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

### Load locally
```plantuml
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('c4k8s/bootstrap')
' loads the Item which embeds the element CSIDriverBoundary
include('c4k8s/Boundary/CSIDriverBoundary')
' load the c4model package
include('c4model/bootstrap')
CSIDriverBoundary('CsiDriverBoundary', 'Csi Driver Boundary') {
note as note
the content of the boundary
end note
}
@enduml
```

Loading

0 comments on commit c2a7091

Please sign in to comment.