MCPcopy Create free account
hub / github.com/apache/pulsar-client-go / UpdateFunctionWithURL

Method UpdateFunctionWithURL

pulsaradmin/pkg/admin/functions.go:244–244  ·  view source on GitHub ↗

UpdateFunctionWithURL updates the configuration for a function. Update a function by providing url from which fun-pkg can be downloaded. supported url: http/file eg: File: file:/dir/fileName.jar Http: http://www.repo.com/fileName.jar

(functionConfig *utils.FunctionConfig, pkgURL string, updateOptions *utils.UpdateOptions)

Source from the content-addressed store, hash-verified

242 // File: file:/dir/fileName.jar
243 // Http: http://www.repo.com/fileName.jar
244 UpdateFunctionWithURL(functionConfig *utils.FunctionConfig, pkgURL string, updateOptions *utils.UpdateOptions) error
245
246 // UpdateFunctionWithURLWithContext updates the configuration for a function.
247 //

Callers

nothing calls this directly

Implementers 1

functionspulsaradmin/pkg/admin/functions.go

Calls

no outgoing calls

Tested by

no test coverage detected