X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fk8s_conn.py;h=6ac81195305dbb7894cfa0ca1200a9579b2180c2;hp=f9aefa722e19cbfd6f060e3e95ef8aceae0b97c1;hb=refs%2Fchanges%2F46%2F8646%2F2;hpb=12aa0840d594fcb9c236fbb4d0e4aa85687ab4f8 diff --git a/n2vc/k8s_conn.py b/n2vc/k8s_conn.py index f9aefa7..6ac8119 100644 --- a/n2vc/k8s_conn.py +++ b/n2vc/k8s_conn.py @@ -122,6 +122,20 @@ class K8sConnector(abc.ABC, Loggable): :return: True if successful """ + @abc.abstractmethod + async def synchronize_repos( + self, + cluster_uuid: str, + name: str + ): + """ + Synchronizes the list of repositories created in the cluster with + the repositories added by the NBI + + :param cluster_uuid: the cluster + :return: List of repositories deleted from the cluster and dictionary with repos added + """ + @abc.abstractmethod async def reset( self,