Documentation ¶
Overview ¶
Package helpers implements the helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // The gRPC API client. ClientKnowledge *knowledge.Client // The second gRPC API client. ClientIngest *ingest.Client // contains filtered or unexported fields }
func (*Client) Close ¶
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*Client) DeleteNodesWithTypeNode ¶
func (c *Client) DeleteNodesWithTypeNode( ctx context.Context, nodeType string, ) ([]*ingestpb.StreamRecordsResponse, error)
DeleteNodesWithTypeNode is a helper function that delete all nodes of specific type either DigitalTwin or Resource and return array of StreamRecordsResponse.
Click to show internal directories.
Click to hide internal directories.