Documentation ¶
Index ¶
- Constants
- func ValidateBundle(logger *logrus.Entry, bundlePath string) (*specs.Spec, error)
- func ValidateProcess(logger *logrus.Entry, processConfig string, overrides *specs.Process) (*specs.Process, error)
- type BundleConfigInvalidEncodingError
- type BundleConfigInvalidJSONError
- type BundleConfigValidationError
- type MissingBundleConfigError
- type MissingBundleError
- type MissingProcessConfigError
- type ProcessConfigInvalidEncodingError
- type ProcessConfigInvalidJSONError
- type ProcessConfigValidationError
Constants ¶
View Source
const (
SpecConfig = "config.json"
)
Variables ¶
This section is empty.
Functions ¶
func ValidateBundle ¶
Types ¶
type BundleConfigInvalidEncodingError ¶
type BundleConfigInvalidEncodingError struct {
BundlePath string
}
func (*BundleConfigInvalidEncodingError) Error ¶
func (e *BundleConfigInvalidEncodingError) Error() string
type BundleConfigInvalidJSONError ¶
func (*BundleConfigInvalidJSONError) Error ¶
func (e *BundleConfigInvalidJSONError) Error() string
type BundleConfigValidationError ¶
func (*BundleConfigValidationError) Error ¶
func (e *BundleConfigValidationError) Error() string
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 ¶
func (e *ProcessConfigInvalidEncodingError) Error() string
type ProcessConfigInvalidJSONError ¶
func (*ProcessConfigInvalidJSONError) Error ¶
func (e *ProcessConfigInvalidJSONError) Error() string
type ProcessConfigValidationError ¶
type ProcessConfigValidationError struct {
ErrorMessages []string
}
func (*ProcessConfigValidationError) Error ¶
func (e *ProcessConfigValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.