diff --git a/autogen.sh b/autogen.sh index 6af32ce4..14ac99ae 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ set -e app_root_dir="diagrams" # NOTE: azure icon set is not latest version -providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale") +providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" "scaleway") if ! [ -x "$(command -v round)" ]; then echo 'round is not installed' diff --git a/config.py b/config.py index 12fec10c..6aaa134b 100644 --- a/config.py +++ b/config.py @@ -13,7 +13,7 @@ DIR_TEMPLATE = "templates" PROVIDERS = ( "base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming", "saas", "elastic", - "generic", "openstack", "outscale") + "generic", "openstack", "outscale", "scaleway") ######################### # Resource Processing # @@ -41,6 +41,7 @@ FILE_PREFIXES = { "outscale": (), "generic": (), "openstack": (), + "scaleway": (), } ######################### @@ -425,4 +426,12 @@ ALIASES = { "Tripleo": "TripleO", } }, + "scaleway": { + "devtools": { + "CommandLineInterface": "CLI", + }, + "compute": { + "KubernetesEngine": "Kapsule", + } + }, } diff --git a/diagrams/scaleway/api.py b/diagrams/scaleway/api.py new file mode 100644 index 00000000..1c6d1a9e --- /dev/null +++ b/diagrams/scaleway/api.py @@ -0,0 +1,11 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Api(_Scaleway): + _type = "api" + _icon_dir = "resources/scaleway/api" + + +# Aliases diff --git a/diagrams/scaleway/compute.py b/diagrams/scaleway/compute.py new file mode 100644 index 00000000..d4deec60 --- /dev/null +++ b/diagrams/scaleway/compute.py @@ -0,0 +1,33 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Compute(_Scaleway): + _type = "compute" + _icon_dir = "resources/scaleway/compute" + + +class ComputeDev(_Compute): + _icon = "compute-dev.png" + + +class ComputeGp(_Compute): + _icon = "compute-gp.png" + + +class ComputeGpu(_Compute): + _icon = "compute-gpu.png" + + +class Functions(_Compute): + _icon = "functions.png" + + +class KubernetesEngine(_Compute): + _icon = "kubernetes-engine.png" + + +# Aliases + +Kapsule = KubernetesEngine diff --git a/diagrams/scaleway/database.py b/diagrams/scaleway/database.py new file mode 100644 index 00000000..85e98f8a --- /dev/null +++ b/diagrams/scaleway/database.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Database(_Scaleway): + _type = "database" + _icon_dir = "resources/scaleway/database" + + +class Database(_Database): + _icon = "database.png" + + +# Aliases diff --git a/diagrams/scaleway/devtools.py b/diagrams/scaleway/devtools.py new file mode 100644 index 00000000..a5805cb8 --- /dev/null +++ b/diagrams/scaleway/devtools.py @@ -0,0 +1,21 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Devtools(_Scaleway): + _type = "devtools" + _icon_dir = "resources/scaleway/devtools" + + +class Api(_Devtools): + _icon = "api.png" + + +class CommandLineInterface(_Devtools): + _icon = "command-line-interface.png" + + +# Aliases + +CLI = CommandLineInterface diff --git a/diagrams/scaleway/general.py b/diagrams/scaleway/general.py new file mode 100644 index 00000000..29568eed --- /dev/null +++ b/diagrams/scaleway/general.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _General(_Scaleway): + _type = "general" + _icon_dir = "resources/scaleway/general" + + +class Marketplace(_General): + _icon = "marketplace.png" + + +# Aliases diff --git a/diagrams/scaleway/iot.py b/diagrams/scaleway/iot.py new file mode 100644 index 00000000..bc453bec --- /dev/null +++ b/diagrams/scaleway/iot.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Iot(_Scaleway): + _type = "iot" + _icon_dir = "resources/scaleway/iot" + + +class Hub(_Iot): + _icon = "hub.png" + + +# Aliases diff --git a/diagrams/scaleway/ml.py b/diagrams/scaleway/ml.py new file mode 100644 index 00000000..7f3e7728 --- /dev/null +++ b/diagrams/scaleway/ml.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Ml(_Scaleway): + _type = "ml" + _icon_dir = "resources/scaleway/ml" + + +class DeepLearningImages(_Ml): + _icon = "deep-learning-images.png" + + +# Aliases diff --git a/diagrams/scaleway/network.py b/diagrams/scaleway/network.py new file mode 100644 index 00000000..5e2c2dc6 --- /dev/null +++ b/diagrams/scaleway/network.py @@ -0,0 +1,19 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Network(_Scaleway): + _type = "network" + _icon_dir = "resources/scaleway/network" + + +class LoadBalancer(_Network): + _icon = "load-balancer.png" + + +class Vpc(_Network): + _icon = "vpc.png" + + +# Aliases diff --git a/diagrams/scaleway/storage.py b/diagrams/scaleway/storage.py new file mode 100644 index 00000000..c7ad8a44 --- /dev/null +++ b/diagrams/scaleway/storage.py @@ -0,0 +1,27 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Scaleway + + +class _Storage(_Scaleway): + _type = "storage" + _icon_dir = "resources/scaleway/storage" + + +class BlockStorage(_Storage): + _icon = "block-storage.png" + + +class ColdStorage(_Storage): + _icon = "cold-storage.png" + + +class ContainerRegistry(_Storage): + _icon = "container-registry.png" + + +class ObjectStorage(_Storage): + _icon = "object-storage.png" + + +# Aliases diff --git a/docs/nodes/scaleway.md b/docs/nodes/scaleway.md new file mode 100644 index 00000000..708abfb5 --- /dev/null +++ b/docs/nodes/scaleway.md @@ -0,0 +1,50 @@ +--- +id: scaleway +title: Scaleway +--- + +Node classes list of scaleway provider. + +## scaleway.api + + +## scaleway.compute + +- **diagrams.scaleway.compute.ComputeDev** +- **diagrams.scaleway.compute.ComputeGp** +- **diagrams.scaleway.compute.ComputeGpu** +- **diagrams.scaleway.compute.Functions** +- **diagrams.scaleway.compute.KubernetesEngine**, **Kapsule** (alias) + +## scaleway.database + +- **diagrams.scaleway.database.Database** + +## scaleway.devtools + +- **diagrams.scaleway.devtools.Api** +- **diagrams.scaleway.devtools.CommandLineInterface**, **CLI** (alias) + +## scaleway.general + +- **diagrams.scaleway.general.Marketplace** + +## scaleway.iot + +- **diagrams.scaleway.iot.Hub** + +## scaleway.ml + +- **diagrams.scaleway.ml.DeepLearningImages** + +## scaleway.network + +- **diagrams.scaleway.network.LoadBalancer** +- **diagrams.scaleway.network.Vpc** + +## scaleway.storage + +- **diagrams.scaleway.storage.BlockStorage** +- **diagrams.scaleway.storage.ColdStorage** +- **diagrams.scaleway.storage.ContainerRegistry** +- **diagrams.scaleway.storage.ObjectStorage** diff --git a/resources/scaleway/compute/compute-dev.png b/resources/scaleway/compute/compute-dev.png new file mode 100644 index 00000000..61a9e34e Binary files /dev/null and b/resources/scaleway/compute/compute-dev.png differ diff --git a/resources/scaleway/compute/compute-gp.png b/resources/scaleway/compute/compute-gp.png new file mode 100644 index 00000000..2c6db697 Binary files /dev/null and b/resources/scaleway/compute/compute-gp.png differ diff --git a/resources/scaleway/compute/compute-gpu.png b/resources/scaleway/compute/compute-gpu.png new file mode 100644 index 00000000..635e8ffd Binary files /dev/null and b/resources/scaleway/compute/compute-gpu.png differ diff --git a/resources/scaleway/compute/functions.png b/resources/scaleway/compute/functions.png new file mode 100644 index 00000000..92690b31 Binary files /dev/null and b/resources/scaleway/compute/functions.png differ diff --git a/resources/scaleway/compute/kubernetes-engine.png b/resources/scaleway/compute/kubernetes-engine.png new file mode 100644 index 00000000..d132e8a7 Binary files /dev/null and b/resources/scaleway/compute/kubernetes-engine.png differ diff --git a/resources/scaleway/database/database.png b/resources/scaleway/database/database.png new file mode 100644 index 00000000..c5a06108 Binary files /dev/null and b/resources/scaleway/database/database.png differ diff --git a/resources/scaleway/devtools/api.png b/resources/scaleway/devtools/api.png new file mode 100644 index 00000000..91fa849c Binary files /dev/null and b/resources/scaleway/devtools/api.png differ diff --git a/resources/scaleway/devtools/command-line-interface.png b/resources/scaleway/devtools/command-line-interface.png new file mode 100644 index 00000000..d10b634f Binary files /dev/null and b/resources/scaleway/devtools/command-line-interface.png differ diff --git a/resources/scaleway/general/marketplace.png b/resources/scaleway/general/marketplace.png new file mode 100644 index 00000000..0f524a4d Binary files /dev/null and b/resources/scaleway/general/marketplace.png differ diff --git a/resources/scaleway/iot/hub.png b/resources/scaleway/iot/hub.png new file mode 100644 index 00000000..03faebdc Binary files /dev/null and b/resources/scaleway/iot/hub.png differ diff --git a/resources/scaleway/ml/deep-learning-images.png b/resources/scaleway/ml/deep-learning-images.png new file mode 100644 index 00000000..bece0967 Binary files /dev/null and b/resources/scaleway/ml/deep-learning-images.png differ diff --git a/resources/scaleway/network/load-balancer.png b/resources/scaleway/network/load-balancer.png new file mode 100644 index 00000000..616e4942 Binary files /dev/null and b/resources/scaleway/network/load-balancer.png differ diff --git a/resources/scaleway/network/vpc.png b/resources/scaleway/network/vpc.png new file mode 100644 index 00000000..1cd2f979 Binary files /dev/null and b/resources/scaleway/network/vpc.png differ diff --git a/resources/scaleway/storage/block-storage.png b/resources/scaleway/storage/block-storage.png new file mode 100644 index 00000000..aea29d67 Binary files /dev/null and b/resources/scaleway/storage/block-storage.png differ diff --git a/resources/scaleway/storage/cold-storage.png b/resources/scaleway/storage/cold-storage.png new file mode 100644 index 00000000..f7cd04d6 Binary files /dev/null and b/resources/scaleway/storage/cold-storage.png differ diff --git a/resources/scaleway/storage/container-registry.png b/resources/scaleway/storage/container-registry.png new file mode 100644 index 00000000..48089f94 Binary files /dev/null and b/resources/scaleway/storage/container-registry.png differ diff --git a/resources/scaleway/storage/object-storage.png b/resources/scaleway/storage/object-storage.png new file mode 100644 index 00000000..26b671d3 Binary files /dev/null and b/resources/scaleway/storage/object-storage.png differ diff --git a/scripts/resource.py b/scripts/resource.py index e36432b0..1b8d693d 100644 --- a/scripts/resource.py +++ b/scripts/resource.py @@ -117,6 +117,10 @@ def cleaner_openstack(f): return f.lower() +def cleaner_scaleway(f): + return f.lower() + + cleaners = { "onprem": cleaner_onprem, "aws": cleaner_aws, @@ -132,6 +136,7 @@ cleaners = { "outscale": cleaner_outscale, "generic": cleaner_generic, "openstack": cleaner_openstack, + "scaleway": cleaner_scaleway, }