github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/core/constraints/export_test.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package constraints
     5  
     6  var WithFallbacks = withFallbacks
     7  
     8  func Without(cons Value, attrTags ...string) Value {
     9  	return cons.without(attrTags...)
    10  }
    11  
    12  func HasAny(cons Value, attrTags ...string) []string {
    13  	return cons.hasAny(attrTags...)
    14  }