Documentation
¶
Index ¶
- Constants
- func Index(realms map[string]*cloudformation.Realm, name, repo, dir, description string) j.ObjectType
- func Main(adds []string) j.Type
- func Modifier(name string, i interface{}) []j.Type
- func Realm(name string, realm *cloudformation.Realm) j.ObjectType
- func Resource(name string, resource *cloudformation.ResourceType) j.Type
- func Service(name string, service *cloudformation.Service, gen string) map[string]j.Type
- func SortFields(fields []j.Type)
- type Objects
Constants ¶
View Source
const ( ExtPrefix = "extensions" CustomPrefix = "_custom" GenPrefix = "_gen" GenExt = ".libsonnet" IndexFile = "gen" + GenExt MainFile = "main" + GenExt )
Common set of directory structure / file extensions
View Source
const (
// LocalAPIVersion references a "private: json field containing the APIVersion
LocalAPIVersion = "_apiVersion"
)
Variables ¶
This section is empty.
Functions ¶
func Index ¶
func Index(realms map[string]*cloudformation.Realm, name, repo, dir, description string) j.ObjectType
Index creates gen.libsonnet, the index of all generated artifacts
func Main ¶
Main creates main.libsonnet: - import the generated index (gen.libsonnet) - add all hand-written patches on top
func Realm ¶
func Realm(name string, realm *cloudformation.Realm) j.ObjectType
func Resource ¶
func Resource(name string, resource *cloudformation.ResourceType) j.Type
Types ¶
Click to show internal directories.
Click to hide internal directories.