Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceListObj = ResourceList{ Resources: nil, }
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { Name string `yaml:"project-name"` Path string `yaml:"-"` Platform string `yaml:"platform"` Framework string `yaml:"framework"` }
var ProjectObj Project
type ResourceField ¶
type ResourceInfo ¶
type ResourceInfo struct { Name string `yaml:"name"` Model ResourceModel `yaml:"model"` }
type ResourceList ¶
type ResourceList struct {
Resources []ResourceInfo `yaml:"resources"`
}
func (*ResourceList) Append ¶
func (rList *ResourceList) Append(res ResourceInfo) bool
func (*ResourceList) Exists ¶
func (rList *ResourceList) Exists(resourceName string) bool
func (*ResourceList) Load ¶
func (rList *ResourceList) Load() bool
func (*ResourceList) Persist ¶
func (rList *ResourceList) Persist() bool
type ResourceModel ¶
type ResourceModel struct {
Fields []ResourceField `yaml:"fields"`
}
Click to show internal directories.
Click to hide internal directories.