pulumi/tests/testdata/codegen/secrets-go-generics-only/schema.json

104 lines
3.1 KiB
JSON

{
"name": "mypkg",
"version": "0.0.1",
"types": {
"mypkg::Config": {
"properties": {
"foo": {
"type": "string"
}
},
"type": "object"
}
},
"resources": {
"mypkg::Resource": {
"properties": {
"config": {
"$ref": "#/types/mypkg::Config",
"secret": true
},
"configArray": {
"type": "array",
"items": {
"$ref": "#/types/mypkg::Config"
},
"secret": true
},
"configMap": {
"type": "object",
"additionalProperties": {
"$ref": "#/types/mypkg::Config"
},
"secret": true
},
"foo": {
"type": "string",
"secret": true
},
"fooArray": {
"type": "array",
"items": {
"type": "string"
},
"secret": true
},
"fooMap": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"secret": true
}
},
"required": ["config", "configArray", "configMap", "foo", "fooArray", "fooMap"],
"inputProperties": {
"config": {
"$ref": "#/types/mypkg::Config",
"secret": true
},
"configArray": {
"type": "array",
"items": {
"$ref": "#/types/mypkg::Config"
},
"secret": true
},
"configMap": {
"type": "object",
"additionalProperties": {
"$ref": "#/types/mypkg::Config"
},
"secret": true
},
"foo": {
"type": "string",
"secret": true
},
"fooArray": {
"type": "array",
"items": {
"type": "string"
},
"secret": true
},
"fooMap": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"secret": true
}
},
"type": "object",
"requiredInputs": ["config", "configArray", "configMap", "foo", "fooArray", "fooMap"]
}
},
"language": {
"go": {
"importBasePath": "secrets-go-generics-only/mypkg",
"generics": "generics-only"
}
}
}