Versions in this module Expand all Collapse all v0 v0.5.3 Feb 3, 2019 Changes in this version + func RegisterPyreServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPyreServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PyreServiceClient) error + func RegisterPyreServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPyreServiceServer(s *grpc.Server, srv PyreServiceServer) + type AuthorizeAccountRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthorizeAccountRequest) Descriptor() ([]byte, []int) + func (*AuthorizeAccountRequest) ProtoMessage() + func (dst *AuthorizeAccountRequest) XXX_Merge(src proto.Message) + func (m *AuthorizeAccountRequest) Reset() + func (m *AuthorizeAccountRequest) String() string + func (m *AuthorizeAccountRequest) XXX_DiscardUnknown() + func (m *AuthorizeAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthorizeAccountRequest) XXX_Size() int + func (m *AuthorizeAccountRequest) XXX_Unmarshal(b []byte) error + type AuthorizeAccountResponse struct + AbsoluteMinimumPartSize int32 + AccountId string + ApiUrl string + AuthorizationToken string + DownloadUrl string + MinimumPartSize int32 + RecommendedPartSize int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthorizeAccountResponse) Descriptor() ([]byte, []int) + func (*AuthorizeAccountResponse) ProtoMessage() + func (dst *AuthorizeAccountResponse) XXX_Merge(src proto.Message) + func (m *AuthorizeAccountResponse) GetAbsoluteMinimumPartSize() int32 + func (m *AuthorizeAccountResponse) GetAccountId() string + func (m *AuthorizeAccountResponse) GetApiUrl() string + func (m *AuthorizeAccountResponse) GetAuthorizationToken() string + func (m *AuthorizeAccountResponse) GetDownloadUrl() string + func (m *AuthorizeAccountResponse) GetMinimumPartSize() int32 + func (m *AuthorizeAccountResponse) GetRecommendedPartSize() int32 + func (m *AuthorizeAccountResponse) Reset() + func (m *AuthorizeAccountResponse) String() string + func (m *AuthorizeAccountResponse) XXX_DiscardUnknown() + func (m *AuthorizeAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthorizeAccountResponse) XXX_Size() int + func (m *AuthorizeAccountResponse) XXX_Unmarshal(b []byte) error + type Bucket struct + AccountId string + BucketId string + BucketInfo map[string]string + BucketName string + BucketType string + CoresRules []*CorsRule + LifecycleRules []*LifecycleRule + Revision int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Bucket) Descriptor() ([]byte, []int) + func (*Bucket) ProtoMessage() + func (dst *Bucket) XXX_Merge(src proto.Message) + func (m *Bucket) GetAccountId() string + func (m *Bucket) GetBucketId() string + func (m *Bucket) GetBucketInfo() map[string]string + func (m *Bucket) GetBucketName() string + func (m *Bucket) GetBucketType() string + func (m *Bucket) GetCoresRules() []*CorsRule + func (m *Bucket) GetLifecycleRules() []*LifecycleRule + func (m *Bucket) GetRevision() int32 + func (m *Bucket) Reset() + func (m *Bucket) String() string + func (m *Bucket) XXX_DiscardUnknown() + func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Bucket) XXX_Size() int + func (m *Bucket) XXX_Unmarshal(b []byte) error + type CorsRule struct + AllowedHeaders []string + AllowedOperations []string + AllowedOrigins []string + CorsRuleName string + ExposeHeaders []string + MaxAgeSeconds int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CorsRule) Descriptor() ([]byte, []int) + func (*CorsRule) ProtoMessage() + func (dst *CorsRule) XXX_Merge(src proto.Message) + func (m *CorsRule) GetAllowedHeaders() []string + func (m *CorsRule) GetAllowedOperations() []string + func (m *CorsRule) GetAllowedOrigins() []string + func (m *CorsRule) GetCorsRuleName() string + func (m *CorsRule) GetExposeHeaders() []string + func (m *CorsRule) GetMaxAgeSeconds() int32 + func (m *CorsRule) Reset() + func (m *CorsRule) String() string + func (m *CorsRule) XXX_DiscardUnknown() + func (m *CorsRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CorsRule) XXX_Size() int + func (m *CorsRule) XXX_Unmarshal(b []byte) error + type File struct + Action string + ContentLength int64 + ContentSha1 string + ContentType string + FileId string + FileInfo map[string]string + FileName string + Size int64 + UploadTimestamp int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*File) Descriptor() ([]byte, []int) + func (*File) ProtoMessage() + func (dst *File) XXX_Merge(src proto.Message) + func (m *File) GetAction() string + func (m *File) GetContentLength() int64 + func (m *File) GetContentSha1() string + func (m *File) GetContentType() string + func (m *File) GetFileId() string + func (m *File) GetFileInfo() map[string]string + func (m *File) GetFileName() string + func (m *File) GetSize() int64 + func (m *File) GetUploadTimestamp() int64 + func (m *File) Reset() + func (m *File) String() string + func (m *File) XXX_DiscardUnknown() + func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *File) XXX_Size() int + func (m *File) XXX_Unmarshal(b []byte) error + type FinishLargeFileRequest struct + FileId string + PartSha1Array []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FinishLargeFileRequest) Descriptor() ([]byte, []int) + func (*FinishLargeFileRequest) ProtoMessage() + func (dst *FinishLargeFileRequest) XXX_Merge(src proto.Message) + func (m *FinishLargeFileRequest) GetFileId() string + func (m *FinishLargeFileRequest) GetPartSha1Array() []string + func (m *FinishLargeFileRequest) Reset() + func (m *FinishLargeFileRequest) String() string + func (m *FinishLargeFileRequest) XXX_DiscardUnknown() + func (m *FinishLargeFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FinishLargeFileRequest) XXX_Size() int + func (m *FinishLargeFileRequest) XXX_Unmarshal(b []byte) error + type FinishLargeFileResponse struct + AccountId string + Action string + BucketId string + ContentLength int64 + ContentSha1 string + ContentType string + FileId string + FileInfo map[string]string + FileName string + UploadTimestamp int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*FinishLargeFileResponse) Descriptor() ([]byte, []int) + func (*FinishLargeFileResponse) ProtoMessage() + func (dst *FinishLargeFileResponse) XXX_Merge(src proto.Message) + func (m *FinishLargeFileResponse) GetAccountId() string + func (m *FinishLargeFileResponse) GetAction() string + func (m *FinishLargeFileResponse) GetBucketId() string + func (m *FinishLargeFileResponse) GetContentLength() int64 + func (m *FinishLargeFileResponse) GetContentSha1() string + func (m *FinishLargeFileResponse) GetContentType() string + func (m *FinishLargeFileResponse) GetFileId() string + func (m *FinishLargeFileResponse) GetFileInfo() map[string]string + func (m *FinishLargeFileResponse) GetFileName() string + func (m *FinishLargeFileResponse) GetUploadTimestamp() int64 + func (m *FinishLargeFileResponse) Reset() + func (m *FinishLargeFileResponse) String() string + func (m *FinishLargeFileResponse) XXX_DiscardUnknown() + func (m *FinishLargeFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FinishLargeFileResponse) XXX_Size() int + func (m *FinishLargeFileResponse) XXX_Unmarshal(b []byte) error + type GetUploadPartUrlRequest struct + FileId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUploadPartUrlRequest) Descriptor() ([]byte, []int) + func (*GetUploadPartUrlRequest) ProtoMessage() + func (dst *GetUploadPartUrlRequest) XXX_Merge(src proto.Message) + func (m *GetUploadPartUrlRequest) GetFileId() string + func (m *GetUploadPartUrlRequest) Reset() + func (m *GetUploadPartUrlRequest) String() string + func (m *GetUploadPartUrlRequest) XXX_DiscardUnknown() + func (m *GetUploadPartUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUploadPartUrlRequest) XXX_Size() int + func (m *GetUploadPartUrlRequest) XXX_Unmarshal(b []byte) error + type GetUploadPartUrlResponse struct + AuthorizationToken string + FileId string + UploadUrl string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUploadPartUrlResponse) Descriptor() ([]byte, []int) + func (*GetUploadPartUrlResponse) ProtoMessage() + func (dst *GetUploadPartUrlResponse) XXX_Merge(src proto.Message) + func (m *GetUploadPartUrlResponse) GetAuthorizationToken() string + func (m *GetUploadPartUrlResponse) GetFileId() string + func (m *GetUploadPartUrlResponse) GetUploadUrl() string + func (m *GetUploadPartUrlResponse) Reset() + func (m *GetUploadPartUrlResponse) String() string + func (m *GetUploadPartUrlResponse) XXX_DiscardUnknown() + func (m *GetUploadPartUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUploadPartUrlResponse) XXX_Size() int + func (m *GetUploadPartUrlResponse) XXX_Unmarshal(b []byte) error + type GetUploadUrlRequest struct + BucketId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUploadUrlRequest) Descriptor() ([]byte, []int) + func (*GetUploadUrlRequest) ProtoMessage() + func (dst *GetUploadUrlRequest) XXX_Merge(src proto.Message) + func (m *GetUploadUrlRequest) GetBucketId() string + func (m *GetUploadUrlRequest) Reset() + func (m *GetUploadUrlRequest) String() string + func (m *GetUploadUrlRequest) XXX_DiscardUnknown() + func (m *GetUploadUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUploadUrlRequest) XXX_Size() int + func (m *GetUploadUrlRequest) XXX_Unmarshal(b []byte) error + type GetUploadUrlResponse struct + AuthorizationToken string + BucketId string + UploadUrl string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUploadUrlResponse) Descriptor() ([]byte, []int) + func (*GetUploadUrlResponse) ProtoMessage() + func (dst *GetUploadUrlResponse) XXX_Merge(src proto.Message) + func (m *GetUploadUrlResponse) GetAuthorizationToken() string + func (m *GetUploadUrlResponse) GetBucketId() string + func (m *GetUploadUrlResponse) GetUploadUrl() string + func (m *GetUploadUrlResponse) Reset() + func (m *GetUploadUrlResponse) String() string + func (m *GetUploadUrlResponse) XXX_DiscardUnknown() + func (m *GetUploadUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUploadUrlResponse) XXX_Size() int + func (m *GetUploadUrlResponse) XXX_Unmarshal(b []byte) error + type LifecycleRule struct + DaysFromHidingToDeleting int32 + DaysFromUploadingToHiding int32 + FileNamePrefix string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LifecycleRule) Descriptor() ([]byte, []int) + func (*LifecycleRule) ProtoMessage() + func (dst *LifecycleRule) XXX_Merge(src proto.Message) + func (m *LifecycleRule) GetDaysFromHidingToDeleting() int32 + func (m *LifecycleRule) GetDaysFromUploadingToHiding() int32 + func (m *LifecycleRule) GetFileNamePrefix() string + func (m *LifecycleRule) Reset() + func (m *LifecycleRule) String() string + func (m *LifecycleRule) XXX_DiscardUnknown() + func (m *LifecycleRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LifecycleRule) XXX_Size() int + func (m *LifecycleRule) XXX_Unmarshal(b []byte) error + type ListBucketsRequest struct + AccountId string + BucketId string + BucketName string + BucketTypes []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListBucketsRequest) Descriptor() ([]byte, []int) + func (*ListBucketsRequest) ProtoMessage() + func (dst *ListBucketsRequest) XXX_Merge(src proto.Message) + func (m *ListBucketsRequest) GetAccountId() string + func (m *ListBucketsRequest) GetBucketId() string + func (m *ListBucketsRequest) GetBucketName() string + func (m *ListBucketsRequest) GetBucketTypes() []string + func (m *ListBucketsRequest) Reset() + func (m *ListBucketsRequest) String() string + func (m *ListBucketsRequest) XXX_DiscardUnknown() + func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListBucketsRequest) XXX_Size() int + func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error + type ListBucketsResponse struct + Buckets []*Bucket + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListBucketsResponse) Descriptor() ([]byte, []int) + func (*ListBucketsResponse) ProtoMessage() + func (dst *ListBucketsResponse) XXX_Merge(src proto.Message) + func (m *ListBucketsResponse) GetBuckets() []*Bucket + func (m *ListBucketsResponse) Reset() + func (m *ListBucketsResponse) String() string + func (m *ListBucketsResponse) XXX_DiscardUnknown() + func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListBucketsResponse) XXX_Size() int + func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error + type ListFileVersionsRequest struct + BucketId string + Delimiter string + MaxFileCount int32 + Prefix string + StartFileId string + StartFileName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListFileVersionsRequest) Descriptor() ([]byte, []int) + func (*ListFileVersionsRequest) ProtoMessage() + func (dst *ListFileVersionsRequest) XXX_Merge(src proto.Message) + func (m *ListFileVersionsRequest) GetBucketId() string + func (m *ListFileVersionsRequest) GetDelimiter() string + func (m *ListFileVersionsRequest) GetMaxFileCount() int32 + func (m *ListFileVersionsRequest) GetPrefix() string + func (m *ListFileVersionsRequest) GetStartFileId() string + func (m *ListFileVersionsRequest) GetStartFileName() string + func (m *ListFileVersionsRequest) Reset() + func (m *ListFileVersionsRequest) String() string + func (m *ListFileVersionsRequest) XXX_DiscardUnknown() + func (m *ListFileVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListFileVersionsRequest) XXX_Size() int + func (m *ListFileVersionsRequest) XXX_Unmarshal(b []byte) error + type ListFileVersionsResponse struct + Files []*File + NextFileId string + NextFileName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListFileVersionsResponse) Descriptor() ([]byte, []int) + func (*ListFileVersionsResponse) ProtoMessage() + func (dst *ListFileVersionsResponse) XXX_Merge(src proto.Message) + func (m *ListFileVersionsResponse) GetFiles() []*File + func (m *ListFileVersionsResponse) GetNextFileId() string + func (m *ListFileVersionsResponse) GetNextFileName() string + func (m *ListFileVersionsResponse) Reset() + func (m *ListFileVersionsResponse) String() string + func (m *ListFileVersionsResponse) XXX_DiscardUnknown() + func (m *ListFileVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListFileVersionsResponse) XXX_Size() int + func (m *ListFileVersionsResponse) XXX_Unmarshal(b []byte) error + type PyreServiceClient interface + AuthorizeAccount func(ctx context.Context, in *AuthorizeAccountRequest, opts ...grpc.CallOption) (*AuthorizeAccountResponse, error) + CreateBucket func(ctx context.Context, in *Bucket, opts ...grpc.CallOption) (*Bucket, error) + DeleteBucket func(ctx context.Context, in *Bucket, opts ...grpc.CallOption) (*Bucket, error) + FinishLargeFile func(ctx context.Context, in *FinishLargeFileRequest, opts ...grpc.CallOption) (*FinishLargeFileResponse, error) + GetUploadPartUrl func(ctx context.Context, in *GetUploadPartUrlRequest, opts ...grpc.CallOption) (*GetUploadPartUrlResponse, error) + GetUploadUrl func(ctx context.Context, in *GetUploadUrlRequest, opts ...grpc.CallOption) (*GetUploadUrlResponse, error) + ListBuckets func(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) + ListFileVersions func(ctx context.Context, in *ListFileVersionsRequest, opts ...grpc.CallOption) (*ListFileVersionsResponse, error) + StartLargeFile func(ctx context.Context, in *StartLargeFileRequest, opts ...grpc.CallOption) (*StartLargeFileResponse, error) + func NewPyreServiceClient(cc *grpc.ClientConn) PyreServiceClient + type PyreServiceServer interface + AuthorizeAccount func(context.Context, *AuthorizeAccountRequest) (*AuthorizeAccountResponse, error) + CreateBucket func(context.Context, *Bucket) (*Bucket, error) + DeleteBucket func(context.Context, *Bucket) (*Bucket, error) + FinishLargeFile func(context.Context, *FinishLargeFileRequest) (*FinishLargeFileResponse, error) + GetUploadPartUrl func(context.Context, *GetUploadPartUrlRequest) (*GetUploadPartUrlResponse, error) + GetUploadUrl func(context.Context, *GetUploadUrlRequest) (*GetUploadUrlResponse, error) + ListBuckets func(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) + ListFileVersions func(context.Context, *ListFileVersionsRequest) (*ListFileVersionsResponse, error) + StartLargeFile func(context.Context, *StartLargeFileRequest) (*StartLargeFileResponse, error) + type StartLargeFileRequest struct + BucketId string + ContentType string + FileInfo map[string]string + FileName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StartLargeFileRequest) Descriptor() ([]byte, []int) + func (*StartLargeFileRequest) ProtoMessage() + func (dst *StartLargeFileRequest) XXX_Merge(src proto.Message) + func (m *StartLargeFileRequest) GetBucketId() string + func (m *StartLargeFileRequest) GetContentType() string + func (m *StartLargeFileRequest) GetFileInfo() map[string]string + func (m *StartLargeFileRequest) GetFileName() string + func (m *StartLargeFileRequest) Reset() + func (m *StartLargeFileRequest) String() string + func (m *StartLargeFileRequest) XXX_DiscardUnknown() + func (m *StartLargeFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StartLargeFileRequest) XXX_Size() int + func (m *StartLargeFileRequest) XXX_Unmarshal(b []byte) error + type StartLargeFileResponse struct + AccountId string + BucketId string + ContentType string + FileId string + FileInfo map[string]string + FileName string + UploadTimestamp int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StartLargeFileResponse) Descriptor() ([]byte, []int) + func (*StartLargeFileResponse) ProtoMessage() + func (dst *StartLargeFileResponse) XXX_Merge(src proto.Message) + func (m *StartLargeFileResponse) GetAccountId() string + func (m *StartLargeFileResponse) GetBucketId() string + func (m *StartLargeFileResponse) GetContentType() string + func (m *StartLargeFileResponse) GetFileId() string + func (m *StartLargeFileResponse) GetFileInfo() map[string]string + func (m *StartLargeFileResponse) GetFileName() string + func (m *StartLargeFileResponse) GetUploadTimestamp() int64 + func (m *StartLargeFileResponse) Reset() + func (m *StartLargeFileResponse) String() string + func (m *StartLargeFileResponse) XXX_DiscardUnknown() + func (m *StartLargeFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StartLargeFileResponse) XXX_Size() int + func (m *StartLargeFileResponse) XXX_Unmarshal(b []byte) error + type UploadFileResponse struct + AccountId string + Action string + BucketId string + ContentLength int32 + ContentSha1 string + ContentType string + FileId string + FileInfo map[string]string + FileName string + UploadTimestamp int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UploadFileResponse) Descriptor() ([]byte, []int) + func (*UploadFileResponse) ProtoMessage() + func (dst *UploadFileResponse) XXX_Merge(src proto.Message) + func (m *UploadFileResponse) GetAccountId() string + func (m *UploadFileResponse) GetAction() string + func (m *UploadFileResponse) GetBucketId() string + func (m *UploadFileResponse) GetContentLength() int32 + func (m *UploadFileResponse) GetContentSha1() string + func (m *UploadFileResponse) GetContentType() string + func (m *UploadFileResponse) GetFileId() string + func (m *UploadFileResponse) GetFileInfo() map[string]string + func (m *UploadFileResponse) GetFileName() string + func (m *UploadFileResponse) GetUploadTimestamp() int64 + func (m *UploadFileResponse) Reset() + func (m *UploadFileResponse) String() string + func (m *UploadFileResponse) XXX_DiscardUnknown() + func (m *UploadFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UploadFileResponse) XXX_Size() int + func (m *UploadFileResponse) XXX_Unmarshal(b []byte) error