- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 207 for fmtF (0.25 sec)
-
src/crypto/tls/handshake_client_test.go
if c.Version != version { return fmt.Errorf("%s: got Version %v, want %v", errorType, c.Version, version) } if c.HandshakeComplete { return fmt.Errorf("%s: got HandshakeComplete, want false", errorType) } if c.ServerName != "example.golang" { return fmt.Errorf("%s: got ServerName %s, want %s", errorType, c.ServerName, "example.golang") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
err := cacher.watchCache.Add(&examplev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: fmt.Sprintf("pod-%d", i), Namespace: "ns", ResourceVersion: fmt.Sprintf("%v", resourceVersion+uint64(i)), }}) if err != nil { errc <- fmt.Errorf("failed to add a pod: %v", err) return } time.Sleep(100 * time.Millisecond) } }()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
cmd/sts-handlers_test.go
for i, testApp := range testApps { configCmds := []string{ fmt.Sprintf("identity_openid:%d", i), fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL), fmt.Sprintf("client_id=%s", testApp.ClientID), fmt.Sprintf("client_secret=%s", testApp.ClientSecret), "scopes=openid,groups", fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL), } if rolePolicies[i] != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 18:45:50 UTC 2024 - 90K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
return fmt.Errorf("storageClassName does not match") } if storagehelpers.CheckVolumeModeMismatches(&claim.Spec, &volume.Spec) { return fmt.Errorf("incompatible volumeMode") } if !storagehelpers.CheckAccessModes(claim, volume) { return fmt.Errorf("incompatible accessMode") } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
src/encoding/json/decode_test.go
return []byte(fmt.Sprintf(`"Z%.2x"`, byte(b))), nil } func (b *byteWithMarshalJSON) UnmarshalJSON(data []byte) error { if len(data) != 5 || data[0] != '"' || data[1] != 'Z' || data[4] != '"' { return fmt.Errorf("bad quoted string") } i, err := strconv.ParseInt(string(data[2:4]), 16, 8) if err != nil { return fmt.Errorf("bad hex") } *b = byteWithMarshalJSON(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache_test.go
for i := 0; i < 8; i++ { pod := st.MakePod().Name(fmt.Sprintf("p-pvc-%v", i)).Namespace("test-ns").UID(fmt.Sprintf("puid-pvc-%v", i)). PVC(fmt.Sprintf("test-pvc%v", i%4)).Node(fmt.Sprintf("test-node%v", i%2)).Obj() podsWithPVC = append(podsWithPVC, pod) } var cache *cacheImpl var snapshot *Snapshot type operation = func(t *testing.T) addNode := func(i int) operation {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 01:38:03 UTC 2023 - 63.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
func CheckGodebug(verb, k, v string) error { if strings.ContainsAny(k, " \t") { return fmt.Errorf("key contains space") } if strings.ContainsAny(v, " \t") { return fmt.Errorf("value contains space") } if strings.ContainsAny(k, ",") { return fmt.Errorf("key contains comma") } if strings.ContainsAny(v, ",") { return fmt.Errorf("value contains comma") } if k == "default" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
See the License for the specific language governing permissions and limitations under the License. */ package kuberuntime import ( "context" "errors" "fmt" "io" "math/rand" "net/url" "os" "path/filepath" "regexp" goruntime "runtime" "sort" "strconv" "strings" "sync" "time" crierror "k8s.io/cri-api/pkg/errors"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
err = errors.Join(fmt.Errorf("found containerfs.available for hard eviction. ignoring")) hardContainerFsDisk = idx } if threshold.Signal == evictionapi.SignalContainerFsAvailable && !isHardEvictionThreshold(threshold) { err = errors.Join(fmt.Errorf("found containerfs.available for soft eviction. ignoring")) softContainerFsDisk = idx }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 52.6K bytes - Viewed (0)