create

async gafaelfawr.operator.ingress.create(name, namespace, body, memo, **_)

Handle creation or modiication of a GafaelfawrIngress object.

Parameters:
  • name (str | None) – Name of the object.

  • namespace (str | None) – Namespace of the object.

  • body (Body) – Body of the object in dictionary form.

  • memo (Memo) – Holds global state, used to store the KubernetesIngressService object.

  • _ (Any)

Returns:

Status information to record in the object, or None if no changes were made.

Return type:

dict or None