-
With this below method we can subscribe to events, how to subscribe to VimFault or Fault? func (event.Manager).Events(ctx context.Context, objects []gvmtypes.ManagedObjectReference, pageSize int32, tail bool, force bool, f func(gvmtypes.ManagedObjectReference, []gvmtypes.BaseEvent) error, kind ...string) error, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Not sure if I'm understanding correctly, but you cannot "subscribe" to SOAP faults. These must be handled in your code for methods that return Can you please elaborate further on your use case? |
Beta Was this translation helpful? Give feedback.
-
Let me know if this question is resolved by our discussion in #2793. Sounds like this is a duplicate. |
Beta Was this translation helpful? Give feedback.
-
btw: I created an abstraction library on top of Example: https://github.com/embano1/vsphere/blob/main/example/main.go |
Beta Was this translation helpful? Give feedback.
Let me know if this question is resolved by our discussion in #2793. Sounds like this is a duplicate.