30 lines
460 B
Go
30 lines
460 B
Go
package testmocks
|
|
|
|
import (
|
|
"github.com/openshift/osin"
|
|
)
|
|
|
|
func (s *st) Clone() osin.Storage {
|
|
n := *s
|
|
return &n
|
|
}
|
|
|
|
func (s *st) GetClient(string) (osin.Client, error) {
|
|
return &osin.DefaultClient{}, nil
|
|
}
|
|
|
|
func (s *st) CreateClient(osin.Client) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *st) UpdateClient(osin.Client) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *st) RemoveClient(string) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *st) ListClients() (cl []osin.Client, er error) {
|
|
return
|
|
}
|