config

package
v0.0.0-...-410f0c4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpecConfig = "config.json"
)

Variables

This section is empty.

Functions

func ValidateBundle

func ValidateBundle(logger *logrus.Entry, bundlePath string) (*specs.Spec, error)

func ValidateProcess

func ValidateProcess(logger *logrus.Entry, processConfig string, overrides *specs.Process) (*specs.Process, error)

Types

type BundleConfigInvalidEncodingError

type BundleConfigInvalidEncodingError struct {
	BundlePath string
}

func (*BundleConfigInvalidEncodingError) Error

type BundleConfigInvalidJSONError

type BundleConfigInvalidJSONError struct {
	BundlePath    string
	InternalError error
}

func (*BundleConfigInvalidJSONError) Error

type BundleConfigValidationError

type BundleConfigValidationError struct {
	BundlePath    string
	ErrorMessages []string
}

func (*BundleConfigValidationError) Error

type MissingBundleConfigError

type MissingBundleConfigError struct {
	BundlePath string
}

func (*MissingBundleConfigError) Error

func (e *MissingBundleConfigError) Error() string

type MissingBundleError

type MissingBundleError struct {
	BundlePath string
}

func (*MissingBundleError) Error

func (e *MissingBundleError) Error() string

type MissingProcessConfigError

type MissingProcessConfigError struct {
	ProcessConfig string
}

func (*MissingProcessConfigError) Error

func (e *MissingProcessConfigError) Error() string

type ProcessConfigInvalidEncodingError

type ProcessConfigInvalidEncodingError struct {
	ProcessConfig string
}

func (*ProcessConfigInvalidEncodingError) Error

type ProcessConfigInvalidJSONError

type ProcessConfigInvalidJSONError struct {
	ProcessConfig string
	InternalError error
}

func (*ProcessConfigInvalidJSONError) Error

type ProcessConfigValidationError

type ProcessConfigValidationError struct {
	ErrorMessages []string
}

func (*ProcessConfigValidationError) Error

Jump to

Keyboard shortcuts

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