daprextension

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	Inner renderers.Renderer
}

Renderer is the renderers.Renderer implementation for the dapr sidecar extension.

func (Renderer) GetDependencyIDs

func (r Renderer) GetDependencyIDs(ctx context.Context, dm v1.DataModelInterface) ([]resources.ID, []resources.ID, error)

GetDependencyIDs returns the radius and azure dependency IDs, or an error if one occurs.

func (*Renderer) Render

Render checks if the given DataModelInterface is a ContainerResource, then renders it using the Inner renderer, finds the Dapr Sidecar extension if any, and updates the Kubernetes deployment with the desired annotations.

Jump to

Keyboard shortcuts

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