Rename to backend

This commit is contained in:
patdyn 2024-06-27 11:44:53 +02:00
parent 170d9bc6d0
commit ff61ff383e
5 changed files with 4 additions and 3 deletions

View file

@ -15,6 +15,7 @@ from .terraform import TerraformDomain
from .provider_digitalocean import Digitalocean
from .provider_hetzner import Hetzner
from .provider_aws import Aws
from .backend_tf_backend_git import TerraformBackendGit
from .provs_k3s import K3s
from .release import Release
from .artifact import Artifact

View file

@ -12,7 +12,7 @@ class BuildType(Enum):
K3S = 2
TERRAFORM = 3
# TODO: We could follow domain implications and make a 'BackendType' enum
class ProviderType(Enum):
DIGITALOCEAN = 0
HETZNER = 1

View file

@ -6,7 +6,7 @@ from .devops_factory import DevopsFactory
from .terraform import TerraformDomain
from .provider_digitalocean import Digitalocean
from .provider_hetzner import Hetzner
from .provider_tf_backend_git import TerraformBackendGit
from .backend_tf_backend_git import TerraformBackendGit
from .c4k import C4k
from .image import Image
from .release import ReleaseType, Release

View file

@ -8,7 +8,7 @@ from .common import (
from .provider_digitalocean import Digitalocean
from .provider_hetzner import Hetzner
from .provider_aws import Aws
from .provider_tf_backend_git import TerraformBackendGit
from .backend_tf_backend_git import TerraformBackendGit
class TerraformDomain(Validateable):