Documentation ¶
Index ¶
- Constants
- func Convert(dockerCompose []byte) (string, error)
- func ErrCvrtKompose(err error) error
- func ErrIncompatibleVersion() error
- func ErrNoVersion() error
- func FormatComposeFile(yamlManifest *[]byte) error
- func IsManifestADockerCompose(yamlManifest []byte) bool
- func VaildateDockerComposeFile(yamlManifest []byte) error
Constants ¶
View Source
const ( ErrCvrtKomposeCode = "11075" ErrNoVersionCode = "11077" ErrIncompatibleVersionCode = "11078" )
Variables ¶
This section is empty.
Functions ¶
func ErrCvrtKompose ¶
func ErrIncompatibleVersion ¶ added in v0.5.22
func ErrIncompatibleVersion() error
func ErrNoVersion ¶ added in v0.5.22
func ErrNoVersion() error
func FormatComposeFile ¶ added in v0.5.22
FormatComposeFile takes in a pointer to the compose file byte array and formats it so that it is compatible with `Kompose` it expects a validated docker compose file and does not validate
func IsManifestADockerCompose ¶ added in v0.5.15
IsManifestADockerCompose takes in a manifest and returns true only when the given manifest is a 'valid' docker compose file
func VaildateDockerComposeFile ¶ added in v0.5.22
VaildateDockerComposeFile takes in a manifest and returns validates it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.