github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/apiserver/facades/client/application/export_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package application
     5  
     6  import (
     7  	"github.com/juju/juju/state"
     8  )
     9  
    10  var (
    11  	ParseSettingsCompatible = parseSettingsCompatible
    12  	GetStorageState         = getStorageState
    13  	ValidateSecretConfig    = validateSecretConfig
    14  )
    15  
    16  func GetState(st *state.State) Backend {
    17  	return stateShim{st}
    18  }
    19  
    20  func GetModel(m *state.Model) Model {
    21  	return modelShim{m}
    22  }