object SSHAuthenticationWrapper extends ContextLogging
- Alphabetic
- By Inheritance
- SSHAuthenticationWrapper
- ContextLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commandWithKey(projectData: String, command: String, repositoryKeysLocation: String)(implicit logContext: ProjectLogContext): Seq[String]
Generates a sequence of strings representing a command that includes an
ssh-addcommand with a private key, which is intended to be run in a new shell started by ssh-agent.Generates a sequence of strings representing a command that includes an
ssh-addcommand with a private key, which is intended to be run in a new shell started by ssh-agent.Side-effect: the private key is written to a file at a given location.
- projectData
the data of the project, it's used to derive the key file name via its hash code. it's also parsed to extract repository details which include the private key
- command
the command to execute after the ssh key has been added
- repositoryKeysLocation
the location where the private key file is written
- returns
a sequence of strings representing the full command
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val logger: ContextAwareLogger
- Attributes
- protected
- Definition Classes
- ContextLogging
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wrap(projectRequest: ProjectRequest, command: String, repositoryKeysLocation: String)(implicit logContext: ProjectLogContext): Seq[String]
Wrap given command with
ssh-agentandssh-addcommand with a private key.Wrap given command with
ssh-agentandssh-addcommand with a private key. WARNING: Include side effects of writing the private key to a file.