Documentation ¶
Index ¶
- func ConvertAndGetResource(ctx context.Context, client dynamic.Interface, namespace string, ...) (*unstructured.Unstructured, error)
- func CreateMockPod(labels, annotations map[string]string, name, namespace, nodeName string, ...) error
- func CreateMockRESTMapper() *restmapper.DeferredDiscoveryRESTMapper
- func CreateMockUnstructured(matchLabels, unstructuredTemplateSpec map[string]interface{}, ...) error
- func GetAllClaimedContainers(resource *unstructured.Unstructured) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAndGetResource ¶
func ConvertAndGetResource(ctx context.Context, client dynamic.Interface, namespace string, targetRef v1alpha1.CrossVersionObjectReference, mapper *restmapper.DeferredDiscoveryRESTMapper, ) (*unstructured.Unstructured, error)
func CreateMockPod ¶
func CreateMockRESTMapper ¶ added in v0.5.12
func CreateMockRESTMapper() *restmapper.DeferredDiscoveryRESTMapper
func CreateMockUnstructured ¶
func GetAllClaimedContainers ¶
func GetAllClaimedContainers(resource *unstructured.Unstructured) ([]string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.