github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/pkg/graphql/formation_template.go (about)

     1  package graphql
     2  
     3  // FormationTemplate represents the Formation Template object
     4  type FormationTemplate struct {
     5  	ID                     string        `json:"id"`
     6  	Name                   string        `json:"name"`
     7  	ApplicationTypes       []string      `json:"applicationTypes"`
     8  	RuntimeTypes           []string      `json:"runtimeTypes"`
     9  	RuntimeTypeDisplayName *string       `json:"runtimeTypeDisplayName"`
    10  	RuntimeArtifactKind    *ArtifactType `json:"runtimeArtifactKind"`
    11  	Webhooks               []*Webhook    `json:"webhooks"`
    12  	LeadingProductIDs      []string      `json:"leadingProductIDs"`
    13  }
    14  
    15  // FormationTemplateExt  is an extended types used by external API
    16  type FormationTemplateExt struct {
    17  	FormationTemplate
    18  	FormationConstraints []FormationConstraint `json:"formationConstraints"`
    19  }