kind

package
v0.0.0-kmdagger2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KindRegistry

type KindRegistry interface {
	Register(info entity.EntityKindInfo, builder entity.EntitySummaryBuilder) error
	GetSummaryBuilder(kind string) entity.EntitySummaryBuilder
	GetInfo(kind string) (entity.EntityKindInfo, error)
	GetFromExtension(suffix string) (entity.EntityKindInfo, error)
	GetKinds() []entity.EntityKindInfo
}

func NewKindRegistry

func NewKindRegistry() KindRegistry

func ProvideService

func ProvideService(cfg *setting.Cfg, renderer rendering.Service) KindRegistry

TODO? This could be a zero dependency service that others are responsible for configuring

Directories

Path Synopsis
Package dummy provides a dummy kind useful for testing
Package dummy provides a dummy kind useful for testing

Jump to

Keyboard shortcuts

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