Ejemplo n.º 1
0
Archivo: k8s.py Proyecto: M46F/tempo
 def get_endpoint(self, model_details: ModelDetails) -> str:
     endpoint = Endpoint(model_details.name, self.k8s_options.namespace,
                         self.protocol)
     return endpoint.get_url(model_details)
Ejemplo n.º 2
0
 def get_endpoint_spec(self, model_spec: ModelSpec):
     endpoint = Endpoint()
     return endpoint.get_url(model_spec)
Ejemplo n.º 3
0
 def get_endpoint_spec(self, model_spec: ModelSpec) -> str:
     create_k8s_client()
     endpoint = Endpoint()
     return endpoint.get_url(model_spec)