Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSSession ¶
Types ¶
type AWSService ¶
type AWSService interface { OIDExists(oid string) (bool, error) GetOIDPreSignedURL(oid string) (string, string, error) UploadOID(oid string, body io.ReadCloser) error }
func NewAWSService ¶
type S3 ¶
type S3 interface { HeadObject(input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error) HeadObjectRequest(input *s3.HeadObjectInput) (req *request.Request, output *s3.HeadObjectOutput) GetObjectRequest(input *s3.GetObjectInput) (req *request.Request, output *s3.GetObjectOutput) }
Click to show internal directories.
Click to hide internal directories.