builder

package
v0.0.0-...-eef2c6e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Create = Operation("create")
	Update = Operation("update")
	Action = Operation("action")
	List   = Operation("list")
)

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Version      *types.APIVersion
	Schemas      *types.Schemas
	RefValidator types.ReferenceValidator
}

func NewBuilder

func NewBuilder(apiRequest *types.APIContext) *Builder

func (*Builder) Construct

func (b *Builder) Construct(schema *types.Schema, input map[string]interface{}, op Operation) (map[string]interface{}, error)

type Operation

type Operation string

Jump to

Keyboard shortcuts

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