package framework
import "k8s.io/kubernetes/test/integration/federation/framework"
Index ¶
- func TeardownOnPanic(t *testing.T, f TestFixture)
- type FederationAPIFixture
- func (f *FederationAPIFixture) Setup(t *testing.T)
- func (f *FederationAPIFixture) Teardown(t *testing.T)
- type TestFixture
Functions ¶
func TeardownOnPanic ¶
func TeardownOnPanic(t *testing.T, f TestFixture)
TeardownOnPanic can be used to ensure cleanup on setup failure.
Types ¶
type FederationAPIFixture ¶
type FederationAPIFixture struct { Host string // contains filtered or unexported fields }
FederationAPIFixture manages a federation api server
func (*FederationAPIFixture) Setup ¶
func (f *FederationAPIFixture) Setup(t *testing.T)
func (*FederationAPIFixture) Teardown ¶
func (f *FederationAPIFixture) Teardown(t *testing.T)
type TestFixture ¶
Setup is likely to be fixture-specific, but Teardown needs to be consistent to enable TeardownOnPanic.
Source Files ¶
api.go util.go
- Version
- v1.6.0
- Published
- Mar 28, 2017
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 1 minute ago –
Tools for package owners.