grim/convey
Clone
Summary
Browse
Changes
Graph
Fix some issues with exiting
redux
2021-10-16, Gary Kramlich
18b916dada5e
Fix some issues with exiting
package
docker
import
(
"fmt"
log
"github.com/sirupsen/logrus"
"keep.imfreedom.org/grim/convey/environment"
"keep.imfreedom.org/grim/convey/runtime"
"keep.imfreedom.org/grim/convey/tasks"
)
type
Environment
struct
{}
// New creates a new Environment task.
func
(
e
*
Environment
)
New
()
tasks
.
Task
{
return
&
Environment
{}
}
// Valid validates the task.
func
(
e
*
Environment
)
Valid
()
error
{
return
fmt
.
Errorf
(
"The docker/environment tasks was removed in version 0.15.0"
)
}
// Executes the task
func
(
e
*
Environment
)
Execute
(
name
string
,
logger
*
log
.
Entry
,
env
environment
.
Environment
,
rt
*
runtime
.
Runtime
)
error
{
return
nil
}
func
(
e
*
Environment
)
Deprecated
()
error
{
return
nil
}