Executes a Kubernetes operation using the specified method against a path.
        This is part of the low-level API.

        :Parameters:
           - `method`: The HTTP method to use, defaults to `GET`
           - `ops_path`: The path of the operation, for example, `/api/v1/events` which would result in an overall: `GET http://localhost:8080/api/v1/events`
           - `payload`: The optional payload which is relevant for `POST` or `PUT` methods only

def execute_operation(self, method="GET", ops_path="", payload=""):
        """
        Executes a Kubernetes operation using the specified method against a path.
        This is part of the low-level API.

        :Parameters:
           - `method`: The HTTP method to use, defaults to `GET`
           - `ops_path`: The path of the operation, for example, `/api/v1/events` which would result in an overall: `GET http://localhost:8080/api/v1/events`
           - `payload`: The optional payload which is relevant for `POST` or `PUT` methods only
        """
        operation_path_URL = "".join([self.api_server, ops_path])
        logging.debug("%s %s" %(method, operation_path_URL))
        if payload == "":
            res = requests.request(method, operation_path_URL)
        else:
            logging.debug("PAYLOAD:\n%s" %(payload))
            res = requests.request(method, operation_path_URL, data=payload)
        logging.debug("RESPONSE:\n%s" %(res.json()))
        return res