lab_orchestrator_lib.model.model

Contains the dataclasses that are used in this project.

Functions

check_dns_name(name)

Checks if the name is a valid dns label.

check_dns_subdomain_name(name)

Checks if the name is a valid dns subdomain name.

Classes

DockerImage(primary_key, name, description, url)

Link to a Docker Image that contains a VM image.

Lab(primary_key, name, namespace_prefix, ...)

Lab is a combination of VMs that can be started.

LabDockerImage(primary_key, lab_id, ...)

A Lab Docker Image is a docker image that is referenced to a lab.

LabInstance(primary_key, lab_id, user_id)

A lab instance is a lab that is started by a user.

LabInstanceKubernetes(primary_key, lab_id, ...)

A lab instance with a token.

Model(primary_key)

Abstract base class that is used for all classes that should be saved in a database.

User(primary_key)

A User of the library.