func TestAPIObjectMeta(t *testing.T) { … }
func TestGenericTypeMeta(t *testing.T) { … }
type InternalTypeMeta …
func (m *InternalTypeMeta) GetResourceVersion() string { … }
func (m *InternalTypeMeta) SetResourceVersion(rv string) { … }
func (m *InternalTypeMeta) GetSelfLink() string { … }
func (m *InternalTypeMeta) SetSelfLink(link string) { … }
func (m *InternalTypeMeta) GetContinue() string { … }
func (m *InternalTypeMeta) SetContinue(c string) { … }
func (m *InternalTypeMeta) GetRemainingItemCount() *int64 { … }
func (m *InternalTypeMeta) SetRemainingItemCount(c *int64) { … }
type MyAPIObject …
func (obj *MyAPIObject) GetListMeta() metav1.ListInterface { … }
func (obj *MyAPIObject) GetObjectKind() schema.ObjectKind { … }
func (obj *MyAPIObject) SetGroupVersionKind(gvk schema.GroupVersionKind) { … }
func (obj *MyAPIObject) GroupVersionKind() schema.GroupVersionKind { … }
func (obj *MyAPIObject) DeepCopyObject() runtime.Object { … }
type MyIncorrectlyMarkedAsAPIObject …
func (obj *MyIncorrectlyMarkedAsAPIObject) GetObjectKind() schema.ObjectKind { … }
func (obj *MyIncorrectlyMarkedAsAPIObject) DeepCopyObject() runtime.Object { … }
func TestResourceVersionerOfAPI(t *testing.T) { … }
type MyAPIObject2 …
func getObjectMetaAndOwnerReferences() (myAPIObject2 MyAPIObject2, metaOwnerReferences []metav1.OwnerReference) { … }
func testGetOwnerReferences(t *testing.T) { … }
func testSetOwnerReferences(t *testing.T) { … }
func TestAccessOwnerReferences(t *testing.T) { … }
func BenchmarkAccessorSetFastPath(b *testing.B) { … }