converter

package
v0.32.0-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RabbitMQQueueDataModelFromVersioned

func RabbitMQQueueDataModelFromVersioned(content []byte, version string) (*datamodel.RabbitMQQueue, error)

RabbitMQQueueDataModelFromVersioned takes in a byte slice and a version string and returns a version-agnostic RabbitMQQueue datamodel and an error if the version is unsupported.

func RabbitMQQueueDataModelToVersioned

func RabbitMQQueueDataModelToVersioned(model *datamodel.RabbitMQQueue, version string) (v1.VersionedModelInterface, error)

RabbitMQQueueDataModelToVersioned converts a version-agnostic datamodel.RabbitMQQueue to a versioned model interface and returns an error if the version is unsupported.

func RabbitMQSecretsDataModelToVersioned

func RabbitMQSecretsDataModelToVersioned(model *datamodel.RabbitMQSecrets, version string) (v1.VersionedModelInterface, error)

RabbitMQSecretsDataModelToVersioned converts a version-agnostic datamodel.RabbitMQSecrets to a versioned model based on the given version string, or returns an error if the version is not supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

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