Documentation ¶
Index ¶
- type MockedStorage
- func (s *MockedStorage) RetrieveMetadata(pkg string, writer io.Writer) error
- func (s *MockedStorage) RetrieveTarball(pkg string, filename string, writer io.Writer) error
- func (s *MockedStorage) RetrieveUsernameFromToken(token string) (string, error)
- func (s *MockedStorage) StoreMetadata(pkg string, data io.Reader) error
- func (s *MockedStorage) StoreTarball(filename string, reader io.Reader) error
- func (s *MockedStorage) StoreUser(pkg string) error
- func (s *MockedStorage) StoreUserToken(token, username string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedStorage ¶
func (*MockedStorage) RetrieveMetadata ¶
func (s *MockedStorage) RetrieveMetadata(pkg string, writer io.Writer) error
func (*MockedStorage) RetrieveTarball ¶
func (*MockedStorage) RetrieveUsernameFromToken ¶
func (s *MockedStorage) RetrieveUsernameFromToken(token string) (string, error)
func (*MockedStorage) StoreMetadata ¶
func (s *MockedStorage) StoreMetadata(pkg string, data io.Reader) error
func (*MockedStorage) StoreTarball ¶
func (s *MockedStorage) StoreTarball(filename string, reader io.Reader) error
func (*MockedStorage) StoreUser ¶
func (s *MockedStorage) StoreUser(pkg string) error
func (*MockedStorage) StoreUserToken ¶
func (s *MockedStorage) StoreUserToken(token, username string) error
Click to show internal directories.
Click to hide internal directories.