MCPcopy
hub / github.com/seaweedfs/seaweedfs / HTTPClient

Interface HTTPClient

weed/operation/upload_content.go:117–119  ·  view source on GitHub ↗

HTTPClient interface for testing

Source from the content-addressed store, hash-verified

115
116// HTTPClient interface for testing
117type HTTPClient interface {
118 Do(req *http.Request) (*http.Response, error)
119}
120
121// Uploader
122type Uploader struct {

Callers 14

NewUploaderFunction · 0.65
upload_contentMethod · 0.65
readChunkNeedleFunction · 0.65
proxyToLeaderMethod · 0.80
DoMethod · 0.95
NormalizeHttpSchemeMethod · 0.95
copyEntryViaFilerMethod · 0.80
proxyToLeaderMethod · 0.80
GetMethod · 0.95
PostMethod · 0.95
PostFormMethod · 0.95

Implementers 15

commandVolumeListweed/shell/command_volume_list.go
commandVolumeScrubweed/shell/command_volume_scrub.go
commandS3UserProvisionweed/shell/command_s3_user_provision.g
commandVolumeFixReplicationweed/shell/command_volume_fix_replicat
commandVolumeMarkweed/shell/command_volume_mark.go
commandS3AccessKeyDeleteweed/shell/command_s3_accesskey_delete
commandFsPwdweed/shell/command_fs_pwd.go
commandRaftServerRemoveweed/shell/command_cluster_raft_remove
commandFsDistributeChunksweed/shell/command_fs_distribute_chunk
commandEcRebuildweed/shell/command_ec_rebuild.go
commandS3GroupListweed/shell/command_s3_group_list.go
commandS3AnonymousSetweed/shell/command_s3_anonymous_set.go

Calls

no outgoing calls

Tested by

no test coverage detected