type TestTypesGetter … type TestTypeInterface … type testTypes … // newTestTypes returns a TestTypes func newTestTypes(c *ExampleV1Client, namespace string) *testTypes { … } // GetClusterTestType takes name of the testType, and returns the corresponding testType object, and an error if there is any. func (c *testTypes) GetClusterTestType(ctx context.Context, name string, options metav1.GetOptions) (result *examplev1.TestType, err error) { … }