Documentation ¶
Index ¶
Constants ¶
View Source
const ComponentDefinitionKindKey = "ComponentDefinition"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { TypeMeta ComponentSpec Metadata map[string]interface{} `json:"metadata,omitempty"` // for backward compatibility Spec string `json:"spec,omitempty"` }
use NewComponent function for instantiating
func NewComponent ¶
func NewComponent() Component
type ComponentSpec ¶
type ComponentSpec struct {
Schematic map[string]interface{} `json:"schematic,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.