MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / Marshal

Method Marshal

src/java/common/yaml_handler.go:17–19  ·  view source on GitHub ↗

Marshal encodes the given value into YAML.

(in any)

Source from the content-addressed store, hash-verified

15
16// Marshal encodes the given value into YAML.
17func (h YamlHandler) Marshal(in any) ([]byte, error) {
18 return yaml.Marshal(in)
19}
20
21// ValidateFields is used to detect unknown fields during parsing of JBP_CONFIG* configurations
22func (h YamlHandler) ValidateFields(data []byte, out interface{}) error {

Callers 4

loadConfigMethod · 0.95
isEnabledMethod · 0.95
getThresholdsMethod · 0.95
LoadConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected