Files
oikos/vendor/github.com/zalando/go-keyring/keyring_fallback.go
dtoro febc153b7f
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled
fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
2026-08-11 22:03:12 +02:00

28 lines
656 B
Go

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
}
func (fallbackServiceProvider) DeleteAll(service string) error {
return ErrUnsupportedPlatform
}