converter

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ErrUnknownFormatCode = "meshkit-11245"
)

Variables

This section is empty.

Functions

func ErrUnknownFormat

func ErrUnknownFormat(format DesignFormat) error

Types

type ConvertFormat

type ConvertFormat interface {
	Convert(string) (string, error)
}

func NewFormatConverter

func NewFormatConverter(format DesignFormat) (ConvertFormat, error)

type DesignFormat

type DesignFormat string
const (
	HelmChart     DesignFormat = "Helm Chart"
	DockerCompose DesignFormat = "Docker Compose"
	K8sManifest   DesignFormat = "Kubernetes Manifest"
	Design        DesignFormat = "Design"
)

Jump to

Keyboard shortcuts

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