Documentation
¶
Index ¶
- func ConvertAndGetResource(ctx context.Context, client k8sclient.Client, namespace string, ...) (*unstructured.Unstructured, error)
- func CreateMockPod(labels, annotations map[string]string, name, namespace, nodeName string, ...)
- func CreateMockUnstructured(matchLabels, unstructuredTemplateSpec map[string]interface{}, ...)
- func GetAllClaimedContainers(controller *unstructured.Unstructured) ([]string, error)
- func PatchUpdateResourceRecommend(client k8sclient.Client, namespaceName k8stypes.NamespacedName, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAndGetResource ¶
func ConvertAndGetResource(ctx context.Context, client k8sclient.Client, namespace string, targetRef v1alpha1.CrossVersionObjectReference) (*unstructured.Unstructured, error)
func CreateMockPod ¶
func CreateMockUnstructured ¶
func GetAllClaimedContainers ¶
func GetAllClaimedContainers(controller *unstructured.Unstructured) ([]string, error)
func PatchUpdateResourceRecommend ¶
func PatchUpdateResourceRecommend(client k8sclient.Client, namespaceName k8stypes.NamespacedName, resourceRecommend *v1alpha1.ResourceRecommend, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.