grim/convey
Clone
Summary
Browse
Changes
Graph
Quickly fix a mistake with the docs build
11 months ago, Gary Kramlich
b3868a101c61
Quickly fix a mistake with the docs build
package
docker
import
(
"fmt"
log
"github.com/sirupsen/logrus"
"keep.imfreedom.org/grim/convey/environment"
"keep.imfreedom.org/grim/convey/runtime"
)
type
Environment
struct
{}
// New creates a new Environment task.
func
(
e
*
Environment
)
New
()
runtime
.
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
}