Documentation ¶
Overview ¶
The test package provides libaries for integration testing by starting a local control plane
Index ¶
- type InstallStrategy
- type NewlineReporter
- func (NewlineReporter) AfterSuiteDidRun(setupSummary *SetupSummary)
- func (NewlineReporter) BeforeSuiteDidRun(setupSummary *SetupSummary)
- func (NewlineReporter) SpecDidComplete(specSummary *SpecSummary)
- func (NewlineReporter) SpecSuiteDidEnd(summary *SuiteSummary)
- func (NewlineReporter) SpecSuiteWillBegin(config GinkgoConfigType, summary *SuiteSummary)
- func (NewlineReporter) SpecWillRun(specSummary *SpecSummary)
- type TestEnvironment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallStrategy ¶
type InstallStrategy struct { install.EmptyInstallStrategy // contains filtered or unexported fields }
func (*InstallStrategy) GetCRDs ¶
func (s *InstallStrategy) GetCRDs() []*extensionsv1beta1.CustomResourceDefinition
type NewlineReporter ¶
type NewlineReporter struct{}
Print a newline after the default Reporter output so that the results are correctly parsed by test automation. See issue https://github.com/jstemmer/go-junit-report/issues/31
func (NewlineReporter) AfterSuiteDidRun ¶
func (NewlineReporter) AfterSuiteDidRun(setupSummary *SetupSummary)
func (NewlineReporter) BeforeSuiteDidRun ¶
func (NewlineReporter) BeforeSuiteDidRun(setupSummary *SetupSummary)
func (NewlineReporter) SpecDidComplete ¶
func (NewlineReporter) SpecDidComplete(specSummary *SpecSummary)
func (NewlineReporter) SpecSuiteDidEnd ¶
func (NewlineReporter) SpecSuiteDidEnd(summary *SuiteSummary)
SpecSuiteDidEnd Prints a newline between "35 Passed | 0 Failed | 0 Pending | 0 Skipped" and "--- PASS:"
func (NewlineReporter) SpecSuiteWillBegin ¶
func (NewlineReporter) SpecSuiteWillBegin(config GinkgoConfigType, summary *SuiteSummary)
func (NewlineReporter) SpecWillRun ¶
func (NewlineReporter) SpecWillRun(specSummary *SpecSummary)
type TestEnvironment ¶
type TestEnvironment struct { ControlPlane integration.ControlPlane Config *rest.Config CRDs []*extensionsv1beta1.CustomResourceDefinition }
TestEnvironment creates a Kubernetes test environment that will start / stop the Kubernetes control plane and install extension APIs
Click to show internal directories.
Click to hide internal directories.