Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignPoolGoT ¶
func AssignPoolGoT(g *Generator)
Types ¶
type Generator ¶
type Generator struct {
Services Services
ClassPoolOffset int
ClassPool Pool
DescriptionPool Pool
PlanPool Pool
TagPool Pool
MetadataPool Pool
RequiresPool Pool
}
generator holds the parameters for generated responses.
func CreateGenerator ¶
func CreateGenerator(serviceCount int, params Parameters) *Generator
func (*Generator) GetCatalog ¶
GetCatalog will produce a valid GetCatalog response based on the generator settings.
type Parameters ¶
type Parameters struct {
Seed int64
Services ServiceRanges
Plans PlanRanges
}
type PlanRanges ¶
type ServiceRanges ¶
Click to show internal directories.
Click to hide internal directories.