worker

package
v0.0.0-...-cb90f35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutGithub

func CheckoutGithub(task GithubCheckoutTask)

Types

type CheckoutCompletedModel

type CheckoutCompletedModel struct {
	WorkspacePath string `json:"string"`
	Success       bool   `json:"success"`
}

type CheckoutWorker

type CheckoutWorker struct {
	Github chan GithubCheckoutTask
}

func (CheckoutWorker) DoWork

func (w CheckoutWorker) DoWork()

type GithubCheckoutTask

type GithubCheckoutTask struct {
	OrganizationLogin string
	Repository        string
	CallbackUrl       string
	State             string
	Commit            plumbing.Hash
	Ctx               context.Context
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL