Documentation
¶
Index ¶
- type MockCredential
- type MockStore
- func (m *MockStore) Delete(_ context.Context, id store.ID) error
- func (m *MockStore) Get(_ context.Context, id store.ID) (store.Secret, error)
- func (m *MockStore) GetAll(_ context.Context) (map[store.ID]store.Secret, error)
- func (m *MockStore) Save(_ context.Context, id store.ID, secret store.Secret) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredential ¶
func (*MockCredential) Marshal ¶
func (m *MockCredential) Marshal() ([]byte, error)
Marshal implements secrets.Secret.
func (*MockCredential) Unmarshal ¶
func (m *MockCredential) Unmarshal(data []byte) error
Unmarshal implements secrets.Secret.
Click to show internal directories.
Click to hide internal directories.