Module: HammerCLIKatello::ForemanSearchOptionsCreators

Included in:
SearchOptionsCreators
Defined in:
lib/hammer_cli_katello/foreman_search_options_creators.rb

Instance Method Summary collapse

Instance Method Details

#create_architectures_search_options(options, mode = nil) ⇒ Object



23
24
25
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 23

def create_architectures_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:architectures), mode)
end

#create_capsules_search_options(options, mode = nil) ⇒ Object



15
16
17
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 15

def create_capsules_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:smart_proxies), mode)
end

#create_compute_profiles_search_options(options, mode = nil) ⇒ Object



71
72
73
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 71

def create_compute_profiles_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:compute_profiles), mode)
end

#create_compute_resources_search_options(options, mode = nil) ⇒ Object



67
68
69
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 67

def create_compute_resources_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:compute_resources), mode)
end

#create_debs_search_options(options, mode = nil) ⇒ Object



31
32
33
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 31

def create_debs_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:debs), mode)
end

#create_domains_search_options(options, mode = nil) ⇒ Object



35
36
37
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 35

def create_domains_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:domains), mode)
end

#create_environments_search_options(options, mode = nil) ⇒ Object



3
4
5
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 3

def create_environments_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:environments), mode)
end

#create_hostgroups_search_options(options, mode = nil) ⇒ Object



47
48
49
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 47

def create_hostgroups_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:hostgroups), mode)
end

#create_hosts_search_options(options, mode = nil) ⇒ Object



19
20
21
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 19

def create_hosts_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:hosts), mode)
end

#create_http_proxies_search_options(options, mode = nil) ⇒ Object



87
88
89
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 87

def create_http_proxies_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:http_proxies), mode)
end

#create_images_search_options(options, mode = nil) ⇒ Object



75
76
77
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 75

def create_images_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:images), mode)
end

#create_locations_search_options(options, mode = nil) ⇒ Object



39
40
41
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 39

def create_locations_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:locations), mode)
end

#create_media_search_options(options, mode = nil) ⇒ Object



43
44
45
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 43

def create_media_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:media), mode)
end

#create_operatingsystems_search_options(options, mode = nil) ⇒ Object



27
28
29
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 27

def create_operatingsystems_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:operatingsystems), mode)
end

#create_organizations_search_options(options, mode = nil) ⇒ Object



7
8
9
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 7

def create_organizations_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:organizations), mode)
end

#create_packages_search_options(options, mode = nil) ⇒ Object



63
64
65
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 63

def create_packages_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:packages), mode)
end

#create_ptables_search_options(options, mode = nil) ⇒ Object



51
52
53
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 51

def create_ptables_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:ptables), mode)
end

#create_realms_search_options(options, mode = nil) ⇒ Object



59
60
61
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 59

def create_realms_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:realms), mode)
end

#create_smart_proxies_search_options(options, mode = nil) ⇒ Object



11
12
13
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 11

def create_smart_proxies_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:smart_proxies), mode)
end

#create_subnets_search_options(options, mode = nil) ⇒ Object



55
56
57
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 55

def create_subnets_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:subnets), mode)
end

#create_usergroups_search_options(options, mode = nil) ⇒ Object



83
84
85
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 83

def create_usergroups_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:usergroups), mode)
end

#create_users_search_options(options, mode = nil) ⇒ Object



79
80
81
# File 'lib/hammer_cli_katello/foreman_search_options_creators.rb', line 79

def create_users_search_options(options, mode = nil)
  create_search_options_without_katello_api(options, api.resource(:users), mode)
end