code: private KubernetesCommand<?> getCommandByName(String commandName) {
          if (!StringUtils.hasText(commandName)) {
              throw new CitrusRuntimeException("Missing command name property");
          }
  
          switch (commandName) {
              case "info":
                  return new Info();
              case "list-events":
                  return new ListEvents();
              case "list-endpoints":
                  return new ListEndpoints();
              case "create-pod":
                  return new CreatePod();
              case "get-pod":
                  return new GetPod();
              case "delete-pod":
                  return new DeletePod();
              case "list-pods":
                  return new ListPods();
              case "watch-pods":
                  return new WatchPods();
              case "list-namespaces":
                  return new ListNamespaces();
              case "watch-namespaces":
                  return new WatchNamespaces();
              case "list-nodes":
                  return new ListNodes();
              case "watch-nodes":
                  return new WatchNodes();
              case "list-replication-controllers":
                  return new ListReplicationControllers();
              case "watch-replication-controllers":
                  return new WatchReplicationControllers();
              case "create-service":
                  return new CreateService();
              case "get-service":
                  return new GetService();
              case "delete-service":
                  return new DeleteService();
              case "list-services":
                  return new ListServices();
              case "watch-services":
                  return new WatchServices();
              default:
                  throw new CitrusRuntimeException("Unknown kubernetes command: " + commandName);
          }
      }
docs: Creates a new kubernetes command message model object from message headers.
  @param commandName
  @return