registry

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package registry specifies the list of resources to be registered in the state.

Index

Constants

This section is empty.

Variables

Resources defines all resources added to the resource definitions.

Functions

func MustRegisterResource

func MustRegisterResource[T any, R interface {
	protobuf.Res[T]
	meta.ResourceDefinitionProvider
}](
	resourceType resource.Type,
	r R,
)

MustRegisterResource adds resource to the registry, registers it's protobuf decoders/encoders.

Types

This section is empty.

Jump to

Keyboard shortcuts

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