dtk_crd_parser 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/crd_parser/action.rb +1 -1
- data/lib/crd_parser/component.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8341249f07409ec9f5d6968efea9dc70de98812f5c474744f4322cff109e3cc
|
4
|
+
data.tar.gz: 2d62c681a444736913d3c8d0b1005f8d92dbaa837a3c408dcbbb37e547d75d0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f92ddcae6bc695c95617e6170c27ff7fe5801b4d96a3073e2a8a3214779b78ef0d3253c3b049d9367c44b44adc36bba2d3364c5ece680ba899fa5bc31d7e7dc6
|
7
|
+
data.tar.gz: a25fa6ba148b434410a775660ccf7eedd3423f8ec4545396976074fcb550d72a83986bbdc2e1291f64a8d05db8fc2a9a9569ac35f3f1f4b7739cb07a49b826e4
|
data/lib/crd_parser/action.rb
CHANGED
@@ -11,7 +11,7 @@ module DTK::CrdParser
|
|
11
11
|
def self.create_from_kube(client, component_instance, component_name)
|
12
12
|
Logger.new('/proc/1/fd/1').info 'Action.create_from-kube'
|
13
13
|
component_obj = Component.create_from_kube(client, component_instance, component_name)
|
14
|
-
Logger.new('/proc/1/fd/1').info "Component object is: #{component_obj}"
|
14
|
+
Logger.new('/proc/1/fd/1').info "Component object is: #{component_obj.methods-Object.methods}"
|
15
15
|
actions = component_obj[:component_def][:executable_actions]
|
16
16
|
Logger.new('/proc/1/fd/1').info "actions are: #{actions}"
|
17
17
|
actions_hash = Hash.new
|
data/lib/crd_parser/component.rb
CHANGED
@@ -4,6 +4,8 @@ module DTK::CrdParser
|
|
4
4
|
require_relative('error')
|
5
5
|
|
6
6
|
MODE_DEFAULT = :component_instance
|
7
|
+
attr_reader :name, :component_def, :attributes
|
8
|
+
|
7
9
|
def initialize(name, component_def, attributes)
|
8
10
|
@name = fail_if_nil(name, 'name')
|
9
11
|
@component_def = fail_if_nil(component_def, 'component_def') # this wil point to the corresponding component def
|
@@ -21,7 +23,6 @@ module DTK::CrdParser
|
|
21
23
|
Component.new(component_name, component_def, attributes)
|
22
24
|
end
|
23
25
|
|
24
|
-
attr_reader :name, :component_def, :attributes
|
25
26
|
|
26
27
|
protected
|
27
28
|
|