📦 NEW: HashiCorp Provider

pull/428/head
Mohammed Yahya 3 years ago
parent 97377b37ba
commit 19bfb2a794

@ -4,7 +4,7 @@ set -e
app_root_dir="diagrams"
# NOTE: azure icon set is not latest version
providers=("onprem" "aws" "azure" "digitalocean" "gcp" "ibm" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" )
providers=("onprem" "aws" "azure" "digitalocean" "gcp" "ibm" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" "hashicorp")
if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed'

@ -13,7 +13,7 @@ DIR_TEMPLATE = "templates"
PROVIDERS = (
"base", "onprem", "aws", "azure", "digitalocean", "gcp", "ibm", "firebase", "k8s", "alibabacloud", "oci",
"programming", "saas", "elastic", "generic", "openstack", "outscale")
"programming", "saas", "elastic", "generic", "openstack", "outscale", "hashicorp")
#########################
# Resource Processing #
@ -31,6 +31,7 @@ FILE_PREFIXES = {
"aws": ("Amazon-", "AWS-"),
"azure": ("Azure-",),
"digitalocean": (),
"hashicorp": (),
"gcp": ("Cloud-",),
"firebase": ("Cloud-",),
"ibm": (),
@ -88,6 +89,9 @@ TITLE_WORDS = {
"digitalocean": {
"digitalocean": "DigitalOcean"
},
"hashicorp": {
"hashicorp": "HashiCorp"
},
"openstack": {
"openstack": "OpenStack"
},
@ -391,6 +395,7 @@ ALIASES = {
}
},
"digitalocean": {},
"hashicorp": {},
"oci": {
"compute": {
"VM": "VirtualMachine",

@ -0,0 +1,12 @@
"""
HashiCorp provides a set of services for HashiCorp provider.
"""
from diagrams import Node
class _HashiCorp(Node):
_provider = "hashicorp"
_icon_dir = "resources/hashicorp"
fontcolor = "#ffffff"

@ -0,0 +1,23 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _HashiCorp
class _Applications(_HashiCorp):
_type = "applications"
_icon_dir = "resources/hashicorp/applications"
class Nomad(_Applications):
_icon = "nomad.png"
class Vagrant(_Applications):
_icon = "vagrant.png"
class Waypoint(_Applications):
_icon = "waypoint.png"
# Aliases

@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _HashiCorp
class _Infrastructure(_HashiCorp):
_type = "infrastructure"
_icon_dir = "resources/hashicorp/infrastructure"
class Packer(_Infrastructure):
_icon = "packer.png"
class Terraform(_Infrastructure):
_icon = "terraform.png"
# Aliases

@ -0,0 +1,15 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _HashiCorp
class _Networking(_HashiCorp):
_type = "networking"
_icon_dir = "resources/hashicorp/networking"
class Consul(_Networking):
_icon = "consul.png"
# Aliases

@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _HashiCorp
class _Security(_HashiCorp):
_type = "security"
_icon_dir = "resources/hashicorp/security"
class Boundary(_Security):
_icon = "boundary.png"
class Vault(_Security):
_icon = "vault.png"
# Aliases

@ -0,0 +1,26 @@
---
id: hashicorp
title: HashiCorp
---
Node classes list of hashicorp provider.
## hashicorp.applications
- **diagrams.hashicorp.applications.Nomad**
- **diagrams.hashicorp.applications.Vagrant**
- **diagrams.hashicorp.applications.Waypoint**
## hashicorp.infrastructure
- **diagrams.hashicorp.infrastructure.Packer**
- **diagrams.hashicorp.infrastructure.Terraform**
## hashicorp.networking
- **diagrams.hashicorp.networking.Consul**
## hashicorp.security
- **diagrams.hashicorp.security.Boundary**
- **diagrams.hashicorp.security.Vault**

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

@ -84,6 +84,7 @@ def cleaner_k8s(f):
break
return f.lower()
def cleaner_digitalocean(f):
f = f.replace("-32", "")
for p in cfg.FILE_PREFIXES["digitalocean"]:
@ -135,6 +136,10 @@ def cleaner_openstack(f):
return f.lower()
def cleaner_hashicorp(f):
return f.lower()
cleaners = {
"onprem": cleaner_onprem,
"aws": cleaner_aws,
@ -152,6 +157,7 @@ cleaners = {
"outscale": cleaner_outscale,
"generic": cleaner_generic,
"openstack": cleaner_openstack,
"hashicorp": cleaner_hashicorp,
}

Loading…
Cancel
Save