type CompatibilityTestOptions … type FillFunc … func NewCompatibilityTestOptions(scheme *runtime.Scheme) *CompatibilityTestOptions { … } var coreKinds … func (c *CompatibilityTestOptions) Complete(t *testing.T) *CompatibilityTestOptions { … } func (c *CompatibilityTestOptions) Run(t *testing.T) { … } func (c *CompatibilityTestOptions) runCurrentVersionTest(t *testing.T, gvk schema.GroupVersionKind, usedFiles sets.String) { … } func (c *CompatibilityTestOptions) encode(t *testing.T, obj runtime.Object) (json, yaml, proto []byte) { … } func read(dir string, gvk schema.GroupVersionKind, suffix string, usedFiles sets.String) (json, yaml, proto []byte, err error) { … } func writeFile(t *testing.T, dir string, gvk schema.GroupVersionKind, suffix, extension string, data []byte) { … } func deleteFile(t *testing.T, dir string, gvk schema.GroupVersionKind, suffix, extension string) { … } func (c *CompatibilityTestOptions) runPreviousVersionTest(t *testing.T, gvk schema.GroupVersionKind, previousVersionDir string, usedFiles sets.String) { … } func makeName(gvk schema.GroupVersionKind) string { … } func dumpProto(t *testing.T, data []byte) string { … }