Documentation
¶
Index ¶
- func CreateInternalSecretBackend(c *gc.C, runner database.TxnRunner)
- func CreateKubernetesSecretBackend(c *gc.C, runner database.TxnRunner)
- func CreateTestModel(c *gc.C, txnRunner database.TxnRunnerFactory, name string) coremodel.UUID
- func DeleteTestModel(c *gc.C, txnRunner database.TxnRunnerFactory, uuid coremodel.UUID)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInternalSecretBackend ¶
CreateInternalSecretBackend creates the internal secret backend on a controller. This should only ever be used from within other state packages. This avoids the need for introducing cyclic imports with tests.
func CreateKubernetesSecretBackend ¶
CreateKubernetesSecretBackend creates the kubernetes secret backend on a controller. This should only ever be used from within other state packages. This avoids the need for introducing cyclic imports with tests.
func CreateTestModel ¶
CreateTestModel is a testing utility function for creating a basic model for a test to rely on. The created model will have it's uuid returned.
This should only ever be used from within other state packages to establish a reference model. This avoids the need for introducing cyclic imports with tests.
func DeleteTestModel ¶
DeleteTestModel is responsible for cleaning up a testing mode previously created with CreateTestModel.
Types ¶
This section is empty.