Documentation ¶
Overview ¶
Package datamover is a generated protocol buffer package.
It is generated from these files:
datamover.proto
It has these top-level messages:
KV Filter Connector RunJobRequest RunJobResponse LifecycleActionRequest LifecycleActionResonse
Index ¶
- func RegisterDatamoverHandler(s server.Server, hdlr DatamoverHandler, opts ...server.HandlerOption) error
- type Connector
- func (*Connector) Descriptor() ([]byte, []int)
- func (m *Connector) GetBucketName() string
- func (m *Connector) GetConnConfig() []*KV
- func (m *Connector) GetType() string
- func (*Connector) ProtoMessage()
- func (m *Connector) Reset()
- func (m *Connector) String() string
- func (m *Connector) XXX_DiscardUnknown()
- func (m *Connector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Connector) XXX_Merge(src proto.Message)
- func (m *Connector) XXX_Size() int
- func (m *Connector) XXX_Unmarshal(b []byte) error
- type DatamoverHandler
- type DatamoverService
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (m *Filter) GetPrefix() string
- func (m *Filter) GetTag() []*KV
- func (*Filter) ProtoMessage()
- func (m *Filter) Reset()
- func (m *Filter) String() string
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Filter) XXX_Merge(src proto.Message)
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type KV
- func (*KV) Descriptor() ([]byte, []int)
- func (m *KV) GetKey() string
- func (m *KV) GetValue() string
- func (*KV) ProtoMessage()
- func (m *KV) Reset()
- func (m *KV) String() string
- func (m *KV) XXX_DiscardUnknown()
- func (m *KV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KV) XXX_Merge(src proto.Message)
- func (m *KV) XXX_Size() int
- func (m *KV) XXX_Unmarshal(b []byte) error
- type LifecycleActionRequest
- func (*LifecycleActionRequest) Descriptor() ([]byte, []int)
- func (m *LifecycleActionRequest) GetAction() int32
- func (m *LifecycleActionRequest) GetBucketName() string
- func (m *LifecycleActionRequest) GetLastModified() int64
- func (m *LifecycleActionRequest) GetObjKey() string
- func (m *LifecycleActionRequest) GetObjSize() int64
- func (m *LifecycleActionRequest) GetSourceBackend() string
- func (m *LifecycleActionRequest) GetSourceTier() int32
- func (m *LifecycleActionRequest) GetTargetBackend() string
- func (m *LifecycleActionRequest) GetTargetTier() int32
- func (m *LifecycleActionRequest) GetUploadId() string
- func (*LifecycleActionRequest) ProtoMessage()
- func (m *LifecycleActionRequest) Reset()
- func (m *LifecycleActionRequest) String() string
- func (m *LifecycleActionRequest) XXX_DiscardUnknown()
- func (m *LifecycleActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LifecycleActionRequest) XXX_Merge(src proto.Message)
- func (m *LifecycleActionRequest) XXX_Size() int
- func (m *LifecycleActionRequest) XXX_Unmarshal(b []byte) error
- type LifecycleActionResonse
- func (*LifecycleActionResonse) Descriptor() ([]byte, []int)
- func (m *LifecycleActionResonse) GetErr() string
- func (*LifecycleActionResonse) ProtoMessage()
- func (m *LifecycleActionResonse) Reset()
- func (m *LifecycleActionResonse) String() string
- func (m *LifecycleActionResonse) XXX_DiscardUnknown()
- func (m *LifecycleActionResonse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LifecycleActionResonse) XXX_Merge(src proto.Message)
- func (m *LifecycleActionResonse) XXX_Size() int
- func (m *LifecycleActionResonse) XXX_Unmarshal(b []byte) error
- type RunJobRequest
- func (*RunJobRequest) Descriptor() ([]byte, []int)
- func (m *RunJobRequest) GetDestConn() *Connector
- func (m *RunJobRequest) GetFilt() *Filter
- func (m *RunJobRequest) GetId() string
- func (m *RunJobRequest) GetRemainSource() bool
- func (m *RunJobRequest) GetSourceConn() *Connector
- func (*RunJobRequest) ProtoMessage()
- func (m *RunJobRequest) Reset()
- func (m *RunJobRequest) String() string
- func (m *RunJobRequest) XXX_DiscardUnknown()
- func (m *RunJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RunJobRequest) XXX_Merge(src proto.Message)
- func (m *RunJobRequest) XXX_Size() int
- func (m *RunJobRequest) XXX_Unmarshal(b []byte) error
- type RunJobResponse
- func (*RunJobResponse) Descriptor() ([]byte, []int)
- func (m *RunJobResponse) GetErr() string
- func (*RunJobResponse) ProtoMessage()
- func (m *RunJobResponse) Reset()
- func (m *RunJobResponse) String() string
- func (m *RunJobResponse) XXX_DiscardUnknown()
- func (m *RunJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RunJobResponse) XXX_Merge(src proto.Message)
- func (m *RunJobResponse) XXX_Size() int
- func (m *RunJobResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDatamoverHandler ¶
func RegisterDatamoverHandler(s server.Server, hdlr DatamoverHandler, opts ...server.HandlerOption) error
Types ¶
type Connector ¶
type Connector struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` BucketName string `protobuf:"bytes,2,opt,name=BucketName,proto3" json:"BucketName,omitempty"` ConnConfig []*KV `protobuf:"bytes,3,rep,name=ConnConfig,proto3" json:"ConnConfig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Connector) Descriptor ¶
func (*Connector) GetBucketName ¶
func (*Connector) GetConnConfig ¶
func (*Connector) ProtoMessage ¶
func (*Connector) ProtoMessage()
func (*Connector) XXX_DiscardUnknown ¶
func (m *Connector) XXX_DiscardUnknown()
func (*Connector) XXX_Marshal ¶
func (*Connector) XXX_Unmarshal ¶
type DatamoverHandler ¶
type DatamoverHandler interface { Runjob(context.Context, *RunJobRequest, *RunJobResponse) error DoLifecycleAction(context.Context, *LifecycleActionRequest, *LifecycleActionResonse) error }
type DatamoverService ¶
type DatamoverService interface { Runjob(ctx context.Context, in *RunJobRequest, opts ...client.CallOption) (*RunJobResponse, error) DoLifecycleAction(ctx context.Context, in *LifecycleActionRequest, opts ...client.CallOption) (*LifecycleActionResonse, error) }
func NewDatamoverService ¶
func NewDatamoverService(name string, c client.Client) DatamoverService
type Filter ¶
type Filter struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Tag []*KV `protobuf:"bytes,2,rep,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Filter) Descriptor ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) XXX_DiscardUnknown ¶
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶
func (*Filter) XXX_Unmarshal ¶
type KV ¶
type KV struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KV) Descriptor ¶
func (*KV) ProtoMessage ¶
func (*KV) ProtoMessage()
func (*KV) XXX_DiscardUnknown ¶
func (m *KV) XXX_DiscardUnknown()
func (*KV) XXX_Unmarshal ¶
type LifecycleActionRequest ¶ added in v0.5.3
type LifecycleActionRequest struct { ObjKey string `protobuf:"bytes,1,opt,name=objKey,proto3" json:"objKey,omitempty"` BucketName string `protobuf:"bytes,2,opt,name=bucketName,proto3" json:"bucketName,omitempty"` Action int32 `protobuf:"varint,3,opt,name=action,proto3" json:"action,omitempty"` SourceTier int32 `protobuf:"varint,4,opt,name=sourceTier,proto3" json:"sourceTier,omitempty"` TargetTier int32 `protobuf:"varint,5,opt,name=targetTier,proto3" json:"targetTier,omitempty"` SourceBackend string `protobuf:"bytes,6,opt,name=sourceBackend,proto3" json:"sourceBackend,omitempty"` TargetBackend string `protobuf:"bytes,7,opt,name=targetBackend,proto3" json:"targetBackend,omitempty"` ObjSize int64 `protobuf:"varint,8,opt,name=objSize,proto3" json:"objSize,omitempty"` LastModified int64 `protobuf:"varint,9,opt,name=lastModified,proto3" json:"lastModified,omitempty"` UploadId string `protobuf:"bytes,10,opt,name=uploadId,proto3" json:"uploadId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LifecycleActionRequest) Descriptor ¶ added in v0.5.3
func (*LifecycleActionRequest) Descriptor() ([]byte, []int)
func (*LifecycleActionRequest) GetAction ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetAction() int32
func (*LifecycleActionRequest) GetBucketName ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetBucketName() string
func (*LifecycleActionRequest) GetLastModified ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetLastModified() int64
func (*LifecycleActionRequest) GetObjKey ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetObjKey() string
func (*LifecycleActionRequest) GetObjSize ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetObjSize() int64
func (*LifecycleActionRequest) GetSourceBackend ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetSourceBackend() string
func (*LifecycleActionRequest) GetSourceTier ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetSourceTier() int32
func (*LifecycleActionRequest) GetTargetBackend ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetTargetBackend() string
func (*LifecycleActionRequest) GetTargetTier ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetTargetTier() int32
func (*LifecycleActionRequest) GetUploadId ¶ added in v0.5.3
func (m *LifecycleActionRequest) GetUploadId() string
func (*LifecycleActionRequest) ProtoMessage ¶ added in v0.5.3
func (*LifecycleActionRequest) ProtoMessage()
func (*LifecycleActionRequest) Reset ¶ added in v0.5.3
func (m *LifecycleActionRequest) Reset()
func (*LifecycleActionRequest) String ¶ added in v0.5.3
func (m *LifecycleActionRequest) String() string
func (*LifecycleActionRequest) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *LifecycleActionRequest) XXX_DiscardUnknown()
func (*LifecycleActionRequest) XXX_Marshal ¶ added in v0.5.3
func (m *LifecycleActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LifecycleActionRequest) XXX_Merge ¶ added in v0.5.3
func (dst *LifecycleActionRequest) XXX_Merge(src proto.Message)
func (*LifecycleActionRequest) XXX_Size ¶ added in v0.5.3
func (m *LifecycleActionRequest) XXX_Size() int
func (*LifecycleActionRequest) XXX_Unmarshal ¶ added in v0.5.3
func (m *LifecycleActionRequest) XXX_Unmarshal(b []byte) error
type LifecycleActionResonse ¶ added in v0.5.3
type LifecycleActionResonse struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LifecycleActionResonse) Descriptor ¶ added in v0.5.3
func (*LifecycleActionResonse) Descriptor() ([]byte, []int)
func (*LifecycleActionResonse) GetErr ¶ added in v0.5.3
func (m *LifecycleActionResonse) GetErr() string
func (*LifecycleActionResonse) ProtoMessage ¶ added in v0.5.3
func (*LifecycleActionResonse) ProtoMessage()
func (*LifecycleActionResonse) Reset ¶ added in v0.5.3
func (m *LifecycleActionResonse) Reset()
func (*LifecycleActionResonse) String ¶ added in v0.5.3
func (m *LifecycleActionResonse) String() string
func (*LifecycleActionResonse) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *LifecycleActionResonse) XXX_DiscardUnknown()
func (*LifecycleActionResonse) XXX_Marshal ¶ added in v0.5.3
func (m *LifecycleActionResonse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LifecycleActionResonse) XXX_Merge ¶ added in v0.5.3
func (dst *LifecycleActionResonse) XXX_Merge(src proto.Message)
func (*LifecycleActionResonse) XXX_Size ¶ added in v0.5.3
func (m *LifecycleActionResonse) XXX_Size() int
func (*LifecycleActionResonse) XXX_Unmarshal ¶ added in v0.5.3
func (m *LifecycleActionResonse) XXX_Unmarshal(b []byte) error
type RunJobRequest ¶
type RunJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SourceConn *Connector `protobuf:"bytes,2,opt,name=sourceConn,proto3" json:"sourceConn,omitempty"` DestConn *Connector `protobuf:"bytes,3,opt,name=destConn,proto3" json:"destConn,omitempty"` Filt *Filter `protobuf:"bytes,4,opt,name=filt,proto3" json:"filt,omitempty"` RemainSource bool `protobuf:"varint,5,opt,name=remainSource,proto3" json:"remainSource,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunJobRequest) Descriptor ¶
func (*RunJobRequest) Descriptor() ([]byte, []int)
func (*RunJobRequest) GetDestConn ¶
func (m *RunJobRequest) GetDestConn() *Connector
func (*RunJobRequest) GetFilt ¶
func (m *RunJobRequest) GetFilt() *Filter
func (*RunJobRequest) GetId ¶
func (m *RunJobRequest) GetId() string
func (*RunJobRequest) GetRemainSource ¶
func (m *RunJobRequest) GetRemainSource() bool
func (*RunJobRequest) GetSourceConn ¶
func (m *RunJobRequest) GetSourceConn() *Connector
func (*RunJobRequest) ProtoMessage ¶
func (*RunJobRequest) ProtoMessage()
func (*RunJobRequest) Reset ¶
func (m *RunJobRequest) Reset()
func (*RunJobRequest) String ¶
func (m *RunJobRequest) String() string
func (*RunJobRequest) XXX_DiscardUnknown ¶
func (m *RunJobRequest) XXX_DiscardUnknown()
func (*RunJobRequest) XXX_Marshal ¶
func (m *RunJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunJobRequest) XXX_Merge ¶
func (dst *RunJobRequest) XXX_Merge(src proto.Message)
func (*RunJobRequest) XXX_Size ¶
func (m *RunJobRequest) XXX_Size() int
func (*RunJobRequest) XXX_Unmarshal ¶
func (m *RunJobRequest) XXX_Unmarshal(b []byte) error
type RunJobResponse ¶
type RunJobResponse struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunJobResponse) Descriptor ¶
func (*RunJobResponse) Descriptor() ([]byte, []int)
func (*RunJobResponse) GetErr ¶
func (m *RunJobResponse) GetErr() string
func (*RunJobResponse) ProtoMessage ¶
func (*RunJobResponse) ProtoMessage()
func (*RunJobResponse) Reset ¶
func (m *RunJobResponse) Reset()
func (*RunJobResponse) String ¶
func (m *RunJobResponse) String() string
func (*RunJobResponse) XXX_DiscardUnknown ¶
func (m *RunJobResponse) XXX_DiscardUnknown()
func (*RunJobResponse) XXX_Marshal ¶
func (m *RunJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunJobResponse) XXX_Merge ¶
func (dst *RunJobResponse) XXX_Merge(src proto.Message)
func (*RunJobResponse) XXX_Size ¶
func (m *RunJobResponse) XXX_Size() int
func (*RunJobResponse) XXX_Unmarshal ¶
func (m *RunJobResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.