minor updates

This commit is contained in:
Michael Jerger 2023-06-02 12:47:56 +02:00
parent 3af2d9c2c2
commit ba26f5aa6a
4 changed files with 10 additions and 2 deletions

View file

@ -5,7 +5,7 @@ DevopsBuild stellt die build Grundlagen zur Verfügung.
```mermaid
classDiagram
class DevopsBuild {
name() - thename of build
name() - the name of build
build_path() - the build dir in target
initialize_build_dir() - copy current directory & additional files to target
}

View file

@ -14,6 +14,7 @@
Rel(buildAndMixin,dom, "use")
Rel(app, dom, "use")
Rel(app, infra, "use")
Rel(infra, dom, "use")
UpdateLayoutConfig($c4ShapeInRow="2", $c4BoundaryInRow="1")

View file

@ -126,7 +126,8 @@ classDiagram
BuildFile *-- "1" Version
C4k *-- DnsRecord: dns_record
ProvsK3s *-- DnsRecord: provision_dns
Credentials *-- "0..n" CredentialMapping: mappings
Credentials *-- "0..n" CredentialMapping: mappings[name]
Credentials *-- "0..n" CredentialMapping: default_mappings
```

View file

@ -113,3 +113,9 @@ class BuildFile(Validateable):
self.content = substitute
except:
raise Exception(f"Version not found in file {self.file_path}")
def __eq__(self, other):
return other and self.file_path == other.file_path
def __hash__(self) -> int:
return self.file_path.__hash__()