component

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeField = "type"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Type() Type
}

type Type

type Type struct {
	APIVersion string
	Type       string
}

func TypeFromJSON

func TypeFromJSON(data []byte) (Type, error)

func TypeFromMap

func TypeFromMap(m map[string]interface{}) (Type, error)

func TypeFromString

func TypeFromString(s string) (Type, error)

func (*Type) MarshalJSON

func (t *Type) MarshalJSON() ([]byte, error)

func (Type) String

func (t Type) String() string

func (*Type) UnmarshalJSON

func (t *Type) UnmarshalJSON(data []byte) error

Directories

Path Synopsis
test
Package tests implements tests for component resolution.
Package tests implements tests for component resolution.

Jump to

Keyboard shortcuts

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