Documentation ¶
Index ¶
- func CanHaveChild(gvk schema.GroupVersionKind) bool
- func GetChildObjects(clusterConfig *ClusterConfig, namespace string, ...) ([]*unstructured.Unstructured, error)
- func GetLiveManifest(clusterConfig *ClusterConfig, namespace string, gvk *schema.GroupVersionKind, ...) (*unstructured.Unstructured, *schema.GroupVersionResource, error)
- func PatchResource(clusterConfig *ClusterConfig, ctx context.Context, ...) error
- type ClusterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanHaveChild ¶
func CanHaveChild(gvk schema.GroupVersionKind) bool
func GetChildObjects ¶
func GetChildObjects(clusterConfig *ClusterConfig, namespace string, parentGvk schema.GroupVersionKind, parentName string, parentApiVersion string) ([]*unstructured.Unstructured, error)
func GetLiveManifest ¶
func GetLiveManifest(clusterConfig *ClusterConfig, namespace string, gvk *schema.GroupVersionKind, name string) (*unstructured.Unstructured, *schema.GroupVersionResource, error)
func PatchResource ¶
func PatchResource(clusterConfig *ClusterConfig, ctx context.Context, r *bean.KubernetesResourcePatchRequest) error
Types ¶
type ClusterConfig ¶
Click to show internal directories.
Click to hide internal directories.