kubernetes: k8s.io/kubernetes/test/e2e/framework/resource Index | Files

package resource

import "k8s.io/kubernetes/test/e2e/framework/resource"

Index

Package Files

runtimeobj.go

func GetReplicasFromRuntimeObject Uses

func GetReplicasFromRuntimeObject(obj runtime.Object) (int32, error)

GetReplicasFromRuntimeObject returns the number of replicas for the given object.

func GetRuntimeObjectForKind Uses

func GetRuntimeObjectForKind(c clientset.Interface, kind schema.GroupKind, ns, name string) (runtime.Object, error)

GetRuntimeObjectForKind returns a runtime.Object based on its GroupKind, namespace and name.

func GetSelectorFromRuntimeObject Uses

func GetSelectorFromRuntimeObject(obj runtime.Object) (labels.Selector, error)

GetSelectorFromRuntimeObject returns the labels for the given object.

Package resource imports 15 packages (graph) and is imported by 42 packages. Updated 2020-02-09. Refresh now. Tools for package owners.