Documentation ¶
Index ¶
- Variables
- type OssPlatformType
- type OssService
- type OssServiceClient
- func (p *OssServiceClient) Client_() thrift.TClient
- func (p *OssServiceClient) PreSignedPutObjectUrl(ctx context.Context, req *PreSignedPutObjectUrlReq) (r *PreSignedPutObjectUrlResp, err error)
- func (p *OssServiceClient) PutObject(ctx context.Context, req *PutObjectReq) (r *PutObjectResp, err error)
- type OssServicePreSignedPutObjectUrlArgs
- func (p *OssServicePreSignedPutObjectUrlArgs) BLength() int
- func (p *OssServicePreSignedPutObjectUrlArgs) DeepEqual(ano *OssServicePreSignedPutObjectUrlArgs) bool
- func (p *OssServicePreSignedPutObjectUrlArgs) FastRead(buf []byte) (int, error)
- func (p *OssServicePreSignedPutObjectUrlArgs) FastReadField1(buf []byte) (int, error)
- func (p *OssServicePreSignedPutObjectUrlArgs) FastWrite(buf []byte) int
- func (p *OssServicePreSignedPutObjectUrlArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OssServicePreSignedPutObjectUrlArgs) Field1DeepEqual(src *PreSignedPutObjectUrlReq) bool
- func (p *OssServicePreSignedPutObjectUrlArgs) GetFirstArgument() interface{}
- func (p *OssServicePreSignedPutObjectUrlArgs) GetReq() (v *PreSignedPutObjectUrlReq)
- func (p *OssServicePreSignedPutObjectUrlArgs) InitDefault()
- func (p *OssServicePreSignedPutObjectUrlArgs) IsSetReq() bool
- func (p *OssServicePreSignedPutObjectUrlArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *OssServicePreSignedPutObjectUrlArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *OssServicePreSignedPutObjectUrlArgs) SetReq(val *PreSignedPutObjectUrlReq)
- func (p *OssServicePreSignedPutObjectUrlArgs) String() string
- func (p *OssServicePreSignedPutObjectUrlArgs) Write(oprot thrift.TProtocol) (err error)
- type OssServicePreSignedPutObjectUrlResult
- func (p *OssServicePreSignedPutObjectUrlResult) BLength() int
- func (p *OssServicePreSignedPutObjectUrlResult) DeepEqual(ano *OssServicePreSignedPutObjectUrlResult) bool
- func (p *OssServicePreSignedPutObjectUrlResult) FastRead(buf []byte) (int, error)
- func (p *OssServicePreSignedPutObjectUrlResult) FastReadField0(buf []byte) (int, error)
- func (p *OssServicePreSignedPutObjectUrlResult) FastWrite(buf []byte) int
- func (p *OssServicePreSignedPutObjectUrlResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OssServicePreSignedPutObjectUrlResult) Field0DeepEqual(src *PreSignedPutObjectUrlResp) bool
- func (p *OssServicePreSignedPutObjectUrlResult) GetResult() interface{}
- func (p *OssServicePreSignedPutObjectUrlResult) GetSuccess() (v *PreSignedPutObjectUrlResp)
- func (p *OssServicePreSignedPutObjectUrlResult) InitDefault()
- func (p *OssServicePreSignedPutObjectUrlResult) IsSetSuccess() bool
- func (p *OssServicePreSignedPutObjectUrlResult) Read(iprot thrift.TProtocol) (err error)
- func (p *OssServicePreSignedPutObjectUrlResult) ReadField0(iprot thrift.TProtocol) error
- func (p *OssServicePreSignedPutObjectUrlResult) SetSuccess(x interface{})
- func (p *OssServicePreSignedPutObjectUrlResult) String() string
- func (p *OssServicePreSignedPutObjectUrlResult) Write(oprot thrift.TProtocol) (err error)
- type OssServiceProcessor
- func (p *OssServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *OssServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *OssServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *OssServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type OssServicePutObjectArgs
- func (p *OssServicePutObjectArgs) BLength() int
- func (p *OssServicePutObjectArgs) DeepEqual(ano *OssServicePutObjectArgs) bool
- func (p *OssServicePutObjectArgs) FastRead(buf []byte) (int, error)
- func (p *OssServicePutObjectArgs) FastReadField1(buf []byte) (int, error)
- func (p *OssServicePutObjectArgs) FastWrite(buf []byte) int
- func (p *OssServicePutObjectArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OssServicePutObjectArgs) Field1DeepEqual(src *PutObjectReq) bool
- func (p *OssServicePutObjectArgs) GetFirstArgument() interface{}
- func (p *OssServicePutObjectArgs) GetReq() (v *PutObjectReq)
- func (p *OssServicePutObjectArgs) InitDefault()
- func (p *OssServicePutObjectArgs) IsSetReq() bool
- func (p *OssServicePutObjectArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *OssServicePutObjectArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *OssServicePutObjectArgs) SetReq(val *PutObjectReq)
- func (p *OssServicePutObjectArgs) String() string
- func (p *OssServicePutObjectArgs) Write(oprot thrift.TProtocol) (err error)
- type OssServicePutObjectResult
- func (p *OssServicePutObjectResult) BLength() int
- func (p *OssServicePutObjectResult) DeepEqual(ano *OssServicePutObjectResult) bool
- func (p *OssServicePutObjectResult) FastRead(buf []byte) (int, error)
- func (p *OssServicePutObjectResult) FastReadField0(buf []byte) (int, error)
- func (p *OssServicePutObjectResult) FastWrite(buf []byte) int
- func (p *OssServicePutObjectResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *OssServicePutObjectResult) Field0DeepEqual(src *PutObjectResp) bool
- func (p *OssServicePutObjectResult) GetResult() interface{}
- func (p *OssServicePutObjectResult) GetSuccess() (v *PutObjectResp)
- func (p *OssServicePutObjectResult) InitDefault()
- func (p *OssServicePutObjectResult) IsSetSuccess() bool
- func (p *OssServicePutObjectResult) Read(iprot thrift.TProtocol) (err error)
- func (p *OssServicePutObjectResult) ReadField0(iprot thrift.TProtocol) error
- func (p *OssServicePutObjectResult) SetSuccess(x interface{})
- func (p *OssServicePutObjectResult) String() string
- func (p *OssServicePutObjectResult) Write(oprot thrift.TProtocol) (err error)
- type PreSignedPutObjectUrlReq
- func (p *PreSignedPutObjectUrlReq) BLength() int
- func (p *PreSignedPutObjectUrlReq) DeepEqual(ano *PreSignedPutObjectUrlReq) bool
- func (p *PreSignedPutObjectUrlReq) FastRead(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlReq) FastReadField1(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlReq) FastReadField2(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlReq) FastReadField3(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlReq) FastReadField4(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlReq) FastWrite(buf []byte) int
- func (p *PreSignedPutObjectUrlReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PreSignedPutObjectUrlReq) Field1DeepEqual(src string) bool
- func (p *PreSignedPutObjectUrlReq) Field2DeepEqual(src string) bool
- func (p *PreSignedPutObjectUrlReq) Field3DeepEqual(src int32) bool
- func (p *PreSignedPutObjectUrlReq) Field4DeepEqual(src OssPlatformType) bool
- func (p *PreSignedPutObjectUrlReq) GetBucketName() (v string)
- func (p *PreSignedPutObjectUrlReq) GetExpiry() (v int32)
- func (p *PreSignedPutObjectUrlReq) GetObjectName() (v string)
- func (p *PreSignedPutObjectUrlReq) GetType() (v OssPlatformType)
- func (p *PreSignedPutObjectUrlReq) InitDefault()
- func (p *PreSignedPutObjectUrlReq) Read(iprot thrift.TProtocol) (err error)
- func (p *PreSignedPutObjectUrlReq) ReadField1(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlReq) ReadField2(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlReq) ReadField3(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlReq) ReadField4(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlReq) SetBucketName(val string)
- func (p *PreSignedPutObjectUrlReq) SetExpiry(val int32)
- func (p *PreSignedPutObjectUrlReq) SetObjectName(val string)
- func (p *PreSignedPutObjectUrlReq) SetType(val OssPlatformType)
- func (p *PreSignedPutObjectUrlReq) String() string
- func (p *PreSignedPutObjectUrlReq) Write(oprot thrift.TProtocol) (err error)
- type PreSignedPutObjectUrlResp
- func (p *PreSignedPutObjectUrlResp) BLength() int
- func (p *PreSignedPutObjectUrlResp) DeepEqual(ano *PreSignedPutObjectUrlResp) bool
- func (p *PreSignedPutObjectUrlResp) FastRead(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlResp) FastReadField1(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlResp) FastReadField2(buf []byte) (int, error)
- func (p *PreSignedPutObjectUrlResp) FastWrite(buf []byte) int
- func (p *PreSignedPutObjectUrlResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PreSignedPutObjectUrlResp) Field1DeepEqual(src string) bool
- func (p *PreSignedPutObjectUrlResp) Field2DeepEqual(src string) bool
- func (p *PreSignedPutObjectUrlResp) GetPreSignedUrl() (v string)
- func (p *PreSignedPutObjectUrlResp) GetResourceUrl() (v string)
- func (p *PreSignedPutObjectUrlResp) InitDefault()
- func (p *PreSignedPutObjectUrlResp) Read(iprot thrift.TProtocol) (err error)
- func (p *PreSignedPutObjectUrlResp) ReadField1(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlResp) ReadField2(iprot thrift.TProtocol) error
- func (p *PreSignedPutObjectUrlResp) SetPreSignedUrl(val string)
- func (p *PreSignedPutObjectUrlResp) SetResourceUrl(val string)
- func (p *PreSignedPutObjectUrlResp) String() string
- func (p *PreSignedPutObjectUrlResp) Write(oprot thrift.TProtocol) (err error)
- type PutObjectReq
- func (p *PutObjectReq) BLength() int
- func (p *PutObjectReq) DeepEqual(ano *PutObjectReq) bool
- func (p *PutObjectReq) FastRead(buf []byte) (int, error)
- func (p *PutObjectReq) FastReadField1(buf []byte) (int, error)
- func (p *PutObjectReq) FastReadField2(buf []byte) (int, error)
- func (p *PutObjectReq) FastReadField3(buf []byte) (int, error)
- func (p *PutObjectReq) FastReadField4(buf []byte) (int, error)
- func (p *PutObjectReq) FastWrite(buf []byte) int
- func (p *PutObjectReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PutObjectReq) Field1DeepEqual(src string) bool
- func (p *PutObjectReq) Field2DeepEqual(src string) bool
- func (p *PutObjectReq) Field3DeepEqual(src []byte) bool
- func (p *PutObjectReq) Field4DeepEqual(src OssPlatformType) bool
- func (p *PutObjectReq) GetBucketName() (v string)
- func (p *PutObjectReq) GetFile() (v []byte)
- func (p *PutObjectReq) GetObjectName() (v string)
- func (p *PutObjectReq) GetType() (v OssPlatformType)
- func (p *PutObjectReq) InitDefault()
- func (p *PutObjectReq) Read(iprot thrift.TProtocol) (err error)
- func (p *PutObjectReq) ReadField1(iprot thrift.TProtocol) error
- func (p *PutObjectReq) ReadField2(iprot thrift.TProtocol) error
- func (p *PutObjectReq) ReadField3(iprot thrift.TProtocol) error
- func (p *PutObjectReq) ReadField4(iprot thrift.TProtocol) error
- func (p *PutObjectReq) SetBucketName(val string)
- func (p *PutObjectReq) SetFile(val []byte)
- func (p *PutObjectReq) SetObjectName(val string)
- func (p *PutObjectReq) SetType(val OssPlatformType)
- func (p *PutObjectReq) String() string
- func (p *PutObjectReq) Write(oprot thrift.TProtocol) (err error)
- type PutObjectResp
- func (p *PutObjectResp) BLength() int
- func (p *PutObjectResp) DeepEqual(ano *PutObjectResp) bool
- func (p *PutObjectResp) FastRead(buf []byte) (int, error)
- func (p *PutObjectResp) FastReadField1(buf []byte) (int, error)
- func (p *PutObjectResp) FastWrite(buf []byte) int
- func (p *PutObjectResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PutObjectResp) Field1DeepEqual(src string) bool
- func (p *PutObjectResp) GetUrl() (v string)
- func (p *PutObjectResp) InitDefault()
- func (p *PutObjectResp) Read(iprot thrift.TProtocol) (err error)
- func (p *PutObjectResp) ReadField1(iprot thrift.TProtocol) error
- func (p *PutObjectResp) SetUrl(val string)
- func (p *PutObjectResp) String() string
- func (p *PutObjectResp) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type OssPlatformType ¶
type OssPlatformType int64
const ( OssPlatformType_UNKNOWN OssPlatformType = 0 OssPlatformType_MINIO OssPlatformType = 1 OssPlatformType_ALI_YUN OssPlatformType = 2 )
func OssPlatformTypeFromString ¶
func OssPlatformTypeFromString(s string) (OssPlatformType, error)
func OssPlatformTypePtr ¶
func OssPlatformTypePtr(v OssPlatformType) *OssPlatformType
func (*OssPlatformType) Scan ¶
func (p *OssPlatformType) Scan(value interface{}) (err error)
func (OssPlatformType) String ¶
func (p OssPlatformType) String() string
type OssService ¶
type OssService interface { PreSignedPutObjectUrl(ctx context.Context, req *PreSignedPutObjectUrlReq) (r *PreSignedPutObjectUrlResp, err error) PutObject(ctx context.Context, req *PutObjectReq) (r *PutObjectResp, err error) }
type OssServiceClient ¶
type OssServiceClient struct {
// contains filtered or unexported fields
}
func NewOssServiceClient ¶
func NewOssServiceClient(c thrift.TClient) *OssServiceClient
func NewOssServiceClientFactory ¶
func NewOssServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *OssServiceClient
func NewOssServiceClientProtocol ¶
func NewOssServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *OssServiceClient
func (*OssServiceClient) Client_ ¶
func (p *OssServiceClient) Client_() thrift.TClient
func (*OssServiceClient) PreSignedPutObjectUrl ¶
func (p *OssServiceClient) PreSignedPutObjectUrl(ctx context.Context, req *PreSignedPutObjectUrlReq) (r *PreSignedPutObjectUrlResp, err error)
func (*OssServiceClient) PutObject ¶
func (p *OssServiceClient) PutObject(ctx context.Context, req *PutObjectReq) (r *PutObjectResp, err error)
type OssServicePreSignedPutObjectUrlArgs ¶
type OssServicePreSignedPutObjectUrlArgs struct {
Req *PreSignedPutObjectUrlReq `thrift:"req,1" frugal:"1,default,PreSignedPutObjectUrlReq" json:"req"`
}
func NewOssServicePreSignedPutObjectUrlArgs ¶
func NewOssServicePreSignedPutObjectUrlArgs() *OssServicePreSignedPutObjectUrlArgs
func (*OssServicePreSignedPutObjectUrlArgs) BLength ¶
func (p *OssServicePreSignedPutObjectUrlArgs) BLength() int
func (*OssServicePreSignedPutObjectUrlArgs) DeepEqual ¶
func (p *OssServicePreSignedPutObjectUrlArgs) DeepEqual(ano *OssServicePreSignedPutObjectUrlArgs) bool
func (*OssServicePreSignedPutObjectUrlArgs) FastRead ¶
func (p *OssServicePreSignedPutObjectUrlArgs) FastRead(buf []byte) (int, error)
func (*OssServicePreSignedPutObjectUrlArgs) FastReadField1 ¶
func (p *OssServicePreSignedPutObjectUrlArgs) FastReadField1(buf []byte) (int, error)
func (*OssServicePreSignedPutObjectUrlArgs) FastWrite ¶
func (p *OssServicePreSignedPutObjectUrlArgs) FastWrite(buf []byte) int
for compatibility
func (*OssServicePreSignedPutObjectUrlArgs) FastWriteNocopy ¶
func (p *OssServicePreSignedPutObjectUrlArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OssServicePreSignedPutObjectUrlArgs) Field1DeepEqual ¶
func (p *OssServicePreSignedPutObjectUrlArgs) Field1DeepEqual(src *PreSignedPutObjectUrlReq) bool
func (*OssServicePreSignedPutObjectUrlArgs) GetFirstArgument ¶
func (p *OssServicePreSignedPutObjectUrlArgs) GetFirstArgument() interface{}
func (*OssServicePreSignedPutObjectUrlArgs) GetReq ¶
func (p *OssServicePreSignedPutObjectUrlArgs) GetReq() (v *PreSignedPutObjectUrlReq)
func (*OssServicePreSignedPutObjectUrlArgs) InitDefault ¶
func (p *OssServicePreSignedPutObjectUrlArgs) InitDefault()
func (*OssServicePreSignedPutObjectUrlArgs) IsSetReq ¶
func (p *OssServicePreSignedPutObjectUrlArgs) IsSetReq() bool
func (*OssServicePreSignedPutObjectUrlArgs) Read ¶
func (p *OssServicePreSignedPutObjectUrlArgs) Read(iprot thrift.TProtocol) (err error)
func (*OssServicePreSignedPutObjectUrlArgs) ReadField1 ¶
func (p *OssServicePreSignedPutObjectUrlArgs) ReadField1(iprot thrift.TProtocol) error
func (*OssServicePreSignedPutObjectUrlArgs) SetReq ¶
func (p *OssServicePreSignedPutObjectUrlArgs) SetReq(val *PreSignedPutObjectUrlReq)
func (*OssServicePreSignedPutObjectUrlArgs) String ¶
func (p *OssServicePreSignedPutObjectUrlArgs) String() string
type OssServicePreSignedPutObjectUrlResult ¶
type OssServicePreSignedPutObjectUrlResult struct {
Success *PreSignedPutObjectUrlResp `thrift:"success,0,optional" frugal:"0,optional,PreSignedPutObjectUrlResp" json:"success,omitempty"`
}
func NewOssServicePreSignedPutObjectUrlResult ¶
func NewOssServicePreSignedPutObjectUrlResult() *OssServicePreSignedPutObjectUrlResult
func (*OssServicePreSignedPutObjectUrlResult) BLength ¶
func (p *OssServicePreSignedPutObjectUrlResult) BLength() int
func (*OssServicePreSignedPutObjectUrlResult) DeepEqual ¶
func (p *OssServicePreSignedPutObjectUrlResult) DeepEqual(ano *OssServicePreSignedPutObjectUrlResult) bool
func (*OssServicePreSignedPutObjectUrlResult) FastRead ¶
func (p *OssServicePreSignedPutObjectUrlResult) FastRead(buf []byte) (int, error)
func (*OssServicePreSignedPutObjectUrlResult) FastReadField0 ¶
func (p *OssServicePreSignedPutObjectUrlResult) FastReadField0(buf []byte) (int, error)
func (*OssServicePreSignedPutObjectUrlResult) FastWrite ¶
func (p *OssServicePreSignedPutObjectUrlResult) FastWrite(buf []byte) int
for compatibility
func (*OssServicePreSignedPutObjectUrlResult) FastWriteNocopy ¶
func (p *OssServicePreSignedPutObjectUrlResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OssServicePreSignedPutObjectUrlResult) Field0DeepEqual ¶
func (p *OssServicePreSignedPutObjectUrlResult) Field0DeepEqual(src *PreSignedPutObjectUrlResp) bool
func (*OssServicePreSignedPutObjectUrlResult) GetResult ¶
func (p *OssServicePreSignedPutObjectUrlResult) GetResult() interface{}
func (*OssServicePreSignedPutObjectUrlResult) GetSuccess ¶
func (p *OssServicePreSignedPutObjectUrlResult) GetSuccess() (v *PreSignedPutObjectUrlResp)
func (*OssServicePreSignedPutObjectUrlResult) InitDefault ¶
func (p *OssServicePreSignedPutObjectUrlResult) InitDefault()
func (*OssServicePreSignedPutObjectUrlResult) IsSetSuccess ¶
func (p *OssServicePreSignedPutObjectUrlResult) IsSetSuccess() bool
func (*OssServicePreSignedPutObjectUrlResult) Read ¶
func (p *OssServicePreSignedPutObjectUrlResult) Read(iprot thrift.TProtocol) (err error)
func (*OssServicePreSignedPutObjectUrlResult) ReadField0 ¶
func (p *OssServicePreSignedPutObjectUrlResult) ReadField0(iprot thrift.TProtocol) error
func (*OssServicePreSignedPutObjectUrlResult) SetSuccess ¶
func (p *OssServicePreSignedPutObjectUrlResult) SetSuccess(x interface{})
func (*OssServicePreSignedPutObjectUrlResult) String ¶
func (p *OssServicePreSignedPutObjectUrlResult) String() string
type OssServiceProcessor ¶
type OssServiceProcessor struct {
// contains filtered or unexported fields
}
func NewOssServiceProcessor ¶
func NewOssServiceProcessor(handler OssService) *OssServiceProcessor
func (*OssServiceProcessor) AddToProcessorMap ¶
func (p *OssServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*OssServiceProcessor) GetProcessorFunction ¶
func (p *OssServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*OssServiceProcessor) Process ¶
func (p *OssServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*OssServiceProcessor) ProcessorMap ¶
func (p *OssServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type OssServicePutObjectArgs ¶
type OssServicePutObjectArgs struct {
Req *PutObjectReq `thrift:"req,1" frugal:"1,default,PutObjectReq" json:"req"`
}
func NewOssServicePutObjectArgs ¶
func NewOssServicePutObjectArgs() *OssServicePutObjectArgs
func (*OssServicePutObjectArgs) BLength ¶
func (p *OssServicePutObjectArgs) BLength() int
func (*OssServicePutObjectArgs) DeepEqual ¶
func (p *OssServicePutObjectArgs) DeepEqual(ano *OssServicePutObjectArgs) bool
func (*OssServicePutObjectArgs) FastRead ¶
func (p *OssServicePutObjectArgs) FastRead(buf []byte) (int, error)
func (*OssServicePutObjectArgs) FastReadField1 ¶
func (p *OssServicePutObjectArgs) FastReadField1(buf []byte) (int, error)
func (*OssServicePutObjectArgs) FastWrite ¶
func (p *OssServicePutObjectArgs) FastWrite(buf []byte) int
for compatibility
func (*OssServicePutObjectArgs) FastWriteNocopy ¶
func (p *OssServicePutObjectArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OssServicePutObjectArgs) Field1DeepEqual ¶
func (p *OssServicePutObjectArgs) Field1DeepEqual(src *PutObjectReq) bool
func (*OssServicePutObjectArgs) GetFirstArgument ¶
func (p *OssServicePutObjectArgs) GetFirstArgument() interface{}
func (*OssServicePutObjectArgs) GetReq ¶
func (p *OssServicePutObjectArgs) GetReq() (v *PutObjectReq)
func (*OssServicePutObjectArgs) InitDefault ¶
func (p *OssServicePutObjectArgs) InitDefault()
func (*OssServicePutObjectArgs) IsSetReq ¶
func (p *OssServicePutObjectArgs) IsSetReq() bool
func (*OssServicePutObjectArgs) Read ¶
func (p *OssServicePutObjectArgs) Read(iprot thrift.TProtocol) (err error)
func (*OssServicePutObjectArgs) ReadField1 ¶
func (p *OssServicePutObjectArgs) ReadField1(iprot thrift.TProtocol) error
func (*OssServicePutObjectArgs) SetReq ¶
func (p *OssServicePutObjectArgs) SetReq(val *PutObjectReq)
func (*OssServicePutObjectArgs) String ¶
func (p *OssServicePutObjectArgs) String() string
type OssServicePutObjectResult ¶
type OssServicePutObjectResult struct {
Success *PutObjectResp `thrift:"success,0,optional" frugal:"0,optional,PutObjectResp" json:"success,omitempty"`
}
func NewOssServicePutObjectResult ¶
func NewOssServicePutObjectResult() *OssServicePutObjectResult
func (*OssServicePutObjectResult) BLength ¶
func (p *OssServicePutObjectResult) BLength() int
func (*OssServicePutObjectResult) DeepEqual ¶
func (p *OssServicePutObjectResult) DeepEqual(ano *OssServicePutObjectResult) bool
func (*OssServicePutObjectResult) FastRead ¶
func (p *OssServicePutObjectResult) FastRead(buf []byte) (int, error)
func (*OssServicePutObjectResult) FastReadField0 ¶
func (p *OssServicePutObjectResult) FastReadField0(buf []byte) (int, error)
func (*OssServicePutObjectResult) FastWrite ¶
func (p *OssServicePutObjectResult) FastWrite(buf []byte) int
for compatibility
func (*OssServicePutObjectResult) FastWriteNocopy ¶
func (p *OssServicePutObjectResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*OssServicePutObjectResult) Field0DeepEqual ¶
func (p *OssServicePutObjectResult) Field0DeepEqual(src *PutObjectResp) bool
func (*OssServicePutObjectResult) GetResult ¶
func (p *OssServicePutObjectResult) GetResult() interface{}
func (*OssServicePutObjectResult) GetSuccess ¶
func (p *OssServicePutObjectResult) GetSuccess() (v *PutObjectResp)
func (*OssServicePutObjectResult) InitDefault ¶
func (p *OssServicePutObjectResult) InitDefault()
func (*OssServicePutObjectResult) IsSetSuccess ¶
func (p *OssServicePutObjectResult) IsSetSuccess() bool
func (*OssServicePutObjectResult) Read ¶
func (p *OssServicePutObjectResult) Read(iprot thrift.TProtocol) (err error)
func (*OssServicePutObjectResult) ReadField0 ¶
func (p *OssServicePutObjectResult) ReadField0(iprot thrift.TProtocol) error
func (*OssServicePutObjectResult) SetSuccess ¶
func (p *OssServicePutObjectResult) SetSuccess(x interface{})
func (*OssServicePutObjectResult) String ¶
func (p *OssServicePutObjectResult) String() string
type PreSignedPutObjectUrlReq ¶
type PreSignedPutObjectUrlReq struct { BucketName string `thrift:"bucket_name,1" frugal:"1,default,string" json:"bucket_name"` ObjectName string `thrift:"object_name,2" frugal:"2,default,string" json:"object_name"` Expiry int32 `thrift:"expiry,3" frugal:"3,default,i32" json:"expiry"` Type OssPlatformType `thrift:"type,4" frugal:"4,default,OssPlatformType" json:"type"` }
var OssServicePreSignedPutObjectUrlArgs_Req_DEFAULT *PreSignedPutObjectUrlReq
func NewPreSignedPutObjectUrlReq ¶
func NewPreSignedPutObjectUrlReq() *PreSignedPutObjectUrlReq
func (*PreSignedPutObjectUrlReq) BLength ¶
func (p *PreSignedPutObjectUrlReq) BLength() int
func (*PreSignedPutObjectUrlReq) DeepEqual ¶
func (p *PreSignedPutObjectUrlReq) DeepEqual(ano *PreSignedPutObjectUrlReq) bool
func (*PreSignedPutObjectUrlReq) FastRead ¶
func (p *PreSignedPutObjectUrlReq) FastRead(buf []byte) (int, error)
func (*PreSignedPutObjectUrlReq) FastReadField1 ¶
func (p *PreSignedPutObjectUrlReq) FastReadField1(buf []byte) (int, error)
func (*PreSignedPutObjectUrlReq) FastReadField2 ¶
func (p *PreSignedPutObjectUrlReq) FastReadField2(buf []byte) (int, error)
func (*PreSignedPutObjectUrlReq) FastReadField3 ¶
func (p *PreSignedPutObjectUrlReq) FastReadField3(buf []byte) (int, error)
func (*PreSignedPutObjectUrlReq) FastReadField4 ¶
func (p *PreSignedPutObjectUrlReq) FastReadField4(buf []byte) (int, error)
func (*PreSignedPutObjectUrlReq) FastWrite ¶
func (p *PreSignedPutObjectUrlReq) FastWrite(buf []byte) int
for compatibility
func (*PreSignedPutObjectUrlReq) FastWriteNocopy ¶
func (p *PreSignedPutObjectUrlReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PreSignedPutObjectUrlReq) Field1DeepEqual ¶
func (p *PreSignedPutObjectUrlReq) Field1DeepEqual(src string) bool
func (*PreSignedPutObjectUrlReq) Field2DeepEqual ¶
func (p *PreSignedPutObjectUrlReq) Field2DeepEqual(src string) bool
func (*PreSignedPutObjectUrlReq) Field3DeepEqual ¶
func (p *PreSignedPutObjectUrlReq) Field3DeepEqual(src int32) bool
func (*PreSignedPutObjectUrlReq) Field4DeepEqual ¶
func (p *PreSignedPutObjectUrlReq) Field4DeepEqual(src OssPlatformType) bool
func (*PreSignedPutObjectUrlReq) GetBucketName ¶
func (p *PreSignedPutObjectUrlReq) GetBucketName() (v string)
func (*PreSignedPutObjectUrlReq) GetExpiry ¶
func (p *PreSignedPutObjectUrlReq) GetExpiry() (v int32)
func (*PreSignedPutObjectUrlReq) GetObjectName ¶
func (p *PreSignedPutObjectUrlReq) GetObjectName() (v string)
func (*PreSignedPutObjectUrlReq) GetType ¶
func (p *PreSignedPutObjectUrlReq) GetType() (v OssPlatformType)
func (*PreSignedPutObjectUrlReq) InitDefault ¶
func (p *PreSignedPutObjectUrlReq) InitDefault()
func (*PreSignedPutObjectUrlReq) Read ¶
func (p *PreSignedPutObjectUrlReq) Read(iprot thrift.TProtocol) (err error)
func (*PreSignedPutObjectUrlReq) ReadField1 ¶
func (p *PreSignedPutObjectUrlReq) ReadField1(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlReq) ReadField2 ¶
func (p *PreSignedPutObjectUrlReq) ReadField2(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlReq) ReadField3 ¶
func (p *PreSignedPutObjectUrlReq) ReadField3(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlReq) ReadField4 ¶
func (p *PreSignedPutObjectUrlReq) ReadField4(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlReq) SetBucketName ¶
func (p *PreSignedPutObjectUrlReq) SetBucketName(val string)
func (*PreSignedPutObjectUrlReq) SetExpiry ¶
func (p *PreSignedPutObjectUrlReq) SetExpiry(val int32)
func (*PreSignedPutObjectUrlReq) SetObjectName ¶
func (p *PreSignedPutObjectUrlReq) SetObjectName(val string)
func (*PreSignedPutObjectUrlReq) SetType ¶
func (p *PreSignedPutObjectUrlReq) SetType(val OssPlatformType)
func (*PreSignedPutObjectUrlReq) String ¶
func (p *PreSignedPutObjectUrlReq) String() string
type PreSignedPutObjectUrlResp ¶
type PreSignedPutObjectUrlResp struct { PreSignedUrl string `thrift:"pre_signed_url,1" frugal:"1,default,string" json:"pre_signed_url"` ResourceUrl string `thrift:"resource_url,2" frugal:"2,default,string" json:"resource_url"` }
var OssServicePreSignedPutObjectUrlResult_Success_DEFAULT *PreSignedPutObjectUrlResp
func NewPreSignedPutObjectUrlResp ¶
func NewPreSignedPutObjectUrlResp() *PreSignedPutObjectUrlResp
func (*PreSignedPutObjectUrlResp) BLength ¶
func (p *PreSignedPutObjectUrlResp) BLength() int
func (*PreSignedPutObjectUrlResp) DeepEqual ¶
func (p *PreSignedPutObjectUrlResp) DeepEqual(ano *PreSignedPutObjectUrlResp) bool
func (*PreSignedPutObjectUrlResp) FastRead ¶
func (p *PreSignedPutObjectUrlResp) FastRead(buf []byte) (int, error)
func (*PreSignedPutObjectUrlResp) FastReadField1 ¶
func (p *PreSignedPutObjectUrlResp) FastReadField1(buf []byte) (int, error)
func (*PreSignedPutObjectUrlResp) FastReadField2 ¶
func (p *PreSignedPutObjectUrlResp) FastReadField2(buf []byte) (int, error)
func (*PreSignedPutObjectUrlResp) FastWrite ¶
func (p *PreSignedPutObjectUrlResp) FastWrite(buf []byte) int
for compatibility
func (*PreSignedPutObjectUrlResp) FastWriteNocopy ¶
func (p *PreSignedPutObjectUrlResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PreSignedPutObjectUrlResp) Field1DeepEqual ¶
func (p *PreSignedPutObjectUrlResp) Field1DeepEqual(src string) bool
func (*PreSignedPutObjectUrlResp) Field2DeepEqual ¶
func (p *PreSignedPutObjectUrlResp) Field2DeepEqual(src string) bool
func (*PreSignedPutObjectUrlResp) GetPreSignedUrl ¶
func (p *PreSignedPutObjectUrlResp) GetPreSignedUrl() (v string)
func (*PreSignedPutObjectUrlResp) GetResourceUrl ¶
func (p *PreSignedPutObjectUrlResp) GetResourceUrl() (v string)
func (*PreSignedPutObjectUrlResp) InitDefault ¶
func (p *PreSignedPutObjectUrlResp) InitDefault()
func (*PreSignedPutObjectUrlResp) Read ¶
func (p *PreSignedPutObjectUrlResp) Read(iprot thrift.TProtocol) (err error)
func (*PreSignedPutObjectUrlResp) ReadField1 ¶
func (p *PreSignedPutObjectUrlResp) ReadField1(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlResp) ReadField2 ¶
func (p *PreSignedPutObjectUrlResp) ReadField2(iprot thrift.TProtocol) error
func (*PreSignedPutObjectUrlResp) SetPreSignedUrl ¶
func (p *PreSignedPutObjectUrlResp) SetPreSignedUrl(val string)
func (*PreSignedPutObjectUrlResp) SetResourceUrl ¶
func (p *PreSignedPutObjectUrlResp) SetResourceUrl(val string)
func (*PreSignedPutObjectUrlResp) String ¶
func (p *PreSignedPutObjectUrlResp) String() string
type PutObjectReq ¶
type PutObjectReq struct { BucketName string `thrift:"bucket_name,1" frugal:"1,default,string" json:"bucket_name"` ObjectName string `thrift:"object_name,2" frugal:"2,default,string" json:"object_name"` File []byte `thrift:"file,3" frugal:"3,default,binary" json:"file"` Type OssPlatformType `thrift:"type,4" frugal:"4,default,OssPlatformType" json:"type"` }
var OssServicePutObjectArgs_Req_DEFAULT *PutObjectReq
func NewPutObjectReq ¶
func NewPutObjectReq() *PutObjectReq
func (*PutObjectReq) BLength ¶
func (p *PutObjectReq) BLength() int
func (*PutObjectReq) DeepEqual ¶
func (p *PutObjectReq) DeepEqual(ano *PutObjectReq) bool
func (*PutObjectReq) FastReadField1 ¶
func (p *PutObjectReq) FastReadField1(buf []byte) (int, error)
func (*PutObjectReq) FastReadField2 ¶
func (p *PutObjectReq) FastReadField2(buf []byte) (int, error)
func (*PutObjectReq) FastReadField3 ¶
func (p *PutObjectReq) FastReadField3(buf []byte) (int, error)
func (*PutObjectReq) FastReadField4 ¶
func (p *PutObjectReq) FastReadField4(buf []byte) (int, error)
func (*PutObjectReq) FastWriteNocopy ¶
func (p *PutObjectReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PutObjectReq) Field1DeepEqual ¶
func (p *PutObjectReq) Field1DeepEqual(src string) bool
func (*PutObjectReq) Field2DeepEqual ¶
func (p *PutObjectReq) Field2DeepEqual(src string) bool
func (*PutObjectReq) Field3DeepEqual ¶
func (p *PutObjectReq) Field3DeepEqual(src []byte) bool
func (*PutObjectReq) Field4DeepEqual ¶
func (p *PutObjectReq) Field4DeepEqual(src OssPlatformType) bool
func (*PutObjectReq) GetBucketName ¶
func (p *PutObjectReq) GetBucketName() (v string)
func (*PutObjectReq) GetFile ¶
func (p *PutObjectReq) GetFile() (v []byte)
func (*PutObjectReq) GetObjectName ¶
func (p *PutObjectReq) GetObjectName() (v string)
func (*PutObjectReq) GetType ¶
func (p *PutObjectReq) GetType() (v OssPlatformType)
func (*PutObjectReq) InitDefault ¶
func (p *PutObjectReq) InitDefault()
func (*PutObjectReq) ReadField1 ¶
func (p *PutObjectReq) ReadField1(iprot thrift.TProtocol) error
func (*PutObjectReq) ReadField2 ¶
func (p *PutObjectReq) ReadField2(iprot thrift.TProtocol) error
func (*PutObjectReq) ReadField3 ¶
func (p *PutObjectReq) ReadField3(iprot thrift.TProtocol) error
func (*PutObjectReq) ReadField4 ¶
func (p *PutObjectReq) ReadField4(iprot thrift.TProtocol) error
func (*PutObjectReq) SetBucketName ¶
func (p *PutObjectReq) SetBucketName(val string)
func (*PutObjectReq) SetFile ¶
func (p *PutObjectReq) SetFile(val []byte)
func (*PutObjectReq) SetObjectName ¶
func (p *PutObjectReq) SetObjectName(val string)
func (*PutObjectReq) SetType ¶
func (p *PutObjectReq) SetType(val OssPlatformType)
func (*PutObjectReq) String ¶
func (p *PutObjectReq) String() string
type PutObjectResp ¶
type PutObjectResp struct {
Url string `thrift:"url,1" frugal:"1,default,string" json:"url"`
}
var OssServicePutObjectResult_Success_DEFAULT *PutObjectResp
func NewPutObjectResp ¶
func NewPutObjectResp() *PutObjectResp
func (*PutObjectResp) BLength ¶
func (p *PutObjectResp) BLength() int
func (*PutObjectResp) DeepEqual ¶
func (p *PutObjectResp) DeepEqual(ano *PutObjectResp) bool
func (*PutObjectResp) FastReadField1 ¶
func (p *PutObjectResp) FastReadField1(buf []byte) (int, error)
func (*PutObjectResp) FastWrite ¶
func (p *PutObjectResp) FastWrite(buf []byte) int
for compatibility
func (*PutObjectResp) FastWriteNocopy ¶
func (p *PutObjectResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PutObjectResp) Field1DeepEqual ¶
func (p *PutObjectResp) Field1DeepEqual(src string) bool
func (*PutObjectResp) GetUrl ¶
func (p *PutObjectResp) GetUrl() (v string)
func (*PutObjectResp) InitDefault ¶
func (p *PutObjectResp) InitDefault()
func (*PutObjectResp) ReadField1 ¶
func (p *PutObjectResp) ReadField1(iprot thrift.TProtocol) error
func (*PutObjectResp) SetUrl ¶
func (p *PutObjectResp) SetUrl(val string)
func (*PutObjectResp) String ¶
func (p *PutObjectResp) String() string
Click to show internal directories.
Click to hide internal directories.