Class: SDM::KubernetesServiceAccount
- Inherits:
-
Object
- Object
- SDM::KubernetesServiceAccount
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#port ⇒ Object
Returns the value of attribute port.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, hostname: nil, port: nil, token: nil) ⇒ KubernetesServiceAccount
constructor
A new instance of KubernetesServiceAccount.
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, hostname: nil, port: nil, token: nil) ⇒ KubernetesServiceAccount
Returns a new instance of KubernetesServiceAccount.
1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/models/porcelain.rb', line 1271 def initialize( id:nil \ , name:nil \ , healthy:nil \ , hostname:nil \ , port:nil \ , token:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if hostname != nil @hostname = hostname end if port != nil @port = port end if token != nil @token = token end end |
Instance Attribute Details
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
1264 1265 1266 |
# File 'lib/models/porcelain.rb', line 1264 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
1266 1267 1268 |
# File 'lib/models/porcelain.rb', line 1266 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
1260 1261 1262 |
# File 'lib/models/porcelain.rb', line 1260 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
1262 1263 1264 |
# File 'lib/models/porcelain.rb', line 1262 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
1268 1269 1270 |
# File 'lib/models/porcelain.rb', line 1268 def port @port end |
#token ⇒ Object
Returns the value of attribute token.
1270 1271 1272 |
# File 'lib/models/porcelain.rb', line 1270 def token @token end |