Documentation ¶
Index ¶
- func ListWorksWithOptions(store cache.Store, namespace string, opts metav1.ListOptions) ([]*workv1.ManifestWork, error)
- func Patch(patchType types.PatchType, work *workv1.ManifestWork, patchData []byte) (*workv1.ManifestWork, error)
- func UID(sourceID, namespace, name string) string
- func Validate(work *workv1.ManifestWork) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListWorksWithOptions ¶ added in v0.14.0
func ListWorksWithOptions(store cache.Store, namespace string, opts metav1.ListOptions) ([]*workv1.ManifestWork, error)
ListWorksWithOptions retrieves the manifestworks from store which matches the options.
func Patch ¶
func Patch(patchType types.PatchType, work *workv1.ManifestWork, patchData []byte) (*workv1.ManifestWork, error)
Patch applies the patch to a work with the patch type.
func UID ¶ added in v0.14.0
UID returns a v5 UUID based on sourceID, work name and namespace to make sure it is consistent
func Validate ¶ added in v0.14.0
func Validate(work *workv1.ManifestWork) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.