core

package
v0.6.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterComponent

func RegisterComponent(data []byte, host string) (err error)

RegisterComponent will register a component definition into the database

Types

type ComponentCapability

type ComponentCapability struct {
	v1alpha1.Component
	// contains filtered or unexported fields
}

func GetComponents

func GetComponents() (caps []ComponentCapability)

GetComponents return all of the components

func (*ComponentCapability) GetID

func (cap *ComponentCapability) GetID() string

GetID returns the ID of the capability

func (*ComponentCapability) SetID

func (cap *ComponentCapability) SetID(id string)

SetID sets the ID of the capability

Jump to

Keyboard shortcuts

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