Class: Kuby::Docker::RemoteTags
- Inherits:
-
Object
- Object
- Kuby::Docker::RemoteTags
- Defined in:
- lib/kuby/docker/remote_tags.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#remote_client ⇒ Object
readonly
Returns the value of attribute remote_client.
Instance Method Summary collapse
-
#initialize(remote_client, metadata) ⇒ RemoteTags
constructor
A new instance of RemoteTags.
- #latest_tags ⇒ Object
- #tags ⇒ Object
- #timestamp_tags ⇒ Object
Constructor Details
#initialize(remote_client, metadata) ⇒ RemoteTags
Returns a new instance of RemoteTags.
6 7 8 9 |
# File 'lib/kuby/docker/remote_tags.rb', line 6 def initialize(remote_client, ) @remote_client = remote_client @metadata = end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
4 5 6 |
# File 'lib/kuby/docker/remote_tags.rb', line 4 def @metadata end |
#remote_client ⇒ Object (readonly)
Returns the value of attribute remote_client.
4 5 6 |
# File 'lib/kuby/docker/remote_tags.rb', line 4 def remote_client @remote_client end |
Instance Method Details
#latest_tags ⇒ Object
15 16 17 |
# File 'lib/kuby/docker/remote_tags.rb', line 15 def raise NotImplementedError, 'latest tags are not available for remote repos' end |
#tags ⇒ Object
11 12 13 |
# File 'lib/kuby/docker/remote_tags.rb', line 11 def remote_client. end |
#timestamp_tags ⇒ Object
19 20 21 |
# File 'lib/kuby/docker/remote_tags.rb', line 19 def .map { |t| TimestampTag.try_parse(t) }.compact end |