Documentation ¶
Overview ¶
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterStoreApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterStoreApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StoreApiServiceClient) error
- func RegisterStoreApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterStoreApiServiceServer(s *grpc.Server, srv StoreApiServiceServer)
- type ConfigInfo
- func (*ConfigInfo) Descriptor() ([]byte, []int)
- func (m *ConfigInfo) GetAccesskey() string
- func (m *ConfigInfo) GetEndpoint() string
- func (m *ConfigInfo) GetRegion() string
- func (m *ConfigInfo) GetSecretkey() string
- func (*ConfigInfo) ProtoMessage()
- func (m *ConfigInfo) Reset()
- func (m *ConfigInfo) String() string
- func (m *ConfigInfo) XXX_DiscardUnknown()
- func (m *ConfigInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigInfo) XXX_Merge(src proto.Message)
- func (m *ConfigInfo) XXX_Size() int
- func (m *ConfigInfo) XXX_Unmarshal(b []byte) error
- type CreateBucketRequest
- func (*CreateBucketRequest) Descriptor() ([]byte, []int)
- func (m *CreateBucketRequest) GetBucketname() string
- func (m *CreateBucketRequest) GetPublicread() string
- func (*CreateBucketRequest) ProtoMessage()
- func (m *CreateBucketRequest) Reset()
- func (m *CreateBucketRequest) String() string
- func (m *CreateBucketRequest) XXX_DiscardUnknown()
- func (m *CreateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateBucketRequest) XXX_Merge(src proto.Message)
- func (m *CreateBucketRequest) XXX_Size() int
- func (m *CreateBucketRequest) XXX_Unmarshal(b []byte) error
- type CreateBucketResponse
- func (*CreateBucketResponse) Descriptor() ([]byte, []int)
- func (m *CreateBucketResponse) GetCode() int32
- func (m *CreateBucketResponse) GetData() string
- func (m *CreateBucketResponse) GetMsg() string
- func (*CreateBucketResponse) ProtoMessage()
- func (m *CreateBucketResponse) Reset()
- func (m *CreateBucketResponse) String() string
- func (m *CreateBucketResponse) XXX_DiscardUnknown()
- func (m *CreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateBucketResponse) XXX_Merge(src proto.Message)
- func (m *CreateBucketResponse) XXX_Size() int
- func (m *CreateBucketResponse) XXX_Unmarshal(b []byte) error
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
- func (m *DeleteBucketRequest) GetBucketname() string
- func (m *DeleteBucketRequest) GetStore() string
- func (*DeleteBucketRequest) ProtoMessage()
- func (m *DeleteBucketRequest) Reset()
- func (m *DeleteBucketRequest) String() string
- func (m *DeleteBucketRequest) XXX_DiscardUnknown()
- func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteBucketRequest) XXX_Merge(src proto.Message)
- func (m *DeleteBucketRequest) XXX_Size() int
- func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error
- type DeleteBucketResponse
- func (*DeleteBucketResponse) Descriptor() ([]byte, []int)
- func (m *DeleteBucketResponse) GetCode() int32
- func (m *DeleteBucketResponse) GetData() string
- func (m *DeleteBucketResponse) GetMsg() string
- func (*DeleteBucketResponse) ProtoMessage()
- func (m *DeleteBucketResponse) Reset()
- func (m *DeleteBucketResponse) String() string
- func (m *DeleteBucketResponse) XXX_DiscardUnknown()
- func (m *DeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteBucketResponse) XXX_Merge(src proto.Message)
- func (m *DeleteBucketResponse) XXX_Size() int
- func (m *DeleteBucketResponse) XXX_Unmarshal(b []byte) error
- type GetConfigStoreInfoRequest
- func (*GetConfigStoreInfoRequest) Descriptor() ([]byte, []int)
- func (*GetConfigStoreInfoRequest) ProtoMessage()
- func (m *GetConfigStoreInfoRequest) Reset()
- func (m *GetConfigStoreInfoRequest) String() string
- func (m *GetConfigStoreInfoRequest) XXX_DiscardUnknown()
- func (m *GetConfigStoreInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigStoreInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetConfigStoreInfoRequest) XXX_Size() int
- func (m *GetConfigStoreInfoRequest) XXX_Unmarshal(b []byte) error
- type GetConfigStoreInfoResponse
- func (*GetConfigStoreInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetConfigStoreInfoResponse) GetCode() int32
- func (m *GetConfigStoreInfoResponse) GetData() *ConfigInfo
- func (m *GetConfigStoreInfoResponse) GetMsg() string
- func (*GetConfigStoreInfoResponse) ProtoMessage()
- func (m *GetConfigStoreInfoResponse) Reset()
- func (m *GetConfigStoreInfoResponse) String() string
- func (m *GetConfigStoreInfoResponse) XXX_DiscardUnknown()
- func (m *GetConfigStoreInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigStoreInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetConfigStoreInfoResponse) XXX_Size() int
- func (m *GetConfigStoreInfoResponse) XXX_Unmarshal(b []byte) error
- type GetObjectPresignedUrlRequest
- func (*GetObjectPresignedUrlRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectPresignedUrlRequest) GetBucketname() string
- func (m *GetObjectPresignedUrlRequest) GetExpiretime() int64
- func (m *GetObjectPresignedUrlRequest) GetKey() string
- func (*GetObjectPresignedUrlRequest) ProtoMessage()
- func (m *GetObjectPresignedUrlRequest) Reset()
- func (m *GetObjectPresignedUrlRequest) String() string
- func (m *GetObjectPresignedUrlRequest) XXX_DiscardUnknown()
- func (m *GetObjectPresignedUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectPresignedUrlRequest) XXX_Merge(src proto.Message)
- func (m *GetObjectPresignedUrlRequest) XXX_Size() int
- func (m *GetObjectPresignedUrlRequest) XXX_Unmarshal(b []byte) error
- type GetObjectPresignedUrlResponse
- func (*GetObjectPresignedUrlResponse) Descriptor() ([]byte, []int)
- func (m *GetObjectPresignedUrlResponse) GetCode() int32
- func (m *GetObjectPresignedUrlResponse) GetData() string
- func (m *GetObjectPresignedUrlResponse) GetMsg() string
- func (*GetObjectPresignedUrlResponse) ProtoMessage()
- func (m *GetObjectPresignedUrlResponse) Reset()
- func (m *GetObjectPresignedUrlResponse) String() string
- func (m *GetObjectPresignedUrlResponse) XXX_DiscardUnknown()
- func (m *GetObjectPresignedUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectPresignedUrlResponse) XXX_Merge(src proto.Message)
- func (m *GetObjectPresignedUrlResponse) XXX_Size() int
- func (m *GetObjectPresignedUrlResponse) XXX_Unmarshal(b []byte) error
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectRequest) GetBucketname() string
- func (m *GetObjectRequest) GetContenttype() string
- func (m *GetObjectRequest) GetKey() string
- func (*GetObjectRequest) ProtoMessage()
- func (m *GetObjectRequest) Reset()
- func (m *GetObjectRequest) String() string
- func (m *GetObjectRequest) XXX_DiscardUnknown()
- func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectRequest) XXX_Merge(src proto.Message)
- func (m *GetObjectRequest) XXX_Size() int
- func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error
- type GetObjectResponse
- func (*GetObjectResponse) Descriptor() ([]byte, []int)
- func (m *GetObjectResponse) GetCode() int32
- func (m *GetObjectResponse) GetData() string
- func (m *GetObjectResponse) GetMsg() string
- func (*GetObjectResponse) ProtoMessage()
- func (m *GetObjectResponse) Reset()
- func (m *GetObjectResponse) String() string
- func (m *GetObjectResponse) XXX_DiscardUnknown()
- func (m *GetObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectResponse) XXX_Merge(src proto.Message)
- func (m *GetObjectResponse) XXX_Size() int
- func (m *GetObjectResponse) XXX_Unmarshal(b []byte) error
- type ListBucket
- func (*ListBucket) Descriptor() ([]byte, []int)
- func (m *ListBucket) GetBucket() []string
- func (*ListBucket) ProtoMessage()
- func (m *ListBucket) Reset()
- func (m *ListBucket) String() string
- func (m *ListBucket) XXX_DiscardUnknown()
- func (m *ListBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucket) XXX_Merge(src proto.Message)
- func (m *ListBucket) XXX_Size() int
- func (m *ListBucket) XXX_Unmarshal(b []byte) error
- type ListBucketRequest
- func (*ListBucketRequest) Descriptor() ([]byte, []int)
- func (m *ListBucketRequest) GetStore() string
- func (*ListBucketRequest) ProtoMessage()
- func (m *ListBucketRequest) Reset()
- func (m *ListBucketRequest) String() string
- func (m *ListBucketRequest) XXX_DiscardUnknown()
- func (m *ListBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketRequest) XXX_Merge(src proto.Message)
- func (m *ListBucketRequest) XXX_Size() int
- func (m *ListBucketRequest) XXX_Unmarshal(b []byte) error
- type ListBucketResponse
- func (*ListBucketResponse) Descriptor() ([]byte, []int)
- func (m *ListBucketResponse) GetCode() int32
- func (m *ListBucketResponse) GetData() *ListBucket
- func (m *ListBucketResponse) GetMsg() string
- func (*ListBucketResponse) ProtoMessage()
- func (m *ListBucketResponse) Reset()
- func (m *ListBucketResponse) String() string
- func (m *ListBucketResponse) XXX_DiscardUnknown()
- func (m *ListBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketResponse) XXX_Merge(src proto.Message)
- func (m *ListBucketResponse) XXX_Size() int
- func (m *ListBucketResponse) XXX_Unmarshal(b []byte) error
- type PutObjectPresignedUrlRequest
- func (*PutObjectPresignedUrlRequest) Descriptor() ([]byte, []int)
- func (m *PutObjectPresignedUrlRequest) GetBucketname() string
- func (m *PutObjectPresignedUrlRequest) GetContentmaxlength() int64
- func (m *PutObjectPresignedUrlRequest) GetContenttype() string
- func (m *PutObjectPresignedUrlRequest) GetExpiretime() int64
- func (m *PutObjectPresignedUrlRequest) GetKey() string
- func (m *PutObjectPresignedUrlRequest) GetPublicread() string
- func (*PutObjectPresignedUrlRequest) ProtoMessage()
- func (m *PutObjectPresignedUrlRequest) Reset()
- func (m *PutObjectPresignedUrlRequest) String() string
- func (m *PutObjectPresignedUrlRequest) XXX_DiscardUnknown()
- func (m *PutObjectPresignedUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutObjectPresignedUrlRequest) XXX_Merge(src proto.Message)
- func (m *PutObjectPresignedUrlRequest) XXX_Size() int
- func (m *PutObjectPresignedUrlRequest) XXX_Unmarshal(b []byte) error
- type PutObjectPresignedUrlResponse
- func (*PutObjectPresignedUrlResponse) Descriptor() ([]byte, []int)
- func (m *PutObjectPresignedUrlResponse) GetCode() int32
- func (m *PutObjectPresignedUrlResponse) GetData() string
- func (m *PutObjectPresignedUrlResponse) GetMsg() string
- func (*PutObjectPresignedUrlResponse) ProtoMessage()
- func (m *PutObjectPresignedUrlResponse) Reset()
- func (m *PutObjectPresignedUrlResponse) String() string
- func (m *PutObjectPresignedUrlResponse) XXX_DiscardUnknown()
- func (m *PutObjectPresignedUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutObjectPresignedUrlResponse) XXX_Merge(src proto.Message)
- func (m *PutObjectPresignedUrlResponse) XXX_Size() int
- func (m *PutObjectPresignedUrlResponse) XXX_Unmarshal(b []byte) error
- type PutObjectRequest
- func (*PutObjectRequest) Descriptor() ([]byte, []int)
- func (m *PutObjectRequest) GetBucketname() string
- func (m *PutObjectRequest) GetContentmaxlength() int64
- func (m *PutObjectRequest) GetContenttype() string
- func (m *PutObjectRequest) GetExpiretime() int64
- func (m *PutObjectRequest) GetFilecontent() string
- func (m *PutObjectRequest) GetKey() string
- func (m *PutObjectRequest) GetPublicread() string
- func (*PutObjectRequest) ProtoMessage()
- func (m *PutObjectRequest) Reset()
- func (m *PutObjectRequest) String() string
- func (m *PutObjectRequest) XXX_DiscardUnknown()
- func (m *PutObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutObjectRequest) XXX_Merge(src proto.Message)
- func (m *PutObjectRequest) XXX_Size() int
- func (m *PutObjectRequest) XXX_Unmarshal(b []byte) error
- type PutObjectResponse
- func (*PutObjectResponse) Descriptor() ([]byte, []int)
- func (m *PutObjectResponse) GetCode() int32
- func (m *PutObjectResponse) GetData() string
- func (m *PutObjectResponse) GetMsg() string
- func (*PutObjectResponse) ProtoMessage()
- func (m *PutObjectResponse) Reset()
- func (m *PutObjectResponse) String() string
- func (m *PutObjectResponse) XXX_DiscardUnknown()
- func (m *PutObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutObjectResponse) XXX_Merge(src proto.Message)
- func (m *PutObjectResponse) XXX_Size() int
- func (m *PutObjectResponse) XXX_Unmarshal(b []byte) error
- type StoreApiServiceClient
- type StoreApiServiceServer
- type UpdateConfigStoreInfoRequest
- func (*UpdateConfigStoreInfoRequest) Descriptor() ([]byte, []int)
- func (m *UpdateConfigStoreInfoRequest) GetAccesskey() string
- func (m *UpdateConfigStoreInfoRequest) GetDomain() string
- func (m *UpdateConfigStoreInfoRequest) GetRegion() string
- func (m *UpdateConfigStoreInfoRequest) GetSecretkey() string
- func (*UpdateConfigStoreInfoRequest) ProtoMessage()
- func (m *UpdateConfigStoreInfoRequest) Reset()
- func (m *UpdateConfigStoreInfoRequest) String() string
- func (m *UpdateConfigStoreInfoRequest) XXX_DiscardUnknown()
- func (m *UpdateConfigStoreInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigStoreInfoRequest) XXX_Merge(src proto.Message)
- func (m *UpdateConfigStoreInfoRequest) XXX_Size() int
- func (m *UpdateConfigStoreInfoRequest) XXX_Unmarshal(b []byte) error
- type UpdateConfigStoreInfoResponse
- func (*UpdateConfigStoreInfoResponse) Descriptor() ([]byte, []int)
- func (m *UpdateConfigStoreInfoResponse) GetCode() int32
- func (m *UpdateConfigStoreInfoResponse) GetData() string
- func (m *UpdateConfigStoreInfoResponse) GetMsg() string
- func (*UpdateConfigStoreInfoResponse) ProtoMessage()
- func (m *UpdateConfigStoreInfoResponse) Reset()
- func (m *UpdateConfigStoreInfoResponse) String() string
- func (m *UpdateConfigStoreInfoResponse) XXX_DiscardUnknown()
- func (m *UpdateConfigStoreInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigStoreInfoResponse) XXX_Merge(src proto.Message)
- func (m *UpdateConfigStoreInfoResponse) XXX_Size() int
- func (m *UpdateConfigStoreInfoResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStoreApiServiceHandler ¶
func RegisterStoreApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterStoreApiServiceHandler registers the http handlers for service StoreApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterStoreApiServiceHandlerClient ¶
func RegisterStoreApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StoreApiServiceClient) error
RegisterStoreApiServiceHandlerClient registers the http handlers for service StoreApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "StoreApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "StoreApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "StoreApiServiceClient" to call the correct interceptors.
func RegisterStoreApiServiceHandlerFromEndpoint ¶
func RegisterStoreApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterStoreApiServiceHandlerFromEndpoint is same as RegisterStoreApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterStoreApiServiceServer ¶
func RegisterStoreApiServiceServer(s *grpc.Server, srv StoreApiServiceServer)
Types ¶
type ConfigInfo ¶
type ConfigInfo struct { Accesskey string `protobuf:"bytes,1,opt,name=accesskey,proto3" json:"accesskey,omitempty"` Secretkey string `protobuf:"bytes,2,opt,name=secretkey,proto3" json:"secretkey,omitempty"` Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigInfo) Descriptor ¶
func (*ConfigInfo) Descriptor() ([]byte, []int)
func (*ConfigInfo) GetAccesskey ¶
func (m *ConfigInfo) GetAccesskey() string
func (*ConfigInfo) GetEndpoint ¶
func (m *ConfigInfo) GetEndpoint() string
func (*ConfigInfo) GetRegion ¶
func (m *ConfigInfo) GetRegion() string
func (*ConfigInfo) GetSecretkey ¶
func (m *ConfigInfo) GetSecretkey() string
func (*ConfigInfo) ProtoMessage ¶
func (*ConfigInfo) ProtoMessage()
func (*ConfigInfo) Reset ¶
func (m *ConfigInfo) Reset()
func (*ConfigInfo) String ¶
func (m *ConfigInfo) String() string
func (*ConfigInfo) XXX_DiscardUnknown ¶
func (m *ConfigInfo) XXX_DiscardUnknown()
func (*ConfigInfo) XXX_Marshal ¶
func (m *ConfigInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigInfo) XXX_Merge ¶
func (m *ConfigInfo) XXX_Merge(src proto.Message)
func (*ConfigInfo) XXX_Size ¶
func (m *ConfigInfo) XXX_Size() int
func (*ConfigInfo) XXX_Unmarshal ¶
func (m *ConfigInfo) XXX_Unmarshal(b []byte) error
type CreateBucketRequest ¶
type CreateBucketRequest struct { Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` Publicread string `protobuf:"bytes,4,opt,name=publicread,proto3" json:"publicread,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateBucketRequest) Descriptor ¶
func (*CreateBucketRequest) Descriptor() ([]byte, []int)
func (*CreateBucketRequest) GetBucketname ¶
func (m *CreateBucketRequest) GetBucketname() string
func (*CreateBucketRequest) GetPublicread ¶
func (m *CreateBucketRequest) GetPublicread() string
func (*CreateBucketRequest) ProtoMessage ¶
func (*CreateBucketRequest) ProtoMessage()
func (*CreateBucketRequest) Reset ¶
func (m *CreateBucketRequest) Reset()
func (*CreateBucketRequest) String ¶
func (m *CreateBucketRequest) String() string
func (*CreateBucketRequest) XXX_DiscardUnknown ¶
func (m *CreateBucketRequest) XXX_DiscardUnknown()
func (*CreateBucketRequest) XXX_Marshal ¶
func (m *CreateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateBucketRequest) XXX_Merge ¶
func (m *CreateBucketRequest) XXX_Merge(src proto.Message)
func (*CreateBucketRequest) XXX_Size ¶
func (m *CreateBucketRequest) XXX_Size() int
func (*CreateBucketRequest) XXX_Unmarshal ¶
func (m *CreateBucketRequest) XXX_Unmarshal(b []byte) error
type CreateBucketResponse ¶
type CreateBucketResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateBucketResponse) Descriptor ¶
func (*CreateBucketResponse) Descriptor() ([]byte, []int)
func (*CreateBucketResponse) GetCode ¶
func (m *CreateBucketResponse) GetCode() int32
func (*CreateBucketResponse) GetData ¶
func (m *CreateBucketResponse) GetData() string
func (*CreateBucketResponse) GetMsg ¶
func (m *CreateBucketResponse) GetMsg() string
func (*CreateBucketResponse) ProtoMessage ¶
func (*CreateBucketResponse) ProtoMessage()
func (*CreateBucketResponse) Reset ¶
func (m *CreateBucketResponse) Reset()
func (*CreateBucketResponse) String ¶
func (m *CreateBucketResponse) String() string
func (*CreateBucketResponse) XXX_DiscardUnknown ¶
func (m *CreateBucketResponse) XXX_DiscardUnknown()
func (*CreateBucketResponse) XXX_Marshal ¶
func (m *CreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateBucketResponse) XXX_Merge ¶
func (m *CreateBucketResponse) XXX_Merge(src proto.Message)
func (*CreateBucketResponse) XXX_Size ¶
func (m *CreateBucketResponse) XXX_Size() int
func (*CreateBucketResponse) XXX_Unmarshal ¶
func (m *CreateBucketResponse) XXX_Unmarshal(b []byte) error
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { Store string `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteBucketRequest) Descriptor ¶
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
func (*DeleteBucketRequest) GetBucketname ¶
func (m *DeleteBucketRequest) GetBucketname() string
func (*DeleteBucketRequest) GetStore ¶
func (m *DeleteBucketRequest) GetStore() string
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) Reset ¶
func (m *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) String ¶
func (m *DeleteBucketRequest) String() string
func (*DeleteBucketRequest) XXX_DiscardUnknown ¶
func (m *DeleteBucketRequest) XXX_DiscardUnknown()
func (*DeleteBucketRequest) XXX_Marshal ¶
func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteBucketRequest) XXX_Merge ¶
func (m *DeleteBucketRequest) XXX_Merge(src proto.Message)
func (*DeleteBucketRequest) XXX_Size ¶
func (m *DeleteBucketRequest) XXX_Size() int
func (*DeleteBucketRequest) XXX_Unmarshal ¶
func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error
type DeleteBucketResponse ¶
type DeleteBucketResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteBucketResponse) Descriptor ¶
func (*DeleteBucketResponse) Descriptor() ([]byte, []int)
func (*DeleteBucketResponse) GetCode ¶
func (m *DeleteBucketResponse) GetCode() int32
func (*DeleteBucketResponse) GetData ¶
func (m *DeleteBucketResponse) GetData() string
func (*DeleteBucketResponse) GetMsg ¶
func (m *DeleteBucketResponse) GetMsg() string
func (*DeleteBucketResponse) ProtoMessage ¶
func (*DeleteBucketResponse) ProtoMessage()
func (*DeleteBucketResponse) Reset ¶
func (m *DeleteBucketResponse) Reset()
func (*DeleteBucketResponse) String ¶
func (m *DeleteBucketResponse) String() string
func (*DeleteBucketResponse) XXX_DiscardUnknown ¶
func (m *DeleteBucketResponse) XXX_DiscardUnknown()
func (*DeleteBucketResponse) XXX_Marshal ¶
func (m *DeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteBucketResponse) XXX_Merge ¶
func (m *DeleteBucketResponse) XXX_Merge(src proto.Message)
func (*DeleteBucketResponse) XXX_Size ¶
func (m *DeleteBucketResponse) XXX_Size() int
func (*DeleteBucketResponse) XXX_Unmarshal ¶
func (m *DeleteBucketResponse) XXX_Unmarshal(b []byte) error
type GetConfigStoreInfoRequest ¶
type GetConfigStoreInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigStoreInfoRequest) Descriptor ¶
func (*GetConfigStoreInfoRequest) Descriptor() ([]byte, []int)
func (*GetConfigStoreInfoRequest) ProtoMessage ¶
func (*GetConfigStoreInfoRequest) ProtoMessage()
func (*GetConfigStoreInfoRequest) Reset ¶
func (m *GetConfigStoreInfoRequest) Reset()
func (*GetConfigStoreInfoRequest) String ¶
func (m *GetConfigStoreInfoRequest) String() string
func (*GetConfigStoreInfoRequest) XXX_DiscardUnknown ¶
func (m *GetConfigStoreInfoRequest) XXX_DiscardUnknown()
func (*GetConfigStoreInfoRequest) XXX_Marshal ¶
func (m *GetConfigStoreInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigStoreInfoRequest) XXX_Merge ¶
func (m *GetConfigStoreInfoRequest) XXX_Merge(src proto.Message)
func (*GetConfigStoreInfoRequest) XXX_Size ¶
func (m *GetConfigStoreInfoRequest) XXX_Size() int
func (*GetConfigStoreInfoRequest) XXX_Unmarshal ¶
func (m *GetConfigStoreInfoRequest) XXX_Unmarshal(b []byte) error
type GetConfigStoreInfoResponse ¶
type GetConfigStoreInfoResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *ConfigInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigStoreInfoResponse) Descriptor ¶
func (*GetConfigStoreInfoResponse) Descriptor() ([]byte, []int)
func (*GetConfigStoreInfoResponse) GetCode ¶
func (m *GetConfigStoreInfoResponse) GetCode() int32
func (*GetConfigStoreInfoResponse) GetData ¶
func (m *GetConfigStoreInfoResponse) GetData() *ConfigInfo
func (*GetConfigStoreInfoResponse) GetMsg ¶
func (m *GetConfigStoreInfoResponse) GetMsg() string
func (*GetConfigStoreInfoResponse) ProtoMessage ¶
func (*GetConfigStoreInfoResponse) ProtoMessage()
func (*GetConfigStoreInfoResponse) Reset ¶
func (m *GetConfigStoreInfoResponse) Reset()
func (*GetConfigStoreInfoResponse) String ¶
func (m *GetConfigStoreInfoResponse) String() string
func (*GetConfigStoreInfoResponse) XXX_DiscardUnknown ¶
func (m *GetConfigStoreInfoResponse) XXX_DiscardUnknown()
func (*GetConfigStoreInfoResponse) XXX_Marshal ¶
func (m *GetConfigStoreInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigStoreInfoResponse) XXX_Merge ¶
func (m *GetConfigStoreInfoResponse) XXX_Merge(src proto.Message)
func (*GetConfigStoreInfoResponse) XXX_Size ¶
func (m *GetConfigStoreInfoResponse) XXX_Size() int
func (*GetConfigStoreInfoResponse) XXX_Unmarshal ¶
func (m *GetConfigStoreInfoResponse) XXX_Unmarshal(b []byte) error
type GetObjectPresignedUrlRequest ¶
type GetObjectPresignedUrlRequest struct { Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Expiretime int64 `protobuf:"varint,4,opt,name=expiretime,proto3" json:"expiretime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetObjectPresignedUrlRequest) Descriptor ¶
func (*GetObjectPresignedUrlRequest) Descriptor() ([]byte, []int)
func (*GetObjectPresignedUrlRequest) GetBucketname ¶
func (m *GetObjectPresignedUrlRequest) GetBucketname() string
func (*GetObjectPresignedUrlRequest) GetExpiretime ¶
func (m *GetObjectPresignedUrlRequest) GetExpiretime() int64
func (*GetObjectPresignedUrlRequest) GetKey ¶
func (m *GetObjectPresignedUrlRequest) GetKey() string
func (*GetObjectPresignedUrlRequest) ProtoMessage ¶
func (*GetObjectPresignedUrlRequest) ProtoMessage()
func (*GetObjectPresignedUrlRequest) Reset ¶
func (m *GetObjectPresignedUrlRequest) Reset()
func (*GetObjectPresignedUrlRequest) String ¶
func (m *GetObjectPresignedUrlRequest) String() string
func (*GetObjectPresignedUrlRequest) XXX_DiscardUnknown ¶
func (m *GetObjectPresignedUrlRequest) XXX_DiscardUnknown()
func (*GetObjectPresignedUrlRequest) XXX_Marshal ¶
func (m *GetObjectPresignedUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectPresignedUrlRequest) XXX_Merge ¶
func (m *GetObjectPresignedUrlRequest) XXX_Merge(src proto.Message)
func (*GetObjectPresignedUrlRequest) XXX_Size ¶
func (m *GetObjectPresignedUrlRequest) XXX_Size() int
func (*GetObjectPresignedUrlRequest) XXX_Unmarshal ¶
func (m *GetObjectPresignedUrlRequest) XXX_Unmarshal(b []byte) error
type GetObjectPresignedUrlResponse ¶
type GetObjectPresignedUrlResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetObjectPresignedUrlResponse) Descriptor ¶
func (*GetObjectPresignedUrlResponse) Descriptor() ([]byte, []int)
func (*GetObjectPresignedUrlResponse) GetCode ¶
func (m *GetObjectPresignedUrlResponse) GetCode() int32
func (*GetObjectPresignedUrlResponse) GetData ¶
func (m *GetObjectPresignedUrlResponse) GetData() string
func (*GetObjectPresignedUrlResponse) GetMsg ¶
func (m *GetObjectPresignedUrlResponse) GetMsg() string
func (*GetObjectPresignedUrlResponse) ProtoMessage ¶
func (*GetObjectPresignedUrlResponse) ProtoMessage()
func (*GetObjectPresignedUrlResponse) Reset ¶
func (m *GetObjectPresignedUrlResponse) Reset()
func (*GetObjectPresignedUrlResponse) String ¶
func (m *GetObjectPresignedUrlResponse) String() string
func (*GetObjectPresignedUrlResponse) XXX_DiscardUnknown ¶
func (m *GetObjectPresignedUrlResponse) XXX_DiscardUnknown()
func (*GetObjectPresignedUrlResponse) XXX_Marshal ¶
func (m *GetObjectPresignedUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectPresignedUrlResponse) XXX_Merge ¶
func (m *GetObjectPresignedUrlResponse) XXX_Merge(src proto.Message)
func (*GetObjectPresignedUrlResponse) XXX_Size ¶
func (m *GetObjectPresignedUrlResponse) XXX_Size() int
func (*GetObjectPresignedUrlResponse) XXX_Unmarshal ¶
func (m *GetObjectPresignedUrlResponse) XXX_Unmarshal(b []byte) error
type GetObjectRequest ¶
type GetObjectRequest struct { Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Contenttype string `protobuf:"bytes,4,opt,name=contenttype,proto3" json:"contenttype,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetObjectRequest) Descriptor ¶
func (*GetObjectRequest) Descriptor() ([]byte, []int)
func (*GetObjectRequest) GetBucketname ¶
func (m *GetObjectRequest) GetBucketname() string
func (*GetObjectRequest) GetContenttype ¶
func (m *GetObjectRequest) GetContenttype() string
func (*GetObjectRequest) GetKey ¶
func (m *GetObjectRequest) GetKey() string
func (*GetObjectRequest) ProtoMessage ¶
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) Reset ¶
func (m *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶
func (m *GetObjectRequest) String() string
func (*GetObjectRequest) XXX_DiscardUnknown ¶
func (m *GetObjectRequest) XXX_DiscardUnknown()
func (*GetObjectRequest) XXX_Marshal ¶
func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectRequest) XXX_Merge ¶
func (m *GetObjectRequest) XXX_Merge(src proto.Message)
func (*GetObjectRequest) XXX_Size ¶
func (m *GetObjectRequest) XXX_Size() int
func (*GetObjectRequest) XXX_Unmarshal ¶
func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error
type GetObjectResponse ¶
type GetObjectResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetObjectResponse) Descriptor ¶
func (*GetObjectResponse) Descriptor() ([]byte, []int)
func (*GetObjectResponse) GetCode ¶
func (m *GetObjectResponse) GetCode() int32
func (*GetObjectResponse) GetData ¶
func (m *GetObjectResponse) GetData() string
func (*GetObjectResponse) GetMsg ¶
func (m *GetObjectResponse) GetMsg() string
func (*GetObjectResponse) ProtoMessage ¶
func (*GetObjectResponse) ProtoMessage()
func (*GetObjectResponse) Reset ¶
func (m *GetObjectResponse) Reset()
func (*GetObjectResponse) String ¶
func (m *GetObjectResponse) String() string
func (*GetObjectResponse) XXX_DiscardUnknown ¶
func (m *GetObjectResponse) XXX_DiscardUnknown()
func (*GetObjectResponse) XXX_Marshal ¶
func (m *GetObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectResponse) XXX_Merge ¶
func (m *GetObjectResponse) XXX_Merge(src proto.Message)
func (*GetObjectResponse) XXX_Size ¶
func (m *GetObjectResponse) XXX_Size() int
func (*GetObjectResponse) XXX_Unmarshal ¶
func (m *GetObjectResponse) XXX_Unmarshal(b []byte) error
type ListBucket ¶
type ListBucket struct { Bucket []string `protobuf:"bytes,1,rep,name=bucket,proto3" json:"bucket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBucket) Descriptor ¶
func (*ListBucket) Descriptor() ([]byte, []int)
func (*ListBucket) GetBucket ¶
func (m *ListBucket) GetBucket() []string
func (*ListBucket) ProtoMessage ¶
func (*ListBucket) ProtoMessage()
func (*ListBucket) Reset ¶
func (m *ListBucket) Reset()
func (*ListBucket) String ¶
func (m *ListBucket) String() string
func (*ListBucket) XXX_DiscardUnknown ¶
func (m *ListBucket) XXX_DiscardUnknown()
func (*ListBucket) XXX_Marshal ¶
func (m *ListBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucket) XXX_Merge ¶
func (m *ListBucket) XXX_Merge(src proto.Message)
func (*ListBucket) XXX_Size ¶
func (m *ListBucket) XXX_Size() int
func (*ListBucket) XXX_Unmarshal ¶
func (m *ListBucket) XXX_Unmarshal(b []byte) error
type ListBucketRequest ¶
type ListBucketRequest struct { Store string `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBucketRequest) Descriptor ¶
func (*ListBucketRequest) Descriptor() ([]byte, []int)
func (*ListBucketRequest) GetStore ¶
func (m *ListBucketRequest) GetStore() string
func (*ListBucketRequest) ProtoMessage ¶
func (*ListBucketRequest) ProtoMessage()
func (*ListBucketRequest) Reset ¶
func (m *ListBucketRequest) Reset()
func (*ListBucketRequest) String ¶
func (m *ListBucketRequest) String() string
func (*ListBucketRequest) XXX_DiscardUnknown ¶
func (m *ListBucketRequest) XXX_DiscardUnknown()
func (*ListBucketRequest) XXX_Marshal ¶
func (m *ListBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketRequest) XXX_Merge ¶
func (m *ListBucketRequest) XXX_Merge(src proto.Message)
func (*ListBucketRequest) XXX_Size ¶
func (m *ListBucketRequest) XXX_Size() int
func (*ListBucketRequest) XXX_Unmarshal ¶
func (m *ListBucketRequest) XXX_Unmarshal(b []byte) error
type ListBucketResponse ¶
type ListBucketResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *ListBucket `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListBucketResponse) Descriptor ¶
func (*ListBucketResponse) Descriptor() ([]byte, []int)
func (*ListBucketResponse) GetCode ¶
func (m *ListBucketResponse) GetCode() int32
func (*ListBucketResponse) GetData ¶
func (m *ListBucketResponse) GetData() *ListBucket
func (*ListBucketResponse) GetMsg ¶
func (m *ListBucketResponse) GetMsg() string
func (*ListBucketResponse) ProtoMessage ¶
func (*ListBucketResponse) ProtoMessage()
func (*ListBucketResponse) Reset ¶
func (m *ListBucketResponse) Reset()
func (*ListBucketResponse) String ¶
func (m *ListBucketResponse) String() string
func (*ListBucketResponse) XXX_DiscardUnknown ¶
func (m *ListBucketResponse) XXX_DiscardUnknown()
func (*ListBucketResponse) XXX_Marshal ¶
func (m *ListBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketResponse) XXX_Merge ¶
func (m *ListBucketResponse) XXX_Merge(src proto.Message)
func (*ListBucketResponse) XXX_Size ¶
func (m *ListBucketResponse) XXX_Size() int
func (*ListBucketResponse) XXX_Unmarshal ¶
func (m *ListBucketResponse) XXX_Unmarshal(b []byte) error
type PutObjectPresignedUrlRequest ¶
type PutObjectPresignedUrlRequest struct { Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Publicread string `protobuf:"bytes,4,opt,name=publicread,proto3" json:"publicread,omitempty"` Contenttype string `protobuf:"bytes,5,opt,name=contenttype,proto3" json:"contenttype,omitempty"` Contentmaxlength int64 `protobuf:"varint,6,opt,name=contentmaxlength,proto3" json:"contentmaxlength,omitempty"` Expiretime int64 `protobuf:"varint,7,opt,name=expiretime,proto3" json:"expiretime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutObjectPresignedUrlRequest) Descriptor ¶
func (*PutObjectPresignedUrlRequest) Descriptor() ([]byte, []int)
func (*PutObjectPresignedUrlRequest) GetBucketname ¶
func (m *PutObjectPresignedUrlRequest) GetBucketname() string
func (*PutObjectPresignedUrlRequest) GetContentmaxlength ¶
func (m *PutObjectPresignedUrlRequest) GetContentmaxlength() int64
func (*PutObjectPresignedUrlRequest) GetContenttype ¶
func (m *PutObjectPresignedUrlRequest) GetContenttype() string
func (*PutObjectPresignedUrlRequest) GetExpiretime ¶
func (m *PutObjectPresignedUrlRequest) GetExpiretime() int64
func (*PutObjectPresignedUrlRequest) GetKey ¶
func (m *PutObjectPresignedUrlRequest) GetKey() string
func (*PutObjectPresignedUrlRequest) GetPublicread ¶
func (m *PutObjectPresignedUrlRequest) GetPublicread() string
func (*PutObjectPresignedUrlRequest) ProtoMessage ¶
func (*PutObjectPresignedUrlRequest) ProtoMessage()
func (*PutObjectPresignedUrlRequest) Reset ¶
func (m *PutObjectPresignedUrlRequest) Reset()
func (*PutObjectPresignedUrlRequest) String ¶
func (m *PutObjectPresignedUrlRequest) String() string
func (*PutObjectPresignedUrlRequest) XXX_DiscardUnknown ¶
func (m *PutObjectPresignedUrlRequest) XXX_DiscardUnknown()
func (*PutObjectPresignedUrlRequest) XXX_Marshal ¶
func (m *PutObjectPresignedUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutObjectPresignedUrlRequest) XXX_Merge ¶
func (m *PutObjectPresignedUrlRequest) XXX_Merge(src proto.Message)
func (*PutObjectPresignedUrlRequest) XXX_Size ¶
func (m *PutObjectPresignedUrlRequest) XXX_Size() int
func (*PutObjectPresignedUrlRequest) XXX_Unmarshal ¶
func (m *PutObjectPresignedUrlRequest) XXX_Unmarshal(b []byte) error
type PutObjectPresignedUrlResponse ¶
type PutObjectPresignedUrlResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutObjectPresignedUrlResponse) Descriptor ¶
func (*PutObjectPresignedUrlResponse) Descriptor() ([]byte, []int)
func (*PutObjectPresignedUrlResponse) GetCode ¶
func (m *PutObjectPresignedUrlResponse) GetCode() int32
func (*PutObjectPresignedUrlResponse) GetData ¶
func (m *PutObjectPresignedUrlResponse) GetData() string
func (*PutObjectPresignedUrlResponse) GetMsg ¶
func (m *PutObjectPresignedUrlResponse) GetMsg() string
func (*PutObjectPresignedUrlResponse) ProtoMessage ¶
func (*PutObjectPresignedUrlResponse) ProtoMessage()
func (*PutObjectPresignedUrlResponse) Reset ¶
func (m *PutObjectPresignedUrlResponse) Reset()
func (*PutObjectPresignedUrlResponse) String ¶
func (m *PutObjectPresignedUrlResponse) String() string
func (*PutObjectPresignedUrlResponse) XXX_DiscardUnknown ¶
func (m *PutObjectPresignedUrlResponse) XXX_DiscardUnknown()
func (*PutObjectPresignedUrlResponse) XXX_Marshal ¶
func (m *PutObjectPresignedUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutObjectPresignedUrlResponse) XXX_Merge ¶
func (m *PutObjectPresignedUrlResponse) XXX_Merge(src proto.Message)
func (*PutObjectPresignedUrlResponse) XXX_Size ¶
func (m *PutObjectPresignedUrlResponse) XXX_Size() int
func (*PutObjectPresignedUrlResponse) XXX_Unmarshal ¶
func (m *PutObjectPresignedUrlResponse) XXX_Unmarshal(b []byte) error
type PutObjectRequest ¶
type PutObjectRequest struct { Bucketname string `protobuf:"bytes,2,opt,name=bucketname,proto3" json:"bucketname,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Publicread string `protobuf:"bytes,4,opt,name=publicread,proto3" json:"publicread,omitempty"` Contenttype string `protobuf:"bytes,5,opt,name=contenttype,proto3" json:"contenttype,omitempty"` Contentmaxlength int64 `protobuf:"varint,6,opt,name=contentmaxlength,proto3" json:"contentmaxlength,omitempty"` Filecontent string `protobuf:"bytes,7,opt,name=filecontent,proto3" json:"filecontent,omitempty"` Expiretime int64 `protobuf:"varint,8,opt,name=expiretime,proto3" json:"expiretime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutObjectRequest) Descriptor ¶
func (*PutObjectRequest) Descriptor() ([]byte, []int)
func (*PutObjectRequest) GetBucketname ¶
func (m *PutObjectRequest) GetBucketname() string
func (*PutObjectRequest) GetContentmaxlength ¶
func (m *PutObjectRequest) GetContentmaxlength() int64
func (*PutObjectRequest) GetContenttype ¶
func (m *PutObjectRequest) GetContenttype() string
func (*PutObjectRequest) GetExpiretime ¶
func (m *PutObjectRequest) GetExpiretime() int64
func (*PutObjectRequest) GetFilecontent ¶
func (m *PutObjectRequest) GetFilecontent() string
func (*PutObjectRequest) GetKey ¶
func (m *PutObjectRequest) GetKey() string
func (*PutObjectRequest) GetPublicread ¶
func (m *PutObjectRequest) GetPublicread() string
func (*PutObjectRequest) ProtoMessage ¶
func (*PutObjectRequest) ProtoMessage()
func (*PutObjectRequest) Reset ¶
func (m *PutObjectRequest) Reset()
func (*PutObjectRequest) String ¶
func (m *PutObjectRequest) String() string
func (*PutObjectRequest) XXX_DiscardUnknown ¶
func (m *PutObjectRequest) XXX_DiscardUnknown()
func (*PutObjectRequest) XXX_Marshal ¶
func (m *PutObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutObjectRequest) XXX_Merge ¶
func (m *PutObjectRequest) XXX_Merge(src proto.Message)
func (*PutObjectRequest) XXX_Size ¶
func (m *PutObjectRequest) XXX_Size() int
func (*PutObjectRequest) XXX_Unmarshal ¶
func (m *PutObjectRequest) XXX_Unmarshal(b []byte) error
type PutObjectResponse ¶
type PutObjectResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutObjectResponse) Descriptor ¶
func (*PutObjectResponse) Descriptor() ([]byte, []int)
func (*PutObjectResponse) GetCode ¶
func (m *PutObjectResponse) GetCode() int32
func (*PutObjectResponse) GetData ¶
func (m *PutObjectResponse) GetData() string
func (*PutObjectResponse) GetMsg ¶
func (m *PutObjectResponse) GetMsg() string
func (*PutObjectResponse) ProtoMessage ¶
func (*PutObjectResponse) ProtoMessage()
func (*PutObjectResponse) Reset ¶
func (m *PutObjectResponse) Reset()
func (*PutObjectResponse) String ¶
func (m *PutObjectResponse) String() string
func (*PutObjectResponse) XXX_DiscardUnknown ¶
func (m *PutObjectResponse) XXX_DiscardUnknown()
func (*PutObjectResponse) XXX_Marshal ¶
func (m *PutObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutObjectResponse) XXX_Merge ¶
func (m *PutObjectResponse) XXX_Merge(src proto.Message)
func (*PutObjectResponse) XXX_Size ¶
func (m *PutObjectResponse) XXX_Size() int
func (*PutObjectResponse) XXX_Unmarshal ¶
func (m *PutObjectResponse) XXX_Unmarshal(b []byte) error
type StoreApiServiceClient ¶
type StoreApiServiceClient interface { CreateBucket(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*CreateBucketResponse, error) DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*DeleteBucketResponse, error) ListBucket(ctx context.Context, in *ListBucketRequest, opts ...grpc.CallOption) (*ListBucketResponse, error) PutObject(ctx context.Context, in *PutObjectRequest, opts ...grpc.CallOption) (*PutObjectResponse, error) GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectResponse, error) GetObjectPresignedUrl(ctx context.Context, in *GetObjectPresignedUrlRequest, opts ...grpc.CallOption) (*GetObjectPresignedUrlResponse, error) PutObjectPresignedUrl(ctx context.Context, in *PutObjectPresignedUrlRequest, opts ...grpc.CallOption) (*PutObjectPresignedUrlResponse, error) UpdateConfigStoreInfo(ctx context.Context, in *UpdateConfigStoreInfoRequest, opts ...grpc.CallOption) (*UpdateConfigStoreInfoResponse, error) GetConfigStoreInfo(ctx context.Context, in *GetConfigStoreInfoRequest, opts ...grpc.CallOption) (*GetConfigStoreInfoResponse, error) }
StoreApiServiceClient is the client API for StoreApiService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStoreApiServiceClient ¶
func NewStoreApiServiceClient(cc *grpc.ClientConn) StoreApiServiceClient
type StoreApiServiceServer ¶
type StoreApiServiceServer interface { CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error) DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error) ListBucket(context.Context, *ListBucketRequest) (*ListBucketResponse, error) PutObject(context.Context, *PutObjectRequest) (*PutObjectResponse, error) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error) GetObjectPresignedUrl(context.Context, *GetObjectPresignedUrlRequest) (*GetObjectPresignedUrlResponse, error) PutObjectPresignedUrl(context.Context, *PutObjectPresignedUrlRequest) (*PutObjectPresignedUrlResponse, error) UpdateConfigStoreInfo(context.Context, *UpdateConfigStoreInfoRequest) (*UpdateConfigStoreInfoResponse, error) GetConfigStoreInfo(context.Context, *GetConfigStoreInfoRequest) (*GetConfigStoreInfoResponse, error) }
StoreApiServiceServer is the server API for StoreApiService service.
type UpdateConfigStoreInfoRequest ¶
type UpdateConfigStoreInfoRequest struct { Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Accesskey string `protobuf:"bytes,3,opt,name=accesskey,proto3" json:"accesskey,omitempty"` Secretkey string `protobuf:"bytes,4,opt,name=secretkey,proto3" json:"secretkey,omitempty"` Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateConfigStoreInfoRequest) Descriptor ¶
func (*UpdateConfigStoreInfoRequest) Descriptor() ([]byte, []int)
func (*UpdateConfigStoreInfoRequest) GetAccesskey ¶
func (m *UpdateConfigStoreInfoRequest) GetAccesskey() string
func (*UpdateConfigStoreInfoRequest) GetDomain ¶
func (m *UpdateConfigStoreInfoRequest) GetDomain() string
func (*UpdateConfigStoreInfoRequest) GetRegion ¶
func (m *UpdateConfigStoreInfoRequest) GetRegion() string
func (*UpdateConfigStoreInfoRequest) GetSecretkey ¶
func (m *UpdateConfigStoreInfoRequest) GetSecretkey() string
func (*UpdateConfigStoreInfoRequest) ProtoMessage ¶
func (*UpdateConfigStoreInfoRequest) ProtoMessage()
func (*UpdateConfigStoreInfoRequest) Reset ¶
func (m *UpdateConfigStoreInfoRequest) Reset()
func (*UpdateConfigStoreInfoRequest) String ¶
func (m *UpdateConfigStoreInfoRequest) String() string
func (*UpdateConfigStoreInfoRequest) XXX_DiscardUnknown ¶
func (m *UpdateConfigStoreInfoRequest) XXX_DiscardUnknown()
func (*UpdateConfigStoreInfoRequest) XXX_Marshal ¶
func (m *UpdateConfigStoreInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigStoreInfoRequest) XXX_Merge ¶
func (m *UpdateConfigStoreInfoRequest) XXX_Merge(src proto.Message)
func (*UpdateConfigStoreInfoRequest) XXX_Size ¶
func (m *UpdateConfigStoreInfoRequest) XXX_Size() int
func (*UpdateConfigStoreInfoRequest) XXX_Unmarshal ¶
func (m *UpdateConfigStoreInfoRequest) XXX_Unmarshal(b []byte) error
type UpdateConfigStoreInfoResponse ¶
type UpdateConfigStoreInfoResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateConfigStoreInfoResponse) Descriptor ¶
func (*UpdateConfigStoreInfoResponse) Descriptor() ([]byte, []int)
func (*UpdateConfigStoreInfoResponse) GetCode ¶
func (m *UpdateConfigStoreInfoResponse) GetCode() int32
func (*UpdateConfigStoreInfoResponse) GetData ¶
func (m *UpdateConfigStoreInfoResponse) GetData() string
func (*UpdateConfigStoreInfoResponse) GetMsg ¶
func (m *UpdateConfigStoreInfoResponse) GetMsg() string
func (*UpdateConfigStoreInfoResponse) ProtoMessage ¶
func (*UpdateConfigStoreInfoResponse) ProtoMessage()
func (*UpdateConfigStoreInfoResponse) Reset ¶
func (m *UpdateConfigStoreInfoResponse) Reset()
func (*UpdateConfigStoreInfoResponse) String ¶
func (m *UpdateConfigStoreInfoResponse) String() string
func (*UpdateConfigStoreInfoResponse) XXX_DiscardUnknown ¶
func (m *UpdateConfigStoreInfoResponse) XXX_DiscardUnknown()
func (*UpdateConfigStoreInfoResponse) XXX_Marshal ¶
func (m *UpdateConfigStoreInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigStoreInfoResponse) XXX_Merge ¶
func (m *UpdateConfigStoreInfoResponse) XXX_Merge(src proto.Message)
func (*UpdateConfigStoreInfoResponse) XXX_Size ¶
func (m *UpdateConfigStoreInfoResponse) XXX_Size() int
func (*UpdateConfigStoreInfoResponse) XXX_Unmarshal ¶
func (m *UpdateConfigStoreInfoResponse) XXX_Unmarshal(b []byte) error