Documentation ¶
Index ¶
- type DeleteContentInput
- type DeleteInput
- type DeleteRenditionContentInput
- type GetContentInput
- type GetContentOutput
- type GetRenditionContentInput
- type GetRenditionContentOutput
- type PutContentInput
- type PutRenditionContentInput
- type Store
- func (s *Store) AssertOutputsEmpty()
- func (s *Store) Delete(ctx context.Context, userID string, imageID string) error
- func (s *Store) DeleteAll(ctx context.Context, userID string) error
- func (s *Store) DeleteContent(ctx context.Context, userID string, imageID string, contentID string) error
- func (s *Store) DeleteRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
- func (s *Store) GetContent(ctx context.Context, userID string, imageID string, contentID string, ...) (io.ReadCloser, error)
- func (s *Store) GetRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) (io.ReadCloser, error)
- func (s *Store) PutContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
- func (s *Store) PutRenditionContent(ctx context.Context, userID string, imageID string, contentID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteContentInput ¶
type DeleteInput ¶
type GetContentInput ¶
type GetContentOutput ¶
type GetContentOutput struct { Reader io.ReadCloser Error error }
type GetRenditionContentOutput ¶
type GetRenditionContentOutput struct { Reader io.ReadCloser Error error }
type PutContentInput ¶
type Store ¶
type Store struct { PutContentInvocations int PutContentInputs []PutContentInput PutContentStub func(ctx context.Context, userID string, imageID string, contentID string, contentIntent string, reader io.Reader, options *storeUnstructured.Options) error PutContentOutputs []error PutContentOutput *error GetContentInvocations int GetContentInputs []GetContentInput GetContentStub func(ctx context.Context, userID string, imageID string, contentID string, contentIntent string) (io.ReadCloser, error) GetContentOutputs []GetContentOutput GetContentOutput *GetContentOutput DeleteContentInvocations int DeleteContentInputs []DeleteContentInput DeleteContentStub func(ctx context.Context, userID string, imageID string, contentID string) error DeleteContentOutputs []error DeleteContentOutput *error PutRenditionContentInvocations int PutRenditionContentInputs []PutRenditionContentInput PutRenditionContentStub func(ctx context.Context, userID string, imageID string, contentID string, renditionsID string, rendition string, reader io.Reader, options *storeUnstructured.Options) error PutRenditionContentOutputs []error PutRenditionContentOutput *error GetRenditionContentInvocations int GetRenditionContentInputs []GetRenditionContentInput GetRenditionContentStub func(ctx context.Context, userID string, imageID string, contentID string, renditionsID string, rendition string) (io.ReadCloser, error) GetRenditionContentOutputs []GetRenditionContentOutput GetRenditionContentOutput *GetRenditionContentOutput DeleteRenditionContentInvocations int DeleteRenditionContentInputs []DeleteRenditionContentInput DeleteRenditionContentStub func(ctx context.Context, userID string, imageID string, contentID string, renditionsID string) error DeleteRenditionContentOutputs []error DeleteRenditionContentOutput *error DeleteInvocations int DeleteInputs []DeleteInput DeleteStub func(ctx context.Context, userID string, imageID string) error DeleteOutputs []error DeleteOutput *error DeleteAllInvocations int DeleteAllInputs []string DeleteAllStub func(ctx context.Context, userID string) error DeleteAllOutputs []error DeleteAllOutput *error }
func (*Store) AssertOutputsEmpty ¶
func (s *Store) AssertOutputsEmpty()
func (*Store) DeleteContent ¶
func (*Store) DeleteRenditionContent ¶
func (*Store) GetContent ¶
func (*Store) GetRenditionContent ¶
func (*Store) PutContent ¶
Click to show internal directories.
Click to hide internal directories.