rendered

package
v0.10.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusType

type BusType struct {
	util.Singleton[VersionManager]
}
var Bus BusType

func (*BusType) Initialize

func (b *BusType) Initialize(ctx context.Context,
	kvStore kvstore.KVStore,
	provider queues.Provider,
	renderedWaitTimeout time.Duration,
	log logrus.FieldLogger) error

type Publisher

type Publisher interface {
	Publish(ctx context.Context, orgId uuid.UUID, name string, renderedVersion string) error
}

func NewBroadcaster

func NewBroadcaster(ctx context.Context, queuesProvider queues.Provider) (Publisher, error)

type Subscriber

type Subscriber interface {
	Subscribe(ctx context.Context, handler func(ctx context.Context, orgId uuid.UUID, name string, renderedVersion string) error) error
}

func NewSubscriber

func NewSubscriber(ctx context.Context, queuesProvider queues.Provider) (Subscriber, error)

type VersionManager

type VersionManager struct {
	// contains filtered or unexported fields
}

func (*VersionManager) Start

func (m *VersionManager) Start(ctx context.Context) error

func (*VersionManager) StoreAndNotify

func (m *VersionManager) StoreAndNotify(ctx context.Context, orgId uuid.UUID, name string, renderedVersion string) error

func (*VersionManager) WaitForNewVersion

func (m *VersionManager) WaitForNewVersion(ctx context.Context, orgId uuid.UUID, name string, knownRenderedVersion string) (bool, string, error)

Jump to

Keyboard shortcuts

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