forked from jakubcierlik/cloudify-etcd-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
101 lines (91 loc) · 2.47 KB
/
Copy pathplugin.yaml
File metadata and controls
101 lines (91 loc) · 2.47 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
plugins:
etcd:
executor: central_deployment_agent
package_name: cloudify-etcd-plugin
package_version: '1.0.0'
dsl_definitions:
client_config: &client_config
client_config:
type: cloudify.datatypes.etcd.ClientConfig
description: Etcd key-value store client configuration.
required: true
data_types:
cloudify.datatypes.etcd.ClientConfig:
properties:
host:
type: string
default: localhost
port:
type: integer
default: 2379
user:
type: string
required: false
password:
type: string
required: false
ca_cert:
type: string
required: false
cert_key:
type: string
required: false
cert_cert:
type: string
required: false
timeout:
type: integer
required: false
grpc_options:
required: false
cloudify.datatypes.etcd.resourceconfig.KeyValuePair:
properties:
key:
description: The key of the key-value pair.
type: string
required: true
value:
description: The value of the key-value pair.
type: string
required: true
lease:
description: >
All keys attached to this lease will be expired and deleted if
the lease expires.
required: false
cloudify.datatypes.etcd.resourceconfig.WatchKey:
properties:
key:
description: The key to watch.
type: string
required: true
condition:
description: >
A string that stops watching the key once it is encountered.
type: string
required: true
node_types:
cloudify.nodes.etcd.Base:
derived_from: cloudify.nodes.Compute
properties:
<<: *client_config
cloudify.nodes.etcd.KeyValuePair:
derived_from: cloudify.nodes.etcd.Base
properties:
resource_config:
type: cloudify.datatypes.etcd.resourceconfig.KeyValuePair
required: true
interfaces:
cloudify.interfaces.lifecycle:
create: etcd.etcd_plugin.keyvaluepair.create
delete: etcd.etcd_plugin.keyvaluepair.delete
cloudify.nodes.etcd.WatchKey:
derived_from: cloudify.nodes.etcd.Base
properties:
resource_config:
type: cloudify.datatypes.etcd.resourceconfig.WatchKey
required: true
interfaces:
cloudify.interfaces.lifecycle:
create: etcd.etcd_plugin.watchkey.watch
delete: etcd.etcd_plugin.watchkey.delete