- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 1,241 for _strict (0.12 sec)
-
internal/config/heal/heal.go
EnvSleep = "MINIO_HEAL_MAX_SLEEP" EnvIOCount = "MINIO_HEAL_MAX_IO" EnvDriveWorkers = "MINIO_HEAL_DRIVE_WORKERS" ) var configMutex sync.RWMutex // Config represents the heal settings. type Config struct { // Bitrot will perform bitrot scan on local disk when checking objects. Bitrot string `json:"bitrotscan"` // maximum sleep duration between objects to slow down heal operation. Sleep time.Duration `json:"sleep"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
"istio.io/istio/pkg/cluster" "istio.io/istio/pkg/test/util/assert" istioversion "istio.io/istio/pkg/version" "istio.io/istio/tests/util" ) func TestXdsStatusWriter_PrintAll(t *testing.T) { tests := []struct { name string input map[string]*discovery.DiscoveryResponse want string wantErr bool }{ { name: "prints multiple istiod inputs to buffer in alphabetical order by pod name",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/authtype_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[authTypeUnknown-0] _ = x[authTypeAnonymous-1] _ = x[authTypePresigned-2] _ = x[authTypePresignedV2-3] _ = x[authTypePostPolicy-4] _ = x[authTypeStreamingSigned-5] _ = x[authTypeSigned-6]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 1.1K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables.go
// limitations under the License. // This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin type iptables struct{} func newIPTables() InterceptRuleMgr { return &iptables{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 810 bytes - Viewed (0) -
internal/config/ilm/ilm.go
Key: transitionWorkers, Value: "100", }, config.KV{ Key: expirationWorkers, Value: "100", }, } // Config represents the different configuration values for ILM subsystem type Config struct { TransitionWorkers int ExpirationWorkers int } // LookupConfig - lookup ilm config and override with valid environment settings if any. func LookupConfig(kvs config.KVS) (cfg Config, err error) { cfg = Config{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 1.9K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
} f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) { r, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil { return } type file struct { header *FileHeader content []byte } files := []file{} for _, f := range r.File { fr, err := f.Open() if err != nil { continue } content, err := io.ReadAll(fr)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
internal/dsync/dsync-server_test.go
func getLockArgs(r *http.Request) (args LockArgs, err error) { buf, err := io.ReadAll(r.Body) if err != nil { return args, err } _, err = args.UnmarshalMsg(buf) return args, err } type lockServerHandler struct { lsrv *lockServer } func (lh *lockServerHandler) writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusForbidden) w.Write([]byte(err.Error())) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 23 16:46:37 UTC 2023 - 8.3K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
// "s3", // "aws4_request", // },SlashSeparator) func TestParseCredentialHeader(t *testing.T) { sampleTimeStr := UTCNow().Format(yyyymmdd) testCases := []struct { inputCredentialStr string expectedCredentials credentialHeader expectedErrCode APIErrorCode }{ // Test Case - 1. // Test case with no '=' in te inputCredentialStr. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 27.4K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
} func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "error": fmt.Sprintf("%v", err), }) } type Result struct { Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
internal/config/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config // HelpKV - implements help messages for keys // with value as description of the keys. type HelpKV struct { Key string `json:"key"` Type string `json:"type"` Description string `json:"description"` Optional bool `json:"optional"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 23 14:45:27 UTC 2023 - 2.8K bytes - Viewed (0)