Class: OpenShift::ApplicationContainerProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/openshift/application_container_proxy.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



66
67
68
# File 'lib/openshift/application_container_proxy.rb', line 66

def id
  @id
end

Class Method Details

.blacklisted?(name) ⇒ Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/openshift/application_container_proxy.rb', line 38

def self.blacklisted?(name)
  @proxy_provider.blacklisted_in_impl?(name)
end

.blacklisted_in_impl?(name) ⇒ Boolean

Returns:

  • (Boolean)


42
43
# File 'lib/openshift/application_container_proxy.rb', line 42

def self.blacklisted_in_impl?(name)
end

.execute_parallel_jobs(handle) ⇒ Object



59
60
61
# File 'lib/openshift/application_container_proxy.rb', line 59

def self.execute_parallel_jobs(handle)
  @proxy_provider.execute_parallel_jobs_impl(handle)
end

.execute_parallel_jobs_impl(handle) ⇒ Object



63
64
# File 'lib/openshift/application_container_proxy.rb', line 63

def self.execute_parallel_jobs_impl(handle)
end

.find_available(node_profile = nil) ⇒ Object



21
22
23
# File 'lib/openshift/application_container_proxy.rb', line 21

def self.find_available(node_profile=nil)
  @proxy_provider.find_available_impl(node_profile)
end

.find_available_impl(node_profile = nil) ⇒ Object



67
68
# File 'lib/openshift/application_container_proxy.rb', line 67

def self.find_available_impl(node_profile=nil)
end

.find_one(node_profile = nil) ⇒ Object



25
26
27
# File 'lib/openshift/application_container_proxy.rb', line 25

def self.find_one(node_profile=nil)
  @proxy_provider.find_one_impl(node_profile)
end

.find_one_impl(node_profile = nil) ⇒ Object



70
71
# File 'lib/openshift/application_container_proxy.rb', line 70

def self.find_one_impl(node_profile=nil)
end

.get_all_active_gearsObject



52
53
54
# File 'lib/openshift/application_container_proxy.rb', line 52

def self.get_all_active_gears
  @proxy_provider.get_all_active_gears_impl
end

.get_all_active_gears_implObject



56
57
# File 'lib/openshift/application_container_proxy.rb', line 56

def self.get_all_active_gears_impl
end

.get_all_gearsObject



45
46
47
# File 'lib/openshift/application_container_proxy.rb', line 45

def self.get_all_gears
  @proxy_provider.get_all_gears_impl
end

.get_all_gears_implObject



49
50
# File 'lib/openshift/application_container_proxy.rb', line 49

def self.get_all_gears_impl
end

.get_blacklistedObject



29
30
31
# File 'lib/openshift/application_container_proxy.rb', line 29

def self.get_blacklisted
  @proxy_provider.get_blacklisted_in_impl
end

.get_blacklisted_in_implObject



33
34
35
# File 'lib/openshift/application_container_proxy.rb', line 33

def self.get_blacklisted_in_impl
  []
end

.instance(id) ⇒ Object



17
18
19
# File 'lib/openshift/application_container_proxy.rb', line 17

def self.instance(id)
  @proxy_provider.new(id)
end

.provider=(provider_class) ⇒ Object



13
14
15
# File 'lib/openshift/application_container_proxy.rb', line 13

def self.provider=(provider_class)
  @proxy_provider = provider_class
end

.valid_gear_sizes(user) ⇒ Object



5
6
7
# File 'lib/openshift/application_container_proxy.rb', line 5

def self.valid_gear_sizes(user)
  @proxy_provider.valid_gear_sizes_impl(user)
end

.valid_gear_sizes_impl(user) ⇒ Object



9
10
11
# File 'lib/openshift/application_container_proxy.rb', line 9

def self.valid_gear_sizes_impl(user)    
  return ["small"]
end

Instance Method Details

#add_alias(app, gear, server_alias) ⇒ Object



163
164
# File 'lib/openshift/application_container_proxy.rb', line 163

def add_alias(app, gear, server_alias)
end

#add_authorized_ssh_key(app, gear, ssh_key, key_type = nil, comment = nil) ⇒ Object



88
89
# File 'lib/openshift/application_container_proxy.rb', line 88

def add_authorized_ssh_key(app, gear, ssh_key, key_type=nil, comment=nil)
end

#add_broker_auth_key(app, gear, iv, token) ⇒ Object



100
101
# File 'lib/openshift/application_container_proxy.rb', line 100

def add_broker_auth_key(app, gear, iv, token)
end

#add_component(app, gear, component) ⇒ Object



184
185
# File 'lib/openshift/application_container_proxy.rb', line 184

def add_component(app, gear, component)
end

#add_env_var(app, gear, key, value) ⇒ Object



94
95
# File 'lib/openshift/application_container_proxy.rb', line 94

def add_env_var(app, gear, key, value)
end

#component_status(app, gear, component) ⇒ Object



202
203
# File 'lib/openshift/application_container_proxy.rb', line 202

def component_status(app, gear, component)
end

#conceal_port(app, gear, cart) ⇒ Object



157
158
# File 'lib/openshift/application_container_proxy.rb', line 157

def conceal_port(app, gear, cart)
end

#configure_cartridge(app, gear, cart, template_git_url = nil) ⇒ Object



109
110
# File 'lib/openshift/application_container_proxy.rb', line 109

def configure_cartridge(app, gear, cart, template_git_url=nil)
end

#create(app, gear) ⇒ Object



82
83
# File 'lib/openshift/application_container_proxy.rb', line 82

def create(app, gear)
end

#deconfigure_cartridge(app, gear, cart) ⇒ Object



112
113
# File 'lib/openshift/application_container_proxy.rb', line 112

def deconfigure_cartridge(app, gear, cart)
end

#destroy(app, gear) ⇒ Object



85
86
# File 'lib/openshift/application_container_proxy.rb', line 85

def destroy(app, gear)
end

#embedded_cartsObject



181
182
# File 'lib/openshift/application_container_proxy.rb', line 181

def embedded_carts
end

#execute_connector(app, gear, cart, connector_name, input_args) ⇒ Object



124
125
# File 'lib/openshift/application_container_proxy.rb', line 124

def execute_connector(app, gear, cart, connector_name, input_args)
end

#expose_port(app, gear, cart) ⇒ Object



154
155
# File 'lib/openshift/application_container_proxy.rb', line 154

def expose_port(app, gear, cart)
end

#force_stop(app, gear, cart) ⇒ Object



133
134
# File 'lib/openshift/application_container_proxy.rb', line 133

def force_stop(app, gear, cart)
end

#framework_cartsObject



178
179
# File 'lib/openshift/application_container_proxy.rb', line 178

def framework_carts
end

#get_add_authorized_ssh_key_job(app, gear, ssh_key, key_type = nil, comment = nil) ⇒ Object



217
218
# File 'lib/openshift/application_container_proxy.rb', line 217

def get_add_authorized_ssh_key_job(app, gear, ssh_key, key_type=nil, comment=nil)
end

#get_available_cartridgesObject



79
80
# File 'lib/openshift/application_container_proxy.rb', line 79

def get_available_cartridges
end

#get_broker_auth_key_add_job(app, gear, iv, token) ⇒ Object



226
227
# File 'lib/openshift/application_container_proxy.rb', line 226

def get_broker_auth_key_add_job(app, gear, iv, token)
end

#get_broker_auth_key_remove_job(app, gear) ⇒ Object



229
230
# File 'lib/openshift/application_container_proxy.rb', line 229

def get_broker_auth_key_remove_job(app, gear)
end

#get_env_var_add_job(app, gear, key, value) ⇒ Object



211
212
# File 'lib/openshift/application_container_proxy.rb', line 211

def get_env_var_add_job(app, gear, key, value)
end

#get_env_var_remove_job(app, gear, key) ⇒ Object



214
215
# File 'lib/openshift/application_container_proxy.rb', line 214

def get_env_var_remove_job(app, gear, key)
end

#get_execute_connector_job(app, gear, cart, connector_name, input_args) ⇒ Object



223
224
# File 'lib/openshift/application_container_proxy.rb', line 223

def get_execute_connector_job(app, gear, cart, connector_name, input_args)
end

#get_public_hostnameObject



115
116
# File 'lib/openshift/application_container_proxy.rb', line 115

def get_public_hostname
end

#get_quota(gear) ⇒ Object



172
173
# File 'lib/openshift/application_container_proxy.rb', line 172

def get_quota(gear)
end

#get_quota_blocksObject



118
119
# File 'lib/openshift/application_container_proxy.rb', line 118

def get_quota_blocks
end

#get_quota_filesObject



121
122
# File 'lib/openshift/application_container_proxy.rb', line 121

def get_quota_files
end

#get_remove_authorized_ssh_key_job(app, gear, ssh_key, comment = nil) ⇒ Object



220
221
# File 'lib/openshift/application_container_proxy.rb', line 220

def get_remove_authorized_ssh_key_job(app, gear, ssh_key, comment=nil)
end

#get_show_gear_quota_job(gear) ⇒ Object



235
236
# File 'lib/openshift/application_container_proxy.rb', line 235

def get_show_gear_quota_job(gear)
end

#get_show_state_job(app, gear) ⇒ Object



232
233
# File 'lib/openshift/application_container_proxy.rb', line 232

def get_show_state_job(app, gear)
end

#get_update_gear_quota_job(gear, storage_in_gb, inodes) ⇒ Object



238
239
# File 'lib/openshift/application_container_proxy.rb', line 238

def get_update_gear_quota_job(gear, storage_in_gb, inodes)
end

#has_app?(app_uuid, app_name) ⇒ Boolean

Returns:

  • (Boolean)


205
206
# File 'lib/openshift/application_container_proxy.rb', line 205

def has_app?(app_uuid, app_name)
end

#has_embedded_app?(app_uuid, embedded_type) ⇒ Boolean

Returns:

  • (Boolean)


208
209
# File 'lib/openshift/application_container_proxy.rb', line 208

def has_embedded_app?(app_uuid, embedded_type)
end

#reload(app, gear, cart) ⇒ Object



139
140
# File 'lib/openshift/application_container_proxy.rb', line 139

def reload(app, gear, cart)
end

#reload_component(app, gear, component) ⇒ Object



199
200
# File 'lib/openshift/application_container_proxy.rb', line 199

def reload_component(app, gear, component)
end

#remove_alias(app, gear, server_alias) ⇒ Object



166
167
# File 'lib/openshift/application_container_proxy.rb', line 166

def remove_alias(app, gear, server_alias)
end

#remove_authorized_ssh_key(app, gear, ssh_key, comment = nil) ⇒ Object



91
92
# File 'lib/openshift/application_container_proxy.rb', line 91

def remove_authorized_ssh_key(app, gear, ssh_key, comment=nil)
end

#remove_broker_auth_key(app, gear) ⇒ Object



103
104
# File 'lib/openshift/application_container_proxy.rb', line 103

def remove_broker_auth_key(app, gear)
end

#remove_component(app, gear, component) ⇒ Object



187
188
# File 'lib/openshift/application_container_proxy.rb', line 187

def remove_component(app, gear, component)
end

#remove_env_var(app, gear, key) ⇒ Object



97
98
# File 'lib/openshift/application_container_proxy.rb', line 97

def remove_env_var(app, gear, key)
end

#reserve_uidObject



73
74
# File 'lib/openshift/application_container_proxy.rb', line 73

def reserve_uid
end

#restart(app, gear, cart) ⇒ Object



136
137
# File 'lib/openshift/application_container_proxy.rb', line 136

def restart(app, gear, cart)
end

#restart_component(app, gear, component) ⇒ Object



196
197
# File 'lib/openshift/application_container_proxy.rb', line 196

def restart_component(app, gear, component)
end

#set_quota(gear, storage_in_gb, inodes) ⇒ Object



175
176
# File 'lib/openshift/application_container_proxy.rb', line 175

def set_quota(gear, storage_in_gb, inodes)
end

#show_port(app, gear, cart) ⇒ Object



160
161
# File 'lib/openshift/application_container_proxy.rb', line 160

def show_port(app, gear, cart)
end

#show_state(app, gear) ⇒ Object



106
107
# File 'lib/openshift/application_container_proxy.rb', line 106

def show_state(app, gear)
end

#start(app, gear, cart) ⇒ Object



127
128
# File 'lib/openshift/application_container_proxy.rb', line 127

def start(app, gear, cart)
end

#start_component(app, gear, component) ⇒ Object



190
191
# File 'lib/openshift/application_container_proxy.rb', line 190

def start_component(app, gear, component)
end

#status(app, gear, cart) ⇒ Object



142
143
# File 'lib/openshift/application_container_proxy.rb', line 142

def status(app, gear, cart)
end

#stop(app, gear, cart) ⇒ Object



130
131
# File 'lib/openshift/application_container_proxy.rb', line 130

def stop(app, gear, cart)
end

#stop_component(app, gear, component) ⇒ Object



193
194
# File 'lib/openshift/application_container_proxy.rb', line 193

def stop_component(app, gear, component)
end

#system_messages(app, gear, cart) ⇒ Object



151
152
# File 'lib/openshift/application_container_proxy.rb', line 151

def system_messages(app, gear, cart)
end

#threaddump(app, gear, cart) ⇒ Object



148
149
# File 'lib/openshift/application_container_proxy.rb', line 148

def threaddump(app, gear, cart)
end

#tidy(app, gear, cart) ⇒ Object



145
146
# File 'lib/openshift/application_container_proxy.rb', line 145

def tidy(app, gear, cart)
end

#unreserve_uid(uid) ⇒ Object



76
77
# File 'lib/openshift/application_container_proxy.rb', line 76

def unreserve_uid(uid)
end

#update_namespace(app, cart, new_ns, old_ns) ⇒ Object



169
170
# File 'lib/openshift/application_container_proxy.rb', line 169

def update_namespace(app, cart, new_ns, old_ns)
end