This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import scala.concurrent.Future | |
| import org.eclipse.jgit.api.errors.RefNotFoundException | |
| import com.drivetribe.orchestra.Dsl._ | |
| import com.drivetribe.orchestra.filesystem.{Directory, LocalFile} | |
| import org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider | |
| import org.eclipse.jgit.api.Git | |
| import com.drivetribe.orchestra.github.{GitRef, Repository} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def apply[ParamValues <: Product](paramValues: TupledValues): CronTrigger[ParamValues] = ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // No Params | |
| def apply(): CronTrigger[HNil] = ... | |
| // One param | |
| def apply[ParamValue](value: ParamValue): CronTrigger[ParamValue :: HNil] = ... | |
| // Multi param | |
| def apply[TupledValues <: Product, ParamValues <: HList](paramValues: TupledValues)( | |
| implicit tupleToHList: Generic.Aux[TupledValues, ParamValues] | |
| ): CronTrigger[ParamValues] = ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case object HNil extends HList |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class HCon[+H, +T <: HList](head: H, tail: T) extends HList |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class PodsOperations() extends Creatable[Pod] { | |
| implicit protected val resourceEncoder: Encoder[Pod] = implicitly[Encoder[Int]] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class PodsOperations() extends Creatable[Pod] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait Creatable[Resource] { | |
| implicit protected val resourceEncoder: Encoder[Resource] | |
| def create(resource: Resource): Unit = ... | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait Creatable[Resource](implicit resourceEncoder: Encoder[Resource]) { | |
| def create(resource: Resource): Unit = ... | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait Creatable[Resource: Encoder] { | |
| def create(resource: Resource): Unit = ... | |
| } |
NewerOlder