def delete_from_etcd(self, name, mod_revision):
     return datamodel_v3.delete(self.resource_kind,
                                self.namespace,
                                name,
                                mod_revision=mod_revision)
Beispiel #2
0
 def delete_endpoint(self, port):
     datamodel_v3.delete("WorkloadEndpoint",
                         self.namespace,
                         endpoint_name(port))