- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,002 for Struct (0.71 sec)
-
cmd/endpoint-ellipses_test.go
import ( "fmt" "reflect" "testing" "github.com/minio/pkg/v3/ellipses" ) // Tests create endpoints with ellipses and without. func TestCreateServerEndpoints(t *testing.T) { testCases := []struct { serverAddr string args []string success bool }{ // Invalid input. {"", []string{}, false}, // Range cannot be negative. {":9000", []string{"/export1{-1...1}"}, false},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.1K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.6K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
// MetaValue wraps a decoded interface value with the document // position and depth at which the value was parsed type MetaValue struct { Offset int Length int Depth int Value any ValueType ValueType } // KV contains a key and value pair parsed from a decoded object type KV struct { Key string `json:"key"` Value any `json:"value"` } // KVS - represents key values in an JSON objectRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
cmd/mrf.go
type PartialOperation struct { Bucket string Object string VersionID string Versions []byte SetIndex, PoolIndex int Queued time.Time BitrotScan bool } // mrfState sncapsulates all the information // related to the global background MRF. type mrfState struct { opCh chan PartialOperation closed int32Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 6.5K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package lifecycle import ( "encoding/xml" "fmt" "testing" ) func TestDelMarkerExpParseAndValidate(t *testing.T) { tests := []struct { xml string err error }{ { xml: `<DelMarkerExpiration> <Days> 1 </Days> </DelMarkerExpiration>`, err: nil, }, { xml: `<DelMarkerExpiration> <Days> -1 </Days> </DelMarkerExpiration>`,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/config/dns/store.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dns // Error - DNS related errors error. type Error struct { Bucket string Err error } // ErrInvalidBucketName for buckets with invalid name type ErrInvalidBucketName Error func (e ErrInvalidBucketName) Error() string {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
internal/s3select/json/errors.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package json type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
cmd/os-readdir-common.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd // Options for readDir function call type readDirOpts struct { // The maximum number of entries to return count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/amztime/iso8601_time_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package amztime import ( "testing" "time" ) func TestISO8601Format(t *testing.T) { testCases := []struct { date time.Time expectedOutput string }{ { date: time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC), expectedOutput: "2009-11-13T04:51:01.940Z", }, {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.8K bytes - Viewed (0) -
internal/amztime/parse_test.go
// Package amztime implements AWS specific time parsing and deviations package amztime import ( "errors" "testing" "time" ) func TestParse(t *testing.T) { type testCase struct { expectedErr error expectedTime time.Time timeStr string } testCases := []testCase{ { ErrMalformedDate, time.Time{}, "Tue Sep 6 07:10:23 PM PDT 2022", }, { nil,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.6K bytes - Viewed (0)