summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/internal/plugin/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/k8splugin/internal/plugin/helpers.go')
-rw-r--r--src/k8splugin/internal/plugin/helpers.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/k8splugin/internal/plugin/helpers.go b/src/k8splugin/internal/plugin/helpers.go
index ad785ab7..7078b813 100644
--- a/src/k8splugin/internal/plugin/helpers.go
+++ b/src/k8splugin/internal/plugin/helpers.go
@@ -68,6 +68,9 @@ type Reference interface {
//Delete a kubernetes resource described in the provided namespace
Delete(resource helm.KubernetesResource, namespace string, client KubernetesConnector) error
+
+ //Update kubernetes resource based on the groupVersionKind and resourceName provided in resource
+ Update(yamlFilePath string, namespace string, client KubernetesConnector) (string, error)
}
// GetPluginByKind returns a plugin by the kind name