github.com/SAP/cloud-mta-build-tool@v1.2.27/internal/platform/model.go (about)

     1  package platform
     2  
     3  // Platforms - data structure for platforms module types configuration
     4  type Platforms struct {
     5  	Platforms []Modules `yaml:"platform"`
     6  }
     7  
     8  // Modules -  modules list
     9  type Modules struct {
    10  	Name    string       `yaml:"name"`
    11  	Modules []Properties `yaml:"modules"`
    12  }
    13  
    14  // Properties - properties list
    15  // noinspection GoUnnecessarilyExportedIdentifiers
    16  type Properties struct {
    17  	NativeType   string            `yaml:"native-type"`
    18  	PlatformType string            `yaml:"platform-type"`
    19  	Properties   map[string]string `yaml:"properties,omitempty"`
    20  	Parameters   map[string]string `yaml:"parameters,omitempty"`
    21  }