From 3a8710d533ac9ff0fb87e1ee8be87ef6240e5925 Mon Sep 17 00:00:00 2001 From: Don Date: Mon, 9 Sep 2019 17:48:26 -0700 Subject: [PATCH] Cleanup pkg/plugin --- pkg/plugin/types.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/pkg/plugin/types.go b/pkg/plugin/types.go index 795e544..1971baf 100644 --- a/pkg/plugin/types.go +++ b/pkg/plugin/types.go @@ -8,29 +8,6 @@ package plugin import "time" type ( - // Context contains information about the current execution context. - // - // The context organizes all the information available to a plugin executing - // as a step within a stage. - // - // Plugins can choose to compose this within their own config. - // - // import "github.com/drone-plugins/drone-plugin-lib/pkg/plugin" - // - // type MyPluginContext struct { - // plugin.Context - // Foo string - // Bar string - // } - Context struct { - Build Build - Repo Repo - Commit Commit - Stage Stage - Step Step - SemVer SemVer - } - // Build represents a build of a repository. Build struct { // Action that triggered the build. This value is used to differentiate