diff --git a/aliases.go b/aliases.go index 4b8b902c..53aa8b16 100644 --- a/aliases.go +++ b/aliases.go @@ -24,12 +24,6 @@ import ( "github.com/minio-io/minio/pkg/iodine" ) -// Alias for S3 hosts, saved in mc json configuration file -type mcAlias struct { - Name string // Any alphanumeric string /^[a-zA-Z0-9-_]+$/ - URL string // Eg.: https://s3.amazonaws.com/ -} - // validAliasURL: use net/url.Parse to validate var validAliasName = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-]+$") diff --git a/cmd-options.go b/cmd-options.go index 82656449..125ad2d3 100644 --- a/cmd-options.go +++ b/cmd-options.go @@ -17,8 +17,6 @@ package main import ( - "net/url" - "github.com/minio-io/cli" ) @@ -165,22 +163,6 @@ EXAMPLES: } ) -type object struct { - scheme string // protocol type: possible values are http, https, nil - host string - // Bucket name can also be a DNS name. "." is allowed, with certain restrictions. - // Read more at http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html - bucket string - key string - url *url.URL -} - -type cmdArgs struct { - quiet bool - source object - destination object -} - var options = []cli.Command{ cpCmd, lsCmd, diff --git a/globals.go b/globals.go index dc849102..e2aaa53c 100644 --- a/globals.go +++ b/globals.go @@ -21,7 +21,3 @@ var ( globalQuietFlag = false // Quiet flag set via command line globalDebugFlag = false // Debug flag set via command line ) - -const ( - globalMaxKeys = 1000 // Maximum number of keys to fetch per request -)