Class: UffizziCore::Api::Cli::V1::Projects::Clusters::IngressesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- UffizziCore::Api::Cli::V1::Projects::Clusters::IngressesController
- Defined in:
- app/controllers/uffizzi_core/api/cli/v1/projects/clusters/ingresses_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'app/controllers/uffizzi_core/api/cli/v1/projects/clusters/ingresses_controller.rb', line 7 def index hosts = UffizziCore::ControllerService.ingress_hosts(resource_cluster) user_hosts = UffizziCore::ClusterService.filter_user_ingress_host(resource_cluster, hosts) data = { ingresses: user_hosts, } respond_with data end |