const defaultHost … const DefaultNumNodes … var Output … var Exit … var CheckForBugs … type TestContextType … type NodeKillerConfig … type NodeTestContextType … type CloudConfig … var TestContext … type stringArrayValue … func (v stringArrayValue) String() string { … } func (v stringArrayValue) Set(s string) error { … } // ClusterIsIPv6 returns true if the cluster is IPv6 func (tc TestContextType) ClusterIsIPv6() bool { … } // RegisterCommonFlags registers flags common to all e2e test suites. // The flag set can be flag.CommandLine (if desired) or a custom // flag set that then gets passed to viperconfig.ViperizeFlags. // // The other Register*Flags methods below can be used to add more // test-specific flags. However, those settings then get added // regardless whether the test is actually in the test suite. // // For tests that have been converted to registering their // options themselves, copy flags from test/e2e/framework/config // as shown in HandleFlags. func RegisterCommonFlags(flags *flag.FlagSet) { … } func CreateGinkgoConfig() (types.SuiteConfig, types.ReporterConfig) { … } // RegisterClusterFlags registers flags specific to the cluster e2e test suite. func RegisterClusterFlags(flags *flag.FlagSet) { … } // generateSecureToken returns a string of length tokenLen, consisting // of random bytes encoded as base64 for use as a Bearer Token during // communication with an APIServer func generateSecureToken(tokenLen int) (string, error) { … } // AfterReadingAllFlags makes changes to the context after all flags // have been read and prepares the process for a test run. func AfterReadingAllFlags(t *TestContextType) { … } func listTestInformation(report ginkgo.Report) { … } func relativePath(wd, path string) string { … }