github.com/sap/cf-mta-plugin@v2.6.3+incompatible/util/mta_deployment_descriptor.go (about)

     1  package util
     2  
     3  type MtaDeploymentDescriptor struct {
     4  	SchemaVersion string     `yaml:"_schema-version,omitempty"`
     5  	ID            string     `yaml:"ID,omitempty"`
     6  	Version       string     `yaml:"version,omitempty"`
     7  	Modules       []Module   `yaml:"modules,omitempty"`
     8  	Resources     []Resource `yaml:"resources,omitempty"`
     9  }
    10  
    11  type Module struct {
    12  	Name                 string               `yaml:"name"`
    13  	Type                 string               `yaml:"type"`
    14  	Path                 string               `yaml:"path"`
    15  	RequiredDependencies []RequiredDependency `yaml:"requires,omitempty"`
    16  }
    17  
    18  type Resource struct {
    19  	Name       string                 `yaml:"name"`
    20  	Type       string                 `yaml:"type"`
    21  	Parameters map[string]interface{} `yaml:"parameters,omitempty"`
    22  }
    23  
    24  type RequiredDependency struct {
    25  	Name       string                 `yaml:"name"`
    26  	Parameters map[string]interface{} `yaml:"parameters,omitempty"`
    27  }