Class: UffizziCore::ContainerRegistry::GithubContainerRegistryService
- Inherits:
-
Object
- Object
- UffizziCore::ContainerRegistry::GithubContainerRegistryService
- Defined in:
- app/services/uffizzi_core/container_registry/github_container_registry_service.rb
Class Method Summary collapse
- .credential_correct?(credential) ⇒ Boolean
- .digest ⇒ Object
- .image_available?(credential, _image_data) ⇒ Boolean
Class Method Details
.credential_correct?(credential) ⇒ Boolean
9 10 11 |
# File 'app/services/uffizzi_core/container_registry/github_container_registry_service.rb', line 9 def credential_correct?(credential) client(credential).authenticated? end |
.digest ⇒ Object
13 |
# File 'app/services/uffizzi_core/container_registry/github_container_registry_service.rb', line 13 def digest(*); end |
.image_available?(credential, _image_data) ⇒ Boolean
5 6 7 |
# File 'app/services/uffizzi_core/container_registry/github_container_registry_service.rb', line 5 def image_available?(credential, _image_data) credential.present? end |