MCPcopy
hub / github.com/kubernetes-sigs/kwok / KMetadata

Interface KMetadata

pkg/log/kobj.go:26–29  ·  view source on GitHub ↗

KMetadata is a subset of the kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface this interface may expand in the future, but will always be a subset of the kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface

Source from the content-addressed store, hash-verified

24// this interface may expand in the future, but will always be a subset of the
25// kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface
26type KMetadata interface {
27 GetName() string
28 GetNamespace() string
29}
30
31// KObj returns ObjectRef from ObjectMeta
32func KObj[T KMetadata](obj T) ObjectRef {

Callers 16

TestingFunction · 0.65
deleteResourceMethod · 0.65
playStageMethod · 0.65
patchResourceMethod · 0.65
createOrPatchResourceFunction · 0.65
KObjFunction · 0.65
ScaleFunction · 0.65
getConfigFromManifestFunction · 0.65
TestingFunction · 0.65
deleteResourceMethod · 0.65
playStageMethod · 0.65
applyResourceMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected