Skip to content

Commit fe0e759

Browse files
authored
Merge pull request kubernetes-sigs#929 from dmvolod/issue-875
🐛 cannot specify ControlPlane in envtest.Environment
2 parents 77de589 + 74fc5b0 commit fe0e759

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkg/envtest/server.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ func defaultAssetPath(binary string) string {
7272

7373
}
7474

75+
// ControlPlane is the re-exported ControlPlane type from the internal integration package
76+
type ControlPlane = integration.ControlPlane
77+
78+
// APIServer is the re-exported APIServer type from the internal integration package
79+
type APIServer = integration.APIServer
80+
81+
// Etcd is the re-exported Etcd type from the internal integration package
82+
type Etcd = integration.Etcd
83+
7584
// Environment creates a Kubernetes test environment that will start / stop the Kubernetes control plane and
7685
// install extension APIs
7786
type Environment struct {

0 commit comments

Comments
 (0)