forked from fediversity/fediversity
Compare commits
2 commits
06a8b24e7a
...
c6f82f2e0a
| Author | SHA1 | Date | |
|---|---|---|---|
| c6f82f2e0a | |||
| e91061e69c |
3 changed files with 7 additions and 4 deletions
|
|
@ -185,6 +185,7 @@ in
|
|||
deploymentFunction = lib.isFunction result.deploymentFunction;
|
||||
getProviders = lib.isFunction result.getProviders;
|
||||
};
|
||||
deploy = lib.isFunction fediversity.deployments.example.deployment;
|
||||
};
|
||||
expected = {
|
||||
number-of-resources = 1;
|
||||
|
|
|
|||
|
|
@ -108,7 +108,8 @@ in
|
|||
type = functionType;
|
||||
readOnly = true;
|
||||
default = {
|
||||
input-type = submodule application.config.module;
|
||||
# input-type = submodule application.config.module;
|
||||
input-type = types.int;
|
||||
output-type = application-resources;
|
||||
};
|
||||
};
|
||||
|
|
@ -142,9 +143,10 @@ in
|
|||
resource-mapping = mkOption {
|
||||
description = "Function type for the mapping from resources to a (NixOps4) deployment";
|
||||
type = functionType;
|
||||
readOnly = true;
|
||||
# readOnly = true;
|
||||
default = {
|
||||
input-type = application-resources;
|
||||
# input-type = application-resources;
|
||||
input-type = types.int;
|
||||
output-type = nixops4Deployment;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ submodule (function: {
|
|||
};
|
||||
function-type = mkOption {
|
||||
type = optionType;
|
||||
readOnly = true;
|
||||
# readOnly = true;
|
||||
default = functionTo (submodule {
|
||||
options = {
|
||||
input = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue