Documentation ¶
Index ¶
- type Context
- func (c *Context) ForceContext(ctx context.Context)
- func (c *Context) ForceGitDir(dir string)
- func (c Context) HandleLibrary() (io.ReadSeekCloser, error)
- func (c Context) HandleOp(op Op, logFile *os.File) (io.ReadSeekCloser, error)
- func (c Context) Handler() (repo, error)
- func (c *Context) Run(ctx context.Context, ctxC context.CancelFunc) (err error)
- func (c Context) StashBuildFile(zip io.ReadSeekCloser) (cid string, err error)
- type Op
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Node peer.Node Tns tns.Client RepoType compilerCommon.RepositoryType ProjectID string DeployKey string Job *patrick.Job LogFile *os.File WorkDir string Patrick patrick.Client ContainerClient *ci.Client ConfigRepoId int ConfigPrivateKey string ConfigRepoRoot string Monkey monkey.Service OdoClientNode peer.Node DVPublicKey []byte // contains filtered or unexported fields }
func (*Context) ForceContext ¶
Used in tests for setting the unexported contexts
func (*Context) ForceGitDir ¶
func (Context) HandleLibrary ¶
func (c Context) HandleLibrary() (io.ReadSeekCloser, error)
func (Context) StashBuildFile ¶
func (c Context) StashBuildFile(zip io.ReadSeekCloser) (cid string, err error)
Click to show internal directories.
Click to hide internal directories.