Class: Kuby::Docker::RemoteTags
- Inherits:
-
Object
- Object
- Kuby::Docker::RemoteTags
- Extended by:
- T::Sig
- 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.
21 22 23 24 |
# File 'lib/kuby/docker/remote_tags.rb', line 21 def initialize(remote_client, ) @remote_client = remote_client @metadata = end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
12 13 14 |
# File 'lib/kuby/docker/remote_tags.rb', line 12 def @metadata end |
#remote_client ⇒ Object (readonly)
Returns the value of attribute remote_client.
9 10 11 |
# File 'lib/kuby/docker/remote_tags.rb', line 9 def remote_client @remote_client end |
Instance Method Details
#latest_tags ⇒ Object
32 33 34 35 |
# File 'lib/kuby/docker/remote_tags.rb', line 32 def # not available for remote repos [] end |
#tags ⇒ Object
27 28 29 |
# File 'lib/kuby/docker/remote_tags.rb', line 27 def remote_client. end |
#timestamp_tags ⇒ Object
38 39 40 |
# File 'lib/kuby/docker/remote_tags.rb', line 38 def .map { |t| TimestampTag.try_parse(t) }.compact end |