NetworkPolicy

c4k8s/Element/NetworkPolicy
include('c4k8s/Element/NetworkPolicy')
NetworkPolicy
illustration for NetworkPolicy

NetworkPolicy

Load remotely

@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 NetworkPolicy
include('c4k8s/Element/NetworkPolicy')

' load the c4model package
include('c4model/bootstrap')
NetworkPolicy('NetworkPolicy', 'Network Policy', 'an optional description label')
@enduml

Load locally

@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 NetworkPolicy
include('c4k8s/Element/NetworkPolicy')

' load the c4model package
include('c4model/bootstrap')
NetworkPolicy('NetworkPolicy', 'Network Policy', 'an optional description label')
@enduml