v1alpha1

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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"`
}

type TypeMeta

type TypeMeta struct {
	Kind       string `json:"kind,omitempty"`
	APIVersion string `json:"apiVersion,omitempty"`
}

Jump to

Keyboard shortcuts

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