mapper

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardMapper

type DashboardMapper struct{}

DashboardMapper handles conversion from Kubernetes resources to domain objects

func New

func New() *DashboardMapper

New creates a new mapper

func (*DashboardMapper) FromConfigMap

func (m *DashboardMapper) FromConfigMap(cm *v1.ConfigMap) []*dashboard.Dashboard

FromConfigMap converts a Kubernetes ConfigMap to domain Dashboard objects

type OrganizationMapper added in v0.50.0

type OrganizationMapper struct{}

OrganizationMapper handles conversion from Kubernetes resources to domain objects

func NewOrganizationMapper added in v0.50.0

func NewOrganizationMapper() *OrganizationMapper

NewOrganizationMapper creates a new organization mapper

func (*OrganizationMapper) FromGrafanaOrganization added in v0.50.0

func (m *OrganizationMapper) FromGrafanaOrganization(grafanaOrganization *v1alpha2.GrafanaOrganization) *organization.Organization

FromGrafanaOrganization converts a v1alpha2.GrafanaOrganization to a domain organization

Jump to

Keyboard shortcuts

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