builder

package
v0.0.0-...-79b91ea Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 7 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")
	ListForCreate = Operation("listcreate")
)

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Version      *types.APIVersion
	Schemas      *types.Schemas
	RefValidator types.ReferenceValidator
	// contains filtered or unexported fields
}

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

func (Operation) IsList

func (o Operation) IsList() bool

Jump to

Keyboard shortcuts

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