LabObjectNames

class controller.models.domain.lab.LabObjectNames(username, namespace, env_config_map, quota, pod)

Bases: object

Names for the key Kubernetes objects making up a user’s lab.

An instance of this object contains the names for a specific user, named in the username field.

Only the objects that need to be retrieved from Kubernetes in order to reconcile state need to be named here. The rest can be internal implementation details of LabBuilder.

Parameters:
  • username (str)

  • namespace (str)

  • env_config_map (str)

  • quota (str)

  • pod (str)

Attributes Summary

env_config_map

Name of the config map holding the lab environment.

namespace

Namespace for the lab.

pod

Name of the pod.

quota

Name of the resource quota object, if any.

username

User who owns objects with these names.

Attributes Documentation

env_config_map: str = <dataclasses._MISSING_TYPE object>

Name of the config map holding the lab environment.

namespace: str = <dataclasses._MISSING_TYPE object>

Namespace for the lab.

pod: str = <dataclasses._MISSING_TYPE object>

Name of the pod.

quota: str = <dataclasses._MISSING_TYPE object>

Name of the resource quota object, if any.

username: str = <dataclasses._MISSING_TYPE object>

User who owns objects with these names.