github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/core/assumes/feature_descriptions.go (about)

     1  // Copyright 2021 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package assumes
     5  
     6  var (
     7  	// A set of user-friendly descriptions for potentially supported
     8  	// features that are known to the controller. This allows us to
     9  	// generate better error messages when an "assumes" expression requests a
    10  	// feature that is not included in the feature set supported by the
    11  	// current model.
    12  	UserFriendlyFeatureDescriptions = map[string]string{
    13  		"juju":    "the version of Juju used by the model",
    14  		"k8s-api": "the Kubernetes API lets charms query and manipulate the state of API objects in a Kubernetes cluster",
    15  	}
    16  )