kubectl/pkg/framework/test
Gareth Smith 9d271bf497 Add apiserver launcher to test framework
To start an apiserver:

```
apiServer := APIServer{Path: "/path/to/my/apiserver/binary"}
session, err := apiServer.Start("tcp://whereever.is.my.etcd:port")
Expect(err).NotTo(HaveOccurred())
```

When you're done testing against that apiserver:

```
session.Terminate().Wait()
```

...or if you prefer:

```
gexec.Terminate()
```

...which will terminate not only this apiserver, but also all other
command sessions you started in this test.
2017-11-29 12:08:29 +00:00
..
assets/fakeapiserver Add apiserver launcher to test framework 2017-11-29 12:08:29 +00:00
democli Add help text and barebones integration test 2017-11-29 12:08:29 +00:00
vendor Add dependencies 2017-11-29 12:08:29 +00:00
Gopkg.lock Add help text and barebones integration test 2017-11-29 12:08:29 +00:00
Gopkg.toml Add help text and barebones integration test 2017-11-29 12:08:28 +00:00
apiserver.go Add apiserver launcher to test framework 2017-11-29 12:08:29 +00:00
apiserver_test.go Add apiserver launcher to test framework 2017-11-29 12:08:29 +00:00
test_suite_test.go Add apiserver launcher to test framework 2017-11-29 12:08:29 +00:00