helpers

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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 added in v0.14.0

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 added in v0.14.0

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

type DocumentationFieldConfigs added in v0.14.0

type DocumentationFieldConfigs map[string]DocumentationFieldConfig

type DocumentationFields added in v0.14.0

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