Exemple #1
0
    def __init__(self,
                 host,
                 pubkey,
                 port=None,
                 username=None,
                 *args,
                 **kwargs):
        """
        Initialize the class with authdata and call superclass constructor.

        Please see SSHGitClient's class constructor for a documentation of
        arguments not mentioned here.

        Args:
            host: host to connect to
            pubkey: file path of the publickey to use
            port: SSH port to connect to
            username: username to use while connecting
        """
        self.host = host
        self.port = port
        self.pubkey = pubkey
        self.username = username
        TraditionalGitClient.__init__(self, *args, **kwargs)
        self.alternative_paths = {}
Exemple #2
0
 def __init__(self, host, pubkey, port=None, username=None, *args, **kwargs):
     self.host = host
     self.port = port
     self.pubkey = pubkey
     self.username = username
     TraditionalGitClient.__init__(self, *args, **kwargs)
     self.alternative_paths = {}
Exemple #3
0
    def __init__(self, host, pubkey, port=None, username=None, *args, **kwargs):
        """
        Initialize the class with authdata and call superclass constructor.

        Please see SSHGitClient's class constructor for a documentation of
        arguments not mentioned here.

        Args:
            host: host to connect to
            pubkey: file path of the publickey to use
            port: SSH port to connect to
            username: username to use while connecting
        """
        self.host = host
        self.port = port
        self.pubkey = pubkey
        self.username = username
        TraditionalGitClient.__init__(self, *args, **kwargs)
        self.alternative_paths = {}
Exemple #4
0
 def __init__(self, can_read, read, write):
     self.can_read = can_read
     self.read = read
     self.write = write
     TraditionalGitClient.__init__(self)
Exemple #5
0
 def __init__(self, can_read, read, write):
     self.can_read = can_read
     self.read = read
     self.write = write
     TraditionalGitClient.__init__(self)