 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func OpErrorFromOpMsg(om sfMediators.OpMsg) error
- type CMDBSyncClient
- func (cmdb CMDBSyncClient) ObjectCreate(objectID, originType string, body ...easyjson.JSON) error
- func (cmdb CMDBSyncClient) ObjectDelete(id string) error
- func (cmdb CMDBSyncClient) ObjectDeleteWithDetails(id string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) ObjectRead(name string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) ObjectUpdate(objectID string, body easyjson.JSON, replace bool, originType4Upsert ...string) error
- func (cmdb CMDBSyncClient) ObjectUpdateWithDetails(objectID string, body easyjson.JSON, replace bool, originType4Upsert ...string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) ObjectsLinkCreate(from, to, name string, tags []string, body ...easyjson.JSON) error
- func (cmdb CMDBSyncClient) ObjectsLinkDelete(from, to string) error
- func (cmdb CMDBSyncClient) ObjectsLinkDeleteWithDetails(from, to string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) ObjectsLinkRead(from, to string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) ObjectsLinkSuperTypeCreate(from, to, fromClaimType, toClaimType, name string, tags []string, ...) error
- func (cmdb CMDBSyncClient) ObjectsLinkSuperTypeDelete(from, to, fromClaimType, toClaimType string) error
- func (cmdb CMDBSyncClient) ObjectsLinkUpdate(from, to string, tags []string, body easyjson.JSON, replace bool, ...) error
- func (cmdb CMDBSyncClient) ObjectsLinkUpdateWithDetails(from, to string, tags []string, body easyjson.JSON, replace bool, ...) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) TriggerLinkDrop(fromTypeName, toTypeName string, triggerType TriggerType) error
- func (cmdb CMDBSyncClient) TriggerLinkRemove(fromTypeName, toTypeName string, triggerType TriggerType, ...) error
- func (cmdb CMDBSyncClient) TriggerLinkSet(fromTypeName, toTypeName string, triggerType TriggerType, ...) error
- func (cmdb CMDBSyncClient) TriggerObjectDelete(typeName string, triggerType TriggerType, statefunName ...string) error
- func (cmdb CMDBSyncClient) TriggerObjectDrop(typeName string, triggerType TriggerType) error
- func (cmdb CMDBSyncClient) TriggerObjectSet(typeName string, triggerType TriggerType, statefunName ...string) error
- func (cmdb CMDBSyncClient) TypeCreate(name string, body ...easyjson.JSON) error
- func (cmdb CMDBSyncClient) TypeDelete(name string) error
- func (cmdb CMDBSyncClient) TypeRead(name string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) TypeRemoveSubType(baseType, childType string) error
- func (cmdb CMDBSyncClient) TypeSetSubType(baseType, childType string) error
- func (cmdb CMDBSyncClient) TypeUpdate(name string, body easyjson.JSON, replace bool, upsert ...bool) error
- func (cmdb CMDBSyncClient) TypesLinkCreate(from, to, objectLinkType string, tags []string, body ...easyjson.JSON) error
- func (cmdb CMDBSyncClient) TypesLinkDelete(from, to string) error
- func (cmdb CMDBSyncClient) TypesLinkRead(from, to string) (easyjson.JSON, error)
- func (cmdb CMDBSyncClient) TypesLinkUpdate(from, to string, tags []string, body easyjson.JSON, replace bool, ...) error
 
- type DBSyncClient
- type GraphSyncClient
- func (gc GraphSyncClient) VertexCreate(id string, body ...easyjson.JSON) error
- func (gc GraphSyncClient) VertexDelete(id string) error
- func (gc GraphSyncClient) VertexRead(id string, details ...bool) (easyjson.JSON, error)
- func (gc GraphSyncClient) VertexUpdate(id string, body easyjson.JSON, replace bool, upsert ...bool) error
- func (gc GraphSyncClient) VerticesLinkCreate(from, to, linkName, linkType string, tags []string, body ...easyjson.JSON) error
- func (gc GraphSyncClient) VerticesLinkDelete(from, linkName string) error
- func (gc GraphSyncClient) VerticesLinkDeleteByToAndType(from, to, linkType string) error
- func (gc GraphSyncClient) VerticesLinkRead(from, linkName string, details ...bool) (easyjson.JSON, error)
- func (gc GraphSyncClient) VerticesLinkReadByToAndType(from, to, linkType string, details ...bool) (easyjson.JSON, error)
- func (gc GraphSyncClient) VerticesLinkUpdate(from, linkName string, tags []string, body easyjson.JSON, replace bool, ...) error
- func (gc GraphSyncClient) VerticesLinkUpdateByToAndType(from, to, linkType string, tags []string, body easyjson.JSON, replace bool, ...) error
 
- type OpError
- type QuerySyncClient
- type TriggerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpErrorFromOpMsg ¶
func OpErrorFromOpMsg(om sfMediators.OpMsg) error
Types ¶
type CMDBSyncClient ¶
type CMDBSyncClient struct {
	ShadowObjectCanBeRecevier bool
	// contains filtered or unexported fields
}
    func NewCMDBSyncClient ¶
func NewCMDBSyncClient(NatsURL string, NatsRequestTimeoutSec int, HubDomainName string) (CMDBSyncClient, error)
func NewCMDBSyncClientFromRequestFunction ¶
func NewCMDBSyncClientFromRequestFunction(request sfp.SFRequestFunc) (CMDBSyncClient, error)
ctx.Request // or runtime.Request
func (CMDBSyncClient) ObjectCreate ¶
func (cmdb CMDBSyncClient) ObjectCreate(objectID, originType string, body ...easyjson.JSON) error
func (CMDBSyncClient) ObjectDelete ¶
func (cmdb CMDBSyncClient) ObjectDelete(id string) error
func (CMDBSyncClient) ObjectDeleteWithDetails ¶
func (cmdb CMDBSyncClient) ObjectDeleteWithDetails(id string) (easyjson.JSON, error)
func (CMDBSyncClient) ObjectRead ¶
func (cmdb CMDBSyncClient) ObjectRead(name string) (easyjson.JSON, error)
func (CMDBSyncClient) ObjectUpdate ¶
func (CMDBSyncClient) ObjectUpdateWithDetails ¶
func (CMDBSyncClient) ObjectsLinkCreate ¶
func (CMDBSyncClient) ObjectsLinkDelete ¶
func (cmdb CMDBSyncClient) ObjectsLinkDelete(from, to string) error
func (CMDBSyncClient) ObjectsLinkDeleteWithDetails ¶
func (cmdb CMDBSyncClient) ObjectsLinkDeleteWithDetails(from, to string) (easyjson.JSON, error)
func (CMDBSyncClient) ObjectsLinkRead ¶
func (cmdb CMDBSyncClient) ObjectsLinkRead(from, to string) (easyjson.JSON, error)
func (CMDBSyncClient) ObjectsLinkSuperTypeCreate ¶ added in v0.1.7
func (CMDBSyncClient) ObjectsLinkSuperTypeDelete ¶ added in v0.1.7
func (cmdb CMDBSyncClient) ObjectsLinkSuperTypeDelete(from, to, fromClaimType, toClaimType string) error
func (CMDBSyncClient) ObjectsLinkUpdate ¶
func (CMDBSyncClient) ObjectsLinkUpdateWithDetails ¶
func (CMDBSyncClient) TriggerLinkDrop ¶
func (cmdb CMDBSyncClient) TriggerLinkDrop(fromTypeName, toTypeName string, triggerType TriggerType) error
func (CMDBSyncClient) TriggerLinkRemove ¶
func (cmdb CMDBSyncClient) TriggerLinkRemove(fromTypeName, toTypeName string, triggerType TriggerType, statefunName ...string) error
func (CMDBSyncClient) TriggerLinkSet ¶
func (cmdb CMDBSyncClient) TriggerLinkSet(fromTypeName, toTypeName string, triggerType TriggerType, statefunName ...string) error
func (CMDBSyncClient) TriggerObjectDelete ¶
func (cmdb CMDBSyncClient) TriggerObjectDelete(typeName string, triggerType TriggerType, statefunName ...string) error
func (CMDBSyncClient) TriggerObjectDrop ¶
func (cmdb CMDBSyncClient) TriggerObjectDrop(typeName string, triggerType TriggerType) error
func (CMDBSyncClient) TriggerObjectSet ¶
func (cmdb CMDBSyncClient) TriggerObjectSet(typeName string, triggerType TriggerType, statefunName ...string) error
func (CMDBSyncClient) TypeCreate ¶
func (cmdb CMDBSyncClient) TypeCreate(name string, body ...easyjson.JSON) error
func (CMDBSyncClient) TypeDelete ¶
func (cmdb CMDBSyncClient) TypeDelete(name string) error
func (CMDBSyncClient) TypeRead ¶
func (cmdb CMDBSyncClient) TypeRead(name string) (easyjson.JSON, error)
func (CMDBSyncClient) TypeRemoveSubType ¶ added in v0.1.7
func (cmdb CMDBSyncClient) TypeRemoveSubType(baseType, childType string) error
func (CMDBSyncClient) TypeSetSubType ¶ added in v0.1.7
func (cmdb CMDBSyncClient) TypeSetSubType(baseType, childType string) error
func (CMDBSyncClient) TypeUpdate ¶
func (CMDBSyncClient) TypesLinkCreate ¶
func (CMDBSyncClient) TypesLinkDelete ¶
func (cmdb CMDBSyncClient) TypesLinkDelete(from, to string) error
func (CMDBSyncClient) TypesLinkRead ¶
func (cmdb CMDBSyncClient) TypesLinkRead(from, to string) (easyjson.JSON, error)
func (CMDBSyncClient) TypesLinkUpdate ¶
type DBSyncClient ¶
type DBSyncClient struct {
	Request sfp.SFRequestFunc
	Graph   GraphSyncClient
	CMDB    CMDBSyncClient
	Query   QuerySyncClient
}
    func NewDBSyncClient ¶
func NewDBSyncClient(NatsURL string, NatsRequestTimeoutSec int, HubDomainName string) (DBSyncClient, error)
func NewDBSyncClientFromRequestFunction ¶
func NewDBSyncClientFromRequestFunction(request sfp.SFRequestFunc) (DBSyncClient, error)
ctx.Request // or runtime.Request
type GraphSyncClient ¶
type GraphSyncClient struct {
	// contains filtered or unexported fields
}
    func NewGraphSyncClient ¶
func NewGraphSyncClient(NatsURL string, NatsRequestTimeoutSec int, HubDomainName string) (GraphSyncClient, error)
func NewGraphSyncClientFromRequestFunction ¶
func NewGraphSyncClientFromRequestFunction(request sfp.SFRequestFunc) (GraphSyncClient, error)
ctx.Request // or runtime.Request
func (GraphSyncClient) VertexCreate ¶
func (gc GraphSyncClient) VertexCreate(id string, body ...easyjson.JSON) error
func (GraphSyncClient) VertexDelete ¶
func (gc GraphSyncClient) VertexDelete(id string) error
func (GraphSyncClient) VertexRead ¶
func (GraphSyncClient) VertexUpdate ¶
func (GraphSyncClient) VerticesLinkCreate ¶
func (GraphSyncClient) VerticesLinkDelete ¶
func (gc GraphSyncClient) VerticesLinkDelete(from, linkName string) error
func (GraphSyncClient) VerticesLinkDeleteByToAndType ¶
func (gc GraphSyncClient) VerticesLinkDeleteByToAndType(from, to, linkType string) error
func (GraphSyncClient) VerticesLinkRead ¶
func (GraphSyncClient) VerticesLinkReadByToAndType ¶
func (GraphSyncClient) VerticesLinkUpdate ¶
func (GraphSyncClient) VerticesLinkUpdateByToAndType ¶
type QuerySyncClient ¶
type QuerySyncClient struct {
	// contains filtered or unexported fields
}
    func NewQuerySyncClient ¶
func NewQuerySyncClient(NatsURL string, NatsRequestTimeoutSec int, HubDomainName string) (QuerySyncClient, error)
func NewQuerySyncClientFromRequestFunction ¶
func NewQuerySyncClientFromRequestFunction(request sfp.SFRequestFunc) (QuerySyncClient, error)
ctx.Request // or runtime.Request
func (QuerySyncClient) FPLQuery ¶
func (qc QuerySyncClient) FPLQuery(id, queryStringOfJSON string) (easyjson.JSON, error)
func (QuerySyncClient) JPGQLCtraQuery ¶
func (qc QuerySyncClient) JPGQLCtraQuery(id, query string) ([]string, error)
type TriggerType ¶
type TriggerType = string
const ( CreateTrigger TriggerType = "create" UpdateTrigger TriggerType = "update" DeleteTrigger TriggerType = "delete" ReadTrigger TriggerType = "read" )
 Click to show internal directories. 
   Click to hide internal directories.