schemahelper

package
v0.0.351 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This package is separate so we can use generics, schema is stricly go 1.17.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineServiceMetadata

func CombineServiceMetadata[V HasGetServiceMetadata](list []V) []*schema.ServiceMetadata

func UnmarshalServiceMetadata

func UnmarshalServiceMetadata[V proto.Message](mds []*schema.ServiceMetadata, kind string) (V, error)

Types

type HasGetServiceMetadata

type HasGetServiceMetadata interface {
	GetServiceMetadata() []*schema.ServiceMetadata
}

Jump to

Keyboard shortcuts

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