Node
Table of Contents
- $createdAt : string|null
- Date and time at which the node was added to the swarm in.
- $description : NodeDescription|null
- NodeDescription encapsulates the properties of the Node as reported by the.
- $iD : string|null
- $managerStatus : ManagerStatus|null
- ManagerStatus represents the status of a manager.
- $spec : NodeSpec|null
- $status : NodeStatus|null
- NodeStatus represents the status of a node.
- $updatedAt : string|null
- Date and time at which the node was last updated in.
- $version : ObjectVersion|null
- The version number of the object such as node, service, etc. This is needed.
- getCreatedAt() : string|null
- Date and time at which the node was added to the swarm in.
- getDescription() : NodeDescription|null
- NodeDescription encapsulates the properties of the Node as reported by the.
- getID() : string|null
- getManagerStatus() : ManagerStatus|null
- ManagerStatus represents the status of a manager.
- getSpec() : NodeSpec|null
- getStatus() : NodeStatus|null
- NodeStatus represents the status of a node.
- getUpdatedAt() : string|null
- Date and time at which the node was last updated in.
- getVersion() : ObjectVersion|null
- The version number of the object such as node, service, etc. This is needed.
- setCreatedAt() : self
- Date and time at which the node was added to the swarm in.
- setDescription() : self
- NodeDescription encapsulates the properties of the Node as reported by the.
- setID() : self
- setManagerStatus() : self
- ManagerStatus represents the status of a manager.
- setSpec() : self
- setStatus() : self
- NodeStatus represents the status of a node.
- setUpdatedAt() : self
- Date and time at which the node was last updated in.
- setVersion() : self
- The version number of the object such as node, service, etc. This is needed.
Properties
$createdAt
Date and time at which the node was added to the swarm in.
protected
string|null
$createdAt
$description
NodeDescription encapsulates the properties of the Node as reported by the.
protected
NodeDescription|null
$description
$iD
protected
string|null
$iD
$managerStatus
ManagerStatus represents the status of a manager.
protected
ManagerStatus|null
$managerStatus
$spec
protected
NodeSpec|null
$spec
$status
NodeStatus represents the status of a node.
protected
NodeStatus|null
$status
$updatedAt
Date and time at which the node was last updated in.
protected
string|null
$updatedAt
$version
The version number of the object such as node, service, etc. This is needed.
protected
ObjectVersion|null
$version
Methods
getCreatedAt()
Date and time at which the node was added to the swarm in.
public
getCreatedAt() : string|null
RFC 3339 format with nano-seconds.
Return values
string|null —getDescription()
NodeDescription encapsulates the properties of the Node as reported by the.
public
getDescription() : NodeDescription|null
agent.
Return values
NodeDescription|null —getID()
public
getID() : string|null
Return values
string|null —getManagerStatus()
ManagerStatus represents the status of a manager.
public
getManagerStatus() : ManagerStatus|null
is a manager.
Return values
ManagerStatus|null —getSpec()
public
getSpec() : NodeSpec|null
Return values
NodeSpec|null —getStatus()
NodeStatus represents the status of a node.
public
getStatus() : NodeStatus|null
It provides the current status of the node, as seen by the manager.
Return values
NodeStatus|null —getUpdatedAt()
Date and time at which the node was last updated in.
public
getUpdatedAt() : string|null
RFC 3339 format with nano-seconds.
Return values
string|null —getVersion()
The version number of the object such as node, service, etc. This is needed.
public
getVersion() : ObjectVersion|null
overwrite each other.
Return values
ObjectVersion|null —setCreatedAt()
Date and time at which the node was added to the swarm in.
public
setCreatedAt(string|null $createdAt) : self
RFC 3339 format with nano-seconds.
Parameters
- $createdAt : string|null
Return values
self —setDescription()
NodeDescription encapsulates the properties of the Node as reported by the.
public
setDescription(NodeDescription|null $description) : self
agent.
Parameters
- $description : NodeDescription|null
Return values
self —setID()
public
setID(string|null $iD) : self
Parameters
- $iD : string|null
Return values
self —setManagerStatus()
ManagerStatus represents the status of a manager.
public
setManagerStatus(ManagerStatus|null $managerStatus) : self
is a manager.
Parameters
- $managerStatus : ManagerStatus|null
Return values
self —setSpec()
public
setSpec(NodeSpec|null $spec) : self
Parameters
- $spec : NodeSpec|null
Return values
self —setStatus()
NodeStatus represents the status of a node.
public
setStatus(NodeStatus|null $status) : self
It provides the current status of the node, as seen by the manager.
Parameters
- $status : NodeStatus|null
Return values
self —setUpdatedAt()
Date and time at which the node was last updated in.
public
setUpdatedAt(string|null $updatedAt) : self
RFC 3339 format with nano-seconds.
Parameters
- $updatedAt : string|null
Return values
self —setVersion()
The version number of the object such as node, service, etc. This is needed.
public
setVersion(ObjectVersion|null $version) : self
overwrite each other.
Parameters
- $version : ObjectVersion|null