renderer

package
v0.0.0-...-6da7b20 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Scheme *runtime.Scheme
	//Manager manager.Manager
	Logger logr.Logger
}

type RenderContext

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

RenderContext contains all the components from the LiveKitMesh configuration for the current rendering task,

func NewRenderContext

func NewRenderContext(e *event.Render, r *Renderer, lkMesh *lkstnv1a1.LiveKitMesh) *RenderContext

type Renderer

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

func NewRenderer

func NewRenderer(cfg Config) *Renderer

NewRenderer creates a new Renderer

func (*Renderer) GetRenderChannel

func (r *Renderer) GetRenderChannel() chan event.Event

GetRenderChannel returns the channel onn which the renderer listens to rendering requests

func (*Renderer) RenderLiveKitMesh

func (r *Renderer) RenderLiveKitMesh(e *event.Render)

func (*Renderer) SetOperatorChannel

func (r *Renderer) SetOperatorChannel(ch chan event.Event)

SetOperatorChannel sets the channel on which the operator event dispatcher listens

func (*Renderer) Start

func (r *Renderer) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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