func GetLoader(format string) (Loader, error) {
	if format != "compose" {
		return nil, fmt.Errorf("input file format %s is not supported", format)
	}
	return new(compose.Compose), nil
}
GetLoader returns loader for given format
package loader
import (
	"fmt"
	"github.com/kubernetes/kompose/pkg/kobject"
	"github.com/kubernetes/kompose/pkg/loader/compose"
)
type Loader interface {
	LoadFile(files []string) (kobject.KomposeObject, error)
}