Class: UffizziCore::Controller::CreateCluster::ClusterSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- UffizziCore::Controller::CreateCluster::ClusterSerializer
show all
- Includes:
- DependencyInjectionConcern
- Defined in:
- app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb
Instance Method Summary
collapse
#ci_module, #ci_session, #controller_settings_service, #deployment_memory_module, #domain_module, #find_build_parser_module, #find_ingress_parser_module, #find_volume_parser_module, #notification_module, #password_protection_module, #template_memory_module, #user_access_module
Instance Method Details
#account_id ⇒ Object
23
24
25
|
# File 'app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb', line 23
def account_id
object.project.account_id
end
|
#base_ingress_host ⇒ Object
9
10
11
12
13
|
# File 'app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb', line 9
def base_ingress_host
managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone
[object.namespace, managed_dns_zone].join('.')
end
|
#distro ⇒ Object
19
20
21
|
# File 'app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb', line 19
def distro
kubernetes_distribution.distro
end
|
#image ⇒ Object
15
16
17
|
# File 'app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb', line 15
def image
kubernetes_distribution.image
end
|