Class: Pangea::Kubernetes::Types::DeploymentContext
- Inherits:
-
Resources::BaseAttributes
- Object
- Resources::BaseAttributes
- Pangea::Kubernetes::Types::DeploymentContext
- Defined in:
- lib/pangea/kubernetes/types.rb
Overview
Deployment context — metadata for the architecture reference
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
468 469 470 471 472 473 |
# File 'lib/pangea/kubernetes/types.rb', line 468 def to_h hash = { environment: environment, cluster_name: cluster_name } hash[:team] = team if team hash[:cost_center] = cost_center if cost_center hash end |