gopkg.in/juju/charm.v6-unstable@v6.0.0-20171026192109-50d0c219b496/export_test.go (about) 1 // Copyright 2011-2016 Canonical Ltd. 2 // Licensed under the LGPLv3, see LICENCE file for details. 3 4 package charm 5 6 // Export meaningful bits for tests only. 7 8 var ( 9 IfaceExpander = ifaceExpander 10 ValidateValue = validateValue 11 12 ParsePayloadClass = parsePayloadClass 13 ResourceSchema = resourceSchema 14 ExtraBindingsSchema = extraBindingsSchema 15 ValidateMetaExtraBindings = validateMetaExtraBindings 16 ParseResourceMeta = parseResourceMeta 17 ) 18 19 func MissingSeriesError() error { 20 return missingSeriesError 21 } 22 23 func (bd *BundleData) ClearUnmarshaledWithServices() { 24 bd.unmarshaledWithServices = false 25 }