Documentation ¶
Index ¶
- func Add(work workapiv1.ManifestWork, obj runtime.Object) (workapiv1.ManifestWork, error)
- func Get(work workapiv1.ManifestWork, resource Resource) (runtime.Object, error)
- func Remove(work workapiv1.ManifestWork, resource Resource) (workapiv1.ManifestWork, error)
- func Update(work workapiv1.ManifestWork, obj runtime.Object) (workapiv1.ManifestWork, error)
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(work workapiv1.ManifestWork, obj runtime.Object) (workapiv1.ManifestWork, error)
Add adds the given object to the ManifestWork
func Remove ¶
func Remove(work workapiv1.ManifestWork, resource Resource) (workapiv1.ManifestWork, error)
Remove removes the resource with the given APIVersion, Kind, Name, and Namespace
func Update ¶
func Update(work workapiv1.ManifestWork, obj runtime.Object) (workapiv1.ManifestWork, error)
Update updates ManifestWork
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.