Class: Pangea::Kubernetes::Architecture::GcpIamResult
- Inherits:
-
IamResult
- Object
- Contracts::IamResult
- IamResult
- Pangea::Kubernetes::Architecture::GcpIamResult
- Defined in:
- lib/pangea/kubernetes/architecture.rb
Overview
GCP-specific IamResult with service account for nodes
Instance Attribute Summary collapse
-
#node_sa ⇒ Object
Returns the value of attribute node_sa.
Attributes inherited from IamResult
#ec2_policy, #ecr_policy, #etcd_policy, #karpenter_profile, #karpenter_role, #log_group, #logs_policy, #persistent_state_policy, #ssm_policy
Instance Method Summary collapse
Methods inherited from IamResult
Constructor Details
This class inherits a constructor from Pangea::Kubernetes::Architecture::IamResult
Instance Attribute Details
#node_sa ⇒ Object
Returns the value of attribute node_sa.
305 306 307 |
# File 'lib/pangea/kubernetes/architecture.rb', line 305 def node_sa @node_sa end |
Instance Method Details
#[](key) ⇒ Object
307 308 309 310 311 312 |
# File 'lib/pangea/kubernetes/architecture.rb', line 307 def [](key) case key.to_sym when :node_sa then node_sa else super end end |
#to_h ⇒ Object
314 315 316 317 318 |
# File 'lib/pangea/kubernetes/architecture.rb', line 314 def to_h hash = super hash[:node_sa] = node_sa if node_sa hash end |