Documentation ¶
Index ¶
- func Connector() *common.Connector
- type Client
- type SourceFile
- func (s *SourceFile) Delete(ctx context.Context) error
- func (s *SourceFile) Do(ctx context.Context) error
- func (s *SourceFile) FileDir() string
- func (s *SourceFile) FileName() string
- func (s *SourceFile) FullPath() string
- func (s *SourceFile) Hash() string
- func (s *SourceFile) Load(ctx context.Context) ([]byte, error)
- func (s *SourceFile) Metadata() string
- func (s *SourceFile) Request(ctx context.Context, bucketType string, bucketName string) (*types.Request, error)
- func (s *SourceFile) RootDir() string
- type TargetsMetadata
- type TargetsRequest
- func (r *TargetsRequest) MarshalBinary() []byte
- func (r *TargetsRequest) SetData(value []byte) *TargetsRequest
- func (r *TargetsRequest) SetMetadata(value TargetsMetadata) *TargetsRequest
- func (r *TargetsRequest) SetMetadataKeyValue(key, value string) *TargetsRequest
- func (r *TargetsRequest) Size() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Start ¶
func (c *Client) Start(ctx context.Context, target middleware.Middleware) error
type SourceFile ¶
type SourceFile struct { Object minio.ObjectInfo Bucket string // contains filtered or unexported fields }
func NewSourceFile ¶
func NewSourceFile(c *minio.Client, bucket string, obj minio.ObjectInfo) *SourceFile
func (*SourceFile) FileDir ¶
func (s *SourceFile) FileDir() string
func (*SourceFile) FileName ¶
func (s *SourceFile) FileName() string
func (*SourceFile) FullPath ¶
func (s *SourceFile) FullPath() string
func (*SourceFile) Hash ¶
func (s *SourceFile) Hash() string
func (*SourceFile) Metadata ¶
func (s *SourceFile) Metadata() string
func (*SourceFile) RootDir ¶
func (s *SourceFile) RootDir() string
type TargetsMetadata ¶
func NewTargetMetadata ¶
func NewTargetMetadata() TargetsMetadata
func (TargetsMetadata) Set ¶
func (m TargetsMetadata) Set(key, value string) TargetsMetadata
func (TargetsMetadata) String ¶
func (m TargetsMetadata) String() string
type TargetsRequest ¶
type TargetsRequest struct { Metadata TargetsMetadata `json:"metadata,omitempty"` Data []byte `json:"data,omitempty"` }
func NewTargetsRequest ¶
func NewTargetsRequest() *TargetsRequest
func ParseRequest ¶
func ParseRequest(body []byte) (*TargetsRequest, error)
func (*TargetsRequest) MarshalBinary ¶
func (r *TargetsRequest) MarshalBinary() []byte
func (*TargetsRequest) SetData ¶
func (r *TargetsRequest) SetData(value []byte) *TargetsRequest
func (*TargetsRequest) SetMetadata ¶
func (r *TargetsRequest) SetMetadata(value TargetsMetadata) *TargetsRequest
func (*TargetsRequest) SetMetadataKeyValue ¶
func (r *TargetsRequest) SetMetadataKeyValue(key, value string) *TargetsRequest
func (*TargetsRequest) Size ¶
func (r *TargetsRequest) Size() float64
Click to show internal directories.
Click to hide internal directories.