metadata

package
v0.0.0-...-58553d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2020 License: MIT Imports: 4 Imported by: 0

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

func (*Project) Load

func (p *Project) Load() bool

func (*Project) Persist

func (p *Project) Persist() bool

type ResourceField

type ResourceField struct {
	FieldName string `yaml:"name"`
	FieldType string `yaml:"type"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL