-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yaml
63 lines (62 loc) · 1.51 KB
/
schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# yaml-language-server: $schema=https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json
---
name: libp2p
pluginDownloadUrl: github://api.github.com/LuxChanLu
types:
libp2p:index:KeyType:
type: string
enum:
- name: RSA
value: RSA
- name: ED25519
value: ED25519
- name: SECP256K1
value: SECP256K1
- name: ECDSA
value: ECDSA
resources:
libp2p:index:Key:
isComponent: true
inputProperties:
type:
type: enum
$ref: "#/types/libp2p:index:KeyType"
description: Type of the key to generate one of RSA, ED25519, SECP256K1, ECDSA
replaceOnChanges: true
bits:
type: integer
description: Siye of the key (Only for RSA key)
replaceOnChanges: true
requiredInputs:
- type
properties:
peerId:
type: string
description: Peer ID
private:
type: string
description: Marshalled private key
secret: true
public:
type: string
description: Marshalled public key
required:
- peerId
- private
- public
language:
csharp:
packageReferences:
Pulumi: 3.*
go:
generateResourceContainerTypes: true
importBasePath: github.com/LuxChanLu/pulumi-libp2p/sdk/go/libp2p
nodejs:
packageName: "@luxchanlu/pulumi-libp2p"
dependencies:
"@pulumi/pulumi": "^3.45.0"
devDependencies:
typescript: "^3.7.0"
python:
requires:
pulumi: ">=3.0.0,<4.0.0"