NodeSpec
Table of Contents
- $availability : string|null
- Availability of the node.
- $labels : array<string|int, string>|null
- User-defined key/value metadata.
- $name : string|null
- Name for the node.
- $role : string|null
- Role of the node.
- getAvailability() : string|null
- Availability of the node.
- getLabels() : array<string|int, string>|null
- User-defined key/value metadata.
- getName() : string|null
- Name for the node.
- getRole() : string|null
- Role of the node.
- setAvailability() : self
- Availability of the node.
- setLabels() : self
- User-defined key/value metadata.
- setName() : self
- Name for the node.
- setRole() : self
- Role of the node.
Properties
$availability
Availability of the node.
protected
string|null
$availability
$labels
User-defined key/value metadata.
protected
array<string|int, string>|null
$labels
$name
Name for the node.
protected
string|null
$name
$role
Role of the node.
protected
string|null
$role
Methods
getAvailability()
Availability of the node.
public
getAvailability() : string|null
Return values
string|null —getLabels()
User-defined key/value metadata.
public
getLabels() : array<string|int, string>|null
Return values
array<string|int, string>|null —getName()
Name for the node.
public
getName() : string|null
Return values
string|null —getRole()
Role of the node.
public
getRole() : string|null
Return values
string|null —setAvailability()
Availability of the node.
public
setAvailability(string|null $availability) : self
Parameters
- $availability : string|null
Return values
self —setLabels()
User-defined key/value metadata.
public
setLabels(array<string|int, string>|null $labels) : self
Parameters
- $labels : array<string|int, string>|null
Return values
self —setName()
Name for the node.
public
setName(string|null $name) : self
Parameters
- $name : string|null
Return values
self —setRole()
Role of the node.
public
setRole(string|null $role) : self
Parameters
- $role : string|null