FileserverStateObjects

class controller.models.domain.fileserver.FileserverStateObjects(job, pod, ingress)

Bases: object

Kubernetes objects used for inspecting the state of a fileserver.

These are used during state reconciliation to determine whether a user’s fileserver is operational. They’re disjoint from the resources created when starting a fileserver since in this case we care about the Ingress and not the GafaelfawrIngress, and we also care about the Pod.

Parameters:
  • job (V1Job)

  • pod (V1Pod | None)

  • ingress (V1Ingress | None)

Attributes Summary

ingress

Ingress of the running fileserver.

job

Job that runs the fileserver.

pod

Pod of the running fileserver.

Attributes Documentation

ingress: V1Ingress | None = <dataclasses._MISSING_TYPE object>

Ingress of the running fileserver.

job: V1Job = <dataclasses._MISSING_TYPE object>

Job that runs the fileserver.

pod: V1Pod | None = <dataclasses._MISSING_TYPE object>

Pod of the running fileserver.