This is an automated email from the ASF dual-hosted git repository.

rfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new a6f4b712 expose RuntimeFlags (#1204)
a6f4b712 is described below

commit a6f4b712c130a2219a73bbfd7d78717bbc9c739f
Author: Rui Fu <[email protected]>
AuthorDate: Thu Apr 18 09:15:22 2024 +0800

    expose RuntimeFlags (#1204)
---
 pulsaradmin/pkg/utils/data.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pulsaradmin/pkg/utils/data.go b/pulsaradmin/pkg/utils/data.go
index 4363dd34..1e67e3c7 100644
--- a/pulsaradmin/pkg/utils/data.go
+++ b/pulsaradmin/pkg/utils/data.go
@@ -93,6 +93,7 @@ type FunctionData struct {
        Secrets                      string          `json:"secretsString"`
        DestinationFile              string          `json:"destinationFile"`
        Path                         string          `json:"path"`
+       RuntimeFlags                 string          
`json:"runtimeFlags,omitempty"`
        FuncConf                     *FunctionConfig `json:"-"`
 }
 
@@ -138,7 +139,8 @@ type SourceData struct {
        SourceConf *SourceConfig `json:"-,omitempty"`
        InstanceID string        `json:"instanceId,omitempty"`
 
-       UpdateAuthData bool `json:"updateAuthData,omitempty"`
+       UpdateAuthData bool   `json:"updateAuthData,omitempty"`
+       RuntimeFlags   string `json:"runtimeFlags,omitempty"`
 }
 
 type SinkData struct {
@@ -177,6 +179,7 @@ type SinkData struct {
        TransformFunction            string      
`json:"transformFunction,omitempty"`
        TransformFunctionClassName   string      
`json:"transformFunctionClassName,omitempty"`
        TransformFunctionConfig      string      
`json:"transformFunctionConfig,omitempty"`
+       RuntimeFlags                 string      `json:"runtimeFlags,omitempty"`
        SinkConf                     *SinkConfig `json:"-,omitempty"`
 }
 

Reply via email to