mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Bumps [github.com/zalando/go-keyring](https://github.com/zalando/go-keyring) from 0.2.1 to 0.2.3. - [Release notes](https://github.com/zalando/go-keyring/releases) - [Commits](https://github.com/zalando/go-keyring/compare/v0.2.1...v0.2.3) --- updated-dependencies: - dependency-name: github.com/zalando/go-keyring dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
24 lines
557 B
Go
Generated
24 lines
557 B
Go
Generated
package keyring
|
|
|
|
import (
|
|
"errors"
|
|
"runtime"
|
|
)
|
|
|
|
// All of the following methods error out on unsupported platforms
|
|
var ErrUnsupportedPlatform = errors.New("unsupported platform: " + runtime.GOOS)
|
|
|
|
type fallbackServiceProvider struct{}
|
|
|
|
func (fallbackServiceProvider) Set(service, user, pass string) error {
|
|
return ErrUnsupportedPlatform
|
|
}
|
|
|
|
func (fallbackServiceProvider) Get(service, user string) (string, error) {
|
|
return "", ErrUnsupportedPlatform
|
|
}
|
|
|
|
func (fallbackServiceProvider) Delete(service, user string) error {
|
|
return ErrUnsupportedPlatform
|
|
}
|