LabObjects¶
- class controller.models.domain.lab.LabObjects(env_config_map, quota, pod, namespace, config_maps, network_policy, pvcs, secrets, service)¶
Bases:
LabStateObjects
All of the Kubernetes objects making up a user’s lab.
- Parameters:
Attributes Summary
Config maps used by the lab pod other than that for the environment.
Config map used to hold the environment of the spawned lab.
Namespace holding the user's lab.
Network policy for the lab.
User's lab pod.
Persistent volume claims.
Quota for the user's namespace, if any.
Secrets for the user's lab.
Service for talking to the user's pod.
Attributes Documentation
-
config_maps:
list
[V1ConfigMap
] = <dataclasses._MISSING_TYPE object>¶ Config maps used by the lab pod other than that for the environment.
-
env_config_map:
V1ConfigMap
= <dataclasses._MISSING_TYPE object>¶ Config map used to hold the environment of the spawned lab.
-
namespace:
V1Namespace
= <dataclasses._MISSING_TYPE object>¶ Namespace holding the user’s lab.
-
network_policy:
V1NetworkPolicy
= <dataclasses._MISSING_TYPE object>¶ Network policy for the lab.
-
pod:
V1Pod
= <dataclasses._MISSING_TYPE object>¶ User’s lab pod.
-
quota:
V1ResourceQuota
|None
= <dataclasses._MISSING_TYPE object>¶ Quota for the user’s namespace, if any.
-
service:
V1Service
= <dataclasses._MISSING_TYPE object>¶ Service for talking to the user’s pod.