Bases: CommandParser

Class for command: /usr/bin/readlink -e /etc/origin/node/certificates/kubelet-client-current.pem

Sample content from command is:

/etc/origin/node/certificates/kubelet-client-2019-10-18-23-17-35.pem

Examples

>>> client.path
'/etc/origin/node/certificates/kubelet-client-2019-10-18-23-17-35.pem'
Raises:

SkipComponent -- When input content is empty

This method must be implemented by classes based on this class.

Returns real file path of /etc/origin/node/certificates/kubelet-client-current.pem

Bases: CommandParser

Class for command: /usr/bin/readlink -e /etc/origin/node/certificates/kubelet-server-current.pem

Sample content from command is:

/etc/origin/node/certificates/kubelet-server-2018-10-18-23-29-14.pem

Examples

>>> server.path
'/etc/origin/node/certificates/kubelet-server-2018-10-18-23-29-14.pem'
Raises:

SkipComponent -- When input content is empty

This method must be implemented by classes based on this class.

Returns real file path of /etc/origin/node/certificates/kubelet-server-current.pem