Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlowName ¶ added in v0.2.0
Types ¶
type ModelResources ¶
type ModelResources struct { AppName string Assets []string Transactions []string Schemas map[string]string Schedulables map[string]string }
func ParseFlowApp ¶
func ParseFlowApp(jsonFile string) (*ModelResources, error)
type ResourceAttribute ¶
type ResourceMetadataModel ¶
type ResourceMetadataModel struct { Metadata struct { Type string `json:"type"` Parent string `json:"parent, omitempty"` CordaClass string `json:"cordaClass, omitempty"` IdentifiedBy string `json:"identifiedBy, omitempty"` IsAbstract bool `json:"isAbstract, omitempty"` Decorators []struct { Name string `json:"name"` Args []string `json:"args, omitempty"` } `json:"decorators, omitempty"` } `json:"metadata"` Attributes []ResourceAttribute `json:"attributes"` }
func ParseResourceModel ¶
func ParseResourceModel(jsonResource string) *ResourceMetadataModel
Click to show internal directories.
Click to hide internal directories.