mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 08:31:57 +00:00
Make agent usable for external backends (#3270)
This commit is contained in:
@@ -93,6 +93,10 @@ func httpClientOfOpts(dockerCertPath string, verifyTLS bool) *http.Client {
|
||||
}
|
||||
}
|
||||
|
||||
func (e *docker) Flags() []cli.Flag {
|
||||
return Flags
|
||||
}
|
||||
|
||||
// Load new client for Docker Backend using environment variables.
|
||||
func (e *docker) Load(ctx context.Context) (*backend.BackendInfo, error) {
|
||||
c, ok := ctx.Value(backend.CliContext).(*cli.Context)
|
||||
|
Reference in New Issue
Block a user