namingstrategy

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamingStrategy

func NewNamingStrategy(
	name config.NamingStrategyType, config *config.Config,
) (namingstrategy.NamingStrategy, error)

NewNamingStrategy instantiates a new instance of the requested NamingStrategy when available, otherwise returns an error.

func RegisterNamingStrategy

func RegisterNamingStrategy(
	name config.NamingStrategyType, factory namingstrategy.Factory,
) bool

RegisterNamingStrategy registers a NamingRegistryType to a Provider implementation which creates the NamingStrategy when requested

func SanitizeTopicName

func SanitizeTopicName(
	topicName string,
) (topic string, changed bool)

SanitizeTopicName is a helper to sanitize topic names to be as compatible as possible

Types

This section is empty.

Jump to

Keyboard shortcuts

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