e2e: remove unused method
@@ -27,9 +27,6 @@ import (
"github.com/coreos/etcd-operator/test/e2e/framework"
"github.com/coreos/etcd/embed"
"github.com/coreos/etcd/pkg/netutil"
-
- "k8s.io/client-go/1.5/pkg/api/unversioned"
- "k8s.io/client-go/1.5/pkg/api/v1"
)
func TestSelfHosted(t *testing.T) {
@@ -123,19 +120,3 @@ func testCreateSelfHostedClusterWithBootMember(t *testing.T) {
t.Fatalf("failed to create 3 members etcd cluster: %v", err)
}
}
-
-func makeSelfHostedEnabledCluster(genName string, size int) *spec.EtcdCluster {
- return &spec.EtcdCluster{
- TypeMeta: unversioned.TypeMeta{
- Kind: "EtcdCluster",
- APIVersion: "coreos.com/v1",
- },
- ObjectMeta: v1.ObjectMeta{
- GenerateName: genName,
- },
- Spec: &spec.ClusterSpec{
- Size: size,
- SelfHosted: &spec.SelfHostedPolicy{},
- },
- }
-}
