Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 117 for Getcwd (0.24 sec)

  1. cmd/config.go

    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    
    // Initialize and load config from remote etcd or local config directory
    func initConfig(objAPI ObjectLayer) (err error) {
    	bootstrapTraceMsg("load the configuration")
    	defer func() {
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/default_storage_factory_builder.go

    	c.EtcdServersOverrides = etcdOptions.EtcdServersOverrides
    	return &completedStorageFactoryConfig{c}
    }
    
    // completedStorageFactoryConfig is a wrapper around StorageFactoryConfig completed with etcd options.
    //
    // Note: this struct is intentionally unexported so that it can only be constructed via a StorageFactoryConfig.Complete
    // call. The implied consequence is that this does not comply with golint.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/errors.go

    func NewInvalidError(errors field.ErrorList) InvalidError {
    	return InvalidError{errors}
    }
    
    // InternalError is generated when an error occurs in the storage package, i.e.,
    // not from the underlying storage backend (e.g., etcd).
    type InternalError struct {
    	Reason string
    }
    
    func (e InternalError) Error() string {
    	return e.Reason
    }
    
    // IsInternalError returns true if and only if err is an InternalError.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:39:10 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apiserverinternal/v1alpha1/types.go

    	// The ID of the reporting API server.
    	APIServerID string `json:"apiServerID,omitempty" protobuf:"bytes,1,opt,name=apiServerID"`
    
    	// The API server encodes the object to this version when persisting it in
    	// the backend (e.g., etcd).
    	EncodingVersion string `json:"encodingVersion,omitempty" protobuf:"bytes,2,opt,name=encodingVersion"`
    
    	// The API server can decode objects encoded in these versions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/os/path_windows_test.go

    	// is exercised even if long path are supported by the system, else the
    	// function might not be tested at all if/when all test builders support long paths.
    	cwd, err := os.Getwd()
    	if err != nil {
    		t.Fatal("cannot get cwd")
    	}
    	drive := strings.ToLower(filepath.VolumeName(cwd))
    	cwd = strings.ToLower(cwd[len(drive)+1:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. pkg/webhooks/webhookpatch.go

    		// If there is a conflict beyond this, it means Istiods are seeing different ca certs and are in inconsistent
    		// state for longer duration. Slowdown the retries, so that we do not overload kube api server and etcd.
    		controllers.WithRateLimiter(workqueue.NewItemFastSlowRateLimiter(100*time.Millisecond, 1*time.Minute, 5)),
    		// Webhook patching has to be retried forever. But the retries would be rate limited.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    		Duration: 0,
    	}
    	obj.ControllerManager.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.APIServer.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.Scheduler.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.Etcd.Local.ExtraEnvs = []kubeadm.EnvVar{}
    	obj.EncryptionAlgorithm = kubeadm.EncryptionAlgorithmRSA2048
    	obj.Proxy.Disabled = false
    	obj.CertificateValidityPeriod = &metav1.Duration{Duration: constants.CertificateValidityPeriod}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/validation.go

    				errs = append(errs, err)
    			}
    		}
    	}
    
    	return errs
    }
    
    func validateMaxCIDRRange(cidr net.IPNet, maxCIDRBits int, cidrFlag string) error {
    	// Should be smallish sized cidr, this thing is kept in etcd
    	// bigger cidr (specially those offered by IPv6) will add no value
    	// significantly increase snapshotting time.
    	var ones, bits = cidr.Mask.Size()
    	if bits-ones > maxCIDRBits {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. hack/make-rules/test-cmd.sh

        --secure-port="${SECURE_API_PORT}" \
        --feature-gates="${ENABLE_FEATURE_GATES}" \
        --enable-admission-plugins="${ENABLE_ADMISSION_PLUGINS}" \
        --disable-admission-plugins="${DISABLE_ADMISSION_PLUGINS}" \
        --etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
        --runtime-config=api/v1 \
        --service-account-key-file="${SERVICE_ACCOUNT_KEY}" \
        --service-account-lookup="${SERVICE_ACCOUNT_LOOKUP}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/path/filepath/match_test.go

    		p = strings.Replace(p, `\`, `*\`, 1)
    		p = strings.Replace(p, `:`, `:\`, 1)
    		if err := test.globAbs(tmpDir, p); err != nil {
    			t.Error(err)
    		}
    	}
    
    	// test relative paths
    	wd, err := os.Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = os.Chdir(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() {
    		err := os.Chdir(wd)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top