Documentation ¶
Index ¶
- func RelationshipFromPb(relationshipType, reporterId string, relationshipData model.JsonObject, ...) (*model.Relationship, error)
- func ReporterRelationshipIdFromPb(relationshipType, reporterId string, reporter *pbrelation.ReporterData) (model.ReporterRelationshipId, error)
- func ReporterResourceIdFromPb(resourceType, reporterId string, reporter *pbresource.ReporterData) model.ReporterResourceId
- func ResourceFromPb(resourceType, reporterId string, resourceData model.JsonObject, ...) *model.Resource
- func ToJsonObject(in interface{}) (model.JsonObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelationshipFromPb ¶
func RelationshipFromPb(relationshipType, reporterId string, relationshipData model.JsonObject, metadata *pbrelation.Metadata, reporter *pbrelation.ReporterData) (*model.Relationship, error)
func ReporterRelationshipIdFromPb ¶
func ReporterRelationshipIdFromPb(relationshipType, reporterId string, reporter *pbrelation.ReporterData) (model.ReporterRelationshipId, error)
func ReporterResourceIdFromPb ¶
func ReporterResourceIdFromPb(resourceType, reporterId string, reporter *pbresource.ReporterData) model.ReporterResourceId
func ResourceFromPb ¶
func ResourceFromPb(resourceType, reporterId string, resourceData model.JsonObject, metadata *pbresource.Metadata, reporter *pbresource.ReporterData) *model.Resource
func ToJsonObject ¶
func ToJsonObject(in interface{}) (model.JsonObject, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.