Documentation ¶
Index ¶
- func GenClient(resources []Resource, outputDir, outputFileName, packageName string, ...)
- func GenResource(rsc Resource, outputDir, packageName string)
- func GenTypes(resources []Resource, outputDir, outputFileName, packageName string, ...)
- type Caveat
- type Relation
- type RelationRef
- type Resource
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenResource ¶
Types ¶
type RelationRef ¶
type Resource ¶
type Resource struct { Name string Permissions map[string]Relation PermissionsArray []Relation Relations map[string]Relation RelationsArray []Relation // Either a specific resource type or "Resource" PermissionSubjectType string // Either a specific resource type or "Resource" RelationSubjectType string }
Click to show internal directories.
Click to hide internal directories.