catalog

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WalrusResourceDefinitionRepositoryTopic indicates the repository stores a resource definition template.
	WalrusResourceDefinitionRepositoryTopic = "walrus-resource-definition"
)

Variables

This section is empty.

Functions

func BuiltinCatalog

func BuiltinCatalog() *model.Catalog

BuiltinCatalog returns the seal builtin catalog.

func CatalogSync

func CatalogSync(mc model.ClientSet) catalogSyncer

func SyncTemplates

func SyncTemplates(ctx context.Context, mc model.ClientSet, c *model.Catalog) error

SyncTemplates fetch and update catalog templates.

func UpdateStatusWithSyncErr added in v0.3.1

func UpdateStatusWithSyncErr(ctx context.Context, mc model.ClientSet, c *model.Catalog, syncErr error) error

UpdateStatusWithSyncErr update catalog status with sync error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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