Explorar el Código

Merge 7e1415ea25 into 11565902ed

pull/428/merge
Mohammed Almusaddar hace 17 horas
committed by GitHub
padre
commit
a422827b58
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: B5690EEEBB952194
Se han modificado 25 ficheros con 143 adiciones y 0 borrados
  1. +1
    -0
      autogen.sh
  2. +6
    -0
      config.py
  3. +12
    -0
      diagrams/hashicorp/__init__.py
  4. +23
    -0
      diagrams/hashicorp/applications.py
  5. +19
    -0
      diagrams/hashicorp/infrastructure.py
  6. +15
    -0
      diagrams/hashicorp/networking.py
  7. +19
    -0
      diagrams/hashicorp/security.py
  8. +4
    -0
      diagrams/onprem/ci.py
  9. +8
    -0
      diagrams/onprem/iac.py
  10. +4
    -0
      diagrams/onprem/security.py
  11. +26
    -0
      docs/nodes/hashicorp.md
  12. +0
    -0
      resources/hashicorp/applications/nomad.png
  13. +0
    -0
      resources/hashicorp/applications/vagrant.png
  14. +0
    -0
      resources/hashicorp/applications/waypoint.png
  15. +0
    -0
      resources/hashicorp/infrastructure/packer.png
  16. +0
    -0
      resources/hashicorp/infrastructure/terraform.png
  17. +0
    -0
      resources/hashicorp/networking/consul.png
  18. +0
    -0
      resources/hashicorp/security/boundary.png
  19. +0
    -0
      resources/hashicorp/security/vault.png
  20. BIN
      resources/onprem/ci/waypoint.png
  21. BIN
      resources/onprem/iac/packer.png
  22. BIN
      resources/onprem/iac/terraform.png
  23. BIN
      resources/onprem/iac/vagrant.png
  24. BIN
      resources/onprem/security/boundary.png
  25. +6
    -0
      scripts/resource.py

+ 1
- 0
autogen.sh Ver fichero

@@ -20,6 +20,7 @@ providers=(
"generic"
"openstack"
"outscale"
"hashicorp"
)

if ! [ -x "$(command -v round)" ]; then


+ 6
- 0
config.py Ver fichero

@@ -29,6 +29,7 @@ PROVIDERS = (
"generic",
"openstack",
"outscale",
"hashicorp",
)

#########################
@@ -47,6 +48,7 @@ FILE_PREFIXES = {
"aws": ("Amazon-", "AWS-"),
"azure": ("Azure-",),
"digitalocean": (),
"hashicorp": (),
"gcp": ("Cloud-",),
"firebase": ("Cloud-",),
"ibm": (),
@@ -104,6 +106,9 @@ TITLE_WORDS = {
"digitalocean": {
"digitalocean": "DigitalOcean"
},
"hashicorp": {
"hashicorp": "HashiCorp"
},
"openstack": {
"openstack": "OpenStack"
},
@@ -411,6 +416,7 @@ ALIASES = {
}
},
"digitalocean": {},
"hashicorp": {},
"oci": {
"compute": {
"VM": "VirtualMachine",


+ 12
- 0
diagrams/hashicorp/__init__.py Ver fichero

@@ -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"

+ 23
- 0
diagrams/hashicorp/applications.py Ver fichero

@@ -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

+ 19
- 0
diagrams/hashicorp/infrastructure.py Ver fichero

@@ -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

+ 15
- 0
diagrams/hashicorp/networking.py Ver fichero

@@ -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

+ 19
- 0
diagrams/hashicorp/security.py Ver fichero

@@ -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

+ 4
- 0
diagrams/onprem/ci.py Ver fichero

@@ -40,6 +40,10 @@ class Travisci(_Ci):
_icon = "travisci.png"


class Waypoint(_Ci):
_icon = "waypoint.png"


class Zuulci(_Ci):
_icon = "zuulci.png"



+ 8
- 0
diagrams/onprem/iac.py Ver fichero

@@ -20,6 +20,10 @@ class Awx(_Iac):
_icon = "awx.png"


class Packer(_Iac):
_icon = "packer.png"


class Puppet(_Iac):
_icon = "puppet.png"

@@ -28,4 +32,8 @@ class Terraform(_Iac):
_icon = "terraform.png"


class Vagrant(_Iac):
_icon = "vagrant.png"


# Aliases

+ 4
- 0
diagrams/onprem/security.py Ver fichero

@@ -12,6 +12,10 @@ class Bitwarden(_Security):
_icon = "bitwarden.png"


class Boundary(_Security):
_icon = "boundary.png"


class Trivy(_Security):
_icon = "trivy.png"



+ 26
- 0
docs/nodes/hashicorp.md Ver fichero

@@ -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**

+ 0
- 0
resources/hashicorp/applications/nomad.png Ver fichero


+ 0
- 0
resources/hashicorp/applications/vagrant.png Ver fichero


+ 0
- 0
resources/hashicorp/applications/waypoint.png Ver fichero


+ 0
- 0
resources/hashicorp/infrastructure/packer.png Ver fichero


+ 0
- 0
resources/hashicorp/infrastructure/terraform.png Ver fichero


+ 0
- 0
resources/hashicorp/networking/consul.png Ver fichero


+ 0
- 0
resources/hashicorp/security/boundary.png Ver fichero


+ 0
- 0
resources/hashicorp/security/vault.png Ver fichero


BIN
resources/onprem/ci/waypoint.png Ver fichero

Antes Después
Anchura: 385  |  Altura: 250  |  Tamaño: 11 KiB

BIN
resources/onprem/iac/packer.png Ver fichero

Antes Después
Anchura: 170  |  Altura: 277  |  Tamaño: 4.3 KiB

BIN
resources/onprem/iac/terraform.png Ver fichero

Antes Después
Anchura: 256  |  Altura: 256  |  Tamaño: 18 KiB Anchura: 220  |  Altura: 250  |  Tamaño: 5.7 KiB

BIN
resources/onprem/iac/vagrant.png Ver fichero

Antes Después
Anchura: 242  |  Altura: 250  |  Tamaño: 8.7 KiB

BIN
resources/onprem/security/boundary.png Ver fichero

Antes Después
Anchura: 205  |  Altura: 250  |  Tamaño: 4.5 KiB

+ 6
- 0
scripts/resource.py Ver fichero

@@ -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,
}




Cargando…
Cancelar
Guardar