MCPcopy Create free account
hub / github.com/cozystack/cozystack / NamespaceMetaList

Function NamespaceMetaList

internal/fluxshardoperator/gvk.go:47–51  ·  view source on GitHub ↗

NamespaceMetaList returns a PartialObjectMetadataList typed as a NamespaceList.

()

Source from the content-addressed store, hash-verified

45// NamespaceMetaList returns a PartialObjectMetadataList typed as a
46// NamespaceList.
47func NamespaceMetaList() *metav1.PartialObjectMetadataList {
48 list := &metav1.PartialObjectMetadataList{}
49 list.SetGroupVersionKind(NamespaceGVK.GroupVersion().WithKind("NamespaceList"))
50 return list
51}

Callers 1

gatherMethod · 0.85

Calls 1

WithKindMethod · 0.80

Tested by

no test coverage detected