helpers

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAuthJsons

func GenerateAuthJsons(resourceData *ResourceData) error

func GenerateDocJsons

func GenerateDocJsons(resourceData *ResourceData) error

func GenerateFieldJsons

func GenerateFieldJsons(resourceData *ResourceData) error

func GenerateMachineJson

func GenerateMachineJson(resourceData *ResourceData) error

func GenerateSpringContext

func GenerateSpringContext(resourceData *ResourceData) error

Types

type DocumentationFieldConfig

type DocumentationFieldConfig struct {
	Description string `json:"description,omitempty"`
}

type DocumentationFieldConfigs

type DocumentationFieldConfigs map[string]DocumentationFieldConfig

type DocumentationFields

type DocumentationFields struct {
	Id             string                    `json:"id,omitempty"`
	ResourceFields DocumentationFieldConfigs `json:"resourceFields,omitempty"`
}

type ResourceData

type ResourceData struct {
	Blacklist        []string
	Drivers          []string
	ResourceMap      map[string]ResourceFields
	DocumentationMap map[string][]DocumentationFields
}

type ResourceFieldConfig

type ResourceFieldConfig struct {
	Type     string `json:"type,omitempty"`
	Nullable bool   `json:"nullable,omitempty"`
	Required bool   `json:"required,omitempty"`
}

type ResourceFieldConfigs

type ResourceFieldConfigs map[string]ResourceFieldConfig

type ResourceFields

type ResourceFields map[string]ResourceFieldConfigs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL