MCPcopy
hub / github.com/minio/minio-go / Retrieve

Method Retrieve

pkg/credentials/credentials.go:71–71  ·  view source on GitHub ↗

Retrieve returns nil if it successfully retrieved the value. Error is returned if the value were not obtainable, or empty. Deprecated: Retrieve() exists for historical compatibility and should not be used. To get new credentials use the RetrieveWithCredContext function to ensure the proper context

()

Source from the content-addressed store, hash-verified

69 // be used. To get new credentials use the RetrieveWithCredContext function
70 // to ensure the proper context (i.e. HTTP client) will be used.
71 Retrieve() (Value, error)
72
73 // IsExpired returns if the credentials are no longer valid, and need
74 // to be retrieved.

Callers 1

RetrieveMethod · 0.65

Implementers 7

testCredProviderpkg/credentials/chain_test.go
Chainpkg/credentials/chain.go
EnvMiniopkg/credentials/env_minio.go
FileMinioClientpkg/credentials/file_minio_client.go
credProviderpkg/credentials/credentials_test.go
EnvAWSpkg/credentials/env_aws.go
Staticpkg/credentials/static.go

Calls

no outgoing calls

Tested by

no test coverage detected