move k8s base functions into k8s package

This commit is contained in:
Tuna
2016-08-12 00:46:03 +07:00
parent f10d6afecf
commit baedd92036
8 changed files with 470 additions and 639 deletions
+5 -3
View File
@@ -16,9 +16,11 @@ limitations under the License.
package transformer
import "github.com/skippbox/kompose/pkg/kobject"
import (
"github.com/skippbox/kompose/pkg/kobject"
"k8s.io/kubernetes/pkg/runtime"
)
type Transformer interface {
Transform(kobject.KomposeObject, kobject.ConvertOptions) (map[string][]byte, map[string][]byte, map[string][]byte, map[string][]byte, map[string][]byte, []string)
Transform(kobject.KomposeObject, kobject.ConvertOptions) []runtime.Object
}