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
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 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
}
type DatamoverService ¶
type DatamoverService interface {
Runjob(ctx context.Context, in *RunJobRequest, opts ...client.CallOption) (*RunJobResponse, 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 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.