Class: UffizziCore::ContainerRegistry::AzureService

Inherits:
Object
  • Object
show all
Defined in:
app/services/uffizzi_core/container_registry/azure_service.rb

Class Method Summary collapse

Class Method Details

.credential_correct?(credential) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/services/uffizzi_core/container_registry/azure_service.rb', line 9

def credential_correct?(credential)
  client(credential).authenticated?
end

.digestObject



13
# File 'app/services/uffizzi_core/container_registry/azure_service.rb', line 13

def digest(*); end

.image_available?(credential, _image_data) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/services/uffizzi_core/container_registry/azure_service.rb', line 5

def image_available?(credential, _image_data)
  credential.present?
end