- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 166 for dryrun (0.49 sec)
-
cmd/kubeadm/app/phases/upgrade/postupgrade.go
func GetKubeletDir(dryRun bool) (string, error) { if dryRun { return kubeadmconstants.CreateTempDirForKubeadm("", "kubeadm-upgrade-dryrun") } return kubeadmconstants.KubeletRunDirectory, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient.go
if len(group) == 0 { group = "core" } fmt.Fprintf(w, "[dryrun] Would perform action %s on resource %q in API group \"%s/%s\"\n", strings.ToUpper(action.GetVerb()), action.GetResource().Resource, group, action.GetResource().Version) namedAction, ok := action.(actionWithName) if ok { fmt.Fprintf(w, "[dryrun] Resource name: %q\n", namedAction.GetName()) } objAction, ok := action.(actionWithObject)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.conversion.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:25 UTC 2023 - 21.6K bytes - Viewed (0) -
pkg/kube/adapter.go
// OldObject is the existing object. Only populated for DELETE and UPDATE requests. OldObject runtime.RawExtension `json:"oldObject,omitempty"` // DryRun indicates that modifications will definitely not be persisted for this request. // Defaults to false. DryRun *bool `json:"dryRun,omitempty"` // Options is the operation option structure of the operation being performed.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 10 16:40:00 UTC 2023 - 13.2K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
} func writeFiles(dir string, files map[string]string, dryRun bool) { defer logRuntime(time.Now(), "Done writing files for dir %v", dir) for fname, text := range files { writeFile(filepath.Join(dir, fname), text, dryRun) } } func writeFile(path, text string, dryRun bool) { if dryRun { return } if strings.TrimSpace(text) == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage.go
return nil, err } } err = r.assignPod(ctx, binding.UID, binding.ResourceVersion, binding.Name, binding.Target.Name, binding.Annotations, dryrun.IsDryRun(options.DryRun)) out = &metav1.Status{Status: metav1.StatusSuccess} return } // PreserveRequestObjectMetaSystemFieldsOnSubresourceCreate indicates to a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
} func (al *Allocators) txnAllocClusterIPs(service *api.Service, dryRun bool) (transaction, error) { // clusterIPs that were allocated may need to be released in case of // failure at a higher level. allocated, err := al.allocClusterIPs(service, dryRun) if err != nil { return nil, err } txn := callbackTransaction{ revert: func() { if dryRun { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/bitmap.go
return r.allocate(ip, dryRunFalse) } func (r *Range) allocate(ip net.IP, dryRun bool) error { label := r.CIDR() ok, offset := r.contains(ip) if !ok { if !dryRun { // update metrics r.metrics.incrementAllocationErrors(label.String(), "static") } return &ErrNotInRange{ip, r.net.String()} } if dryRun { // Don't bother to check whether the IP is actually free. It's racy and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 10.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs.go
if cert, err := pkiutil.TryLoadCertFromDisk(data.CertificateDir(), ca.BaseName); err == nil { certsphase.CheckCertificatePeriodValidity(ca.BaseName, cert) // If CA Cert existed while dryrun, copy CA Cert to dryrun dir for later use if data.DryRun() { err := kubeadmutil.CopyFile(filepath.Join(data.CertificateDir(), kubeadmconstants.CACertName), filepath.Join(data.CertificateWriteDir(), kubeadmconstants.CACertName)) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 06:35:45 UTC 2024 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
admission.Create, patchToCreateOptions(options), dryrun.IsDryRun(options.DryRun), userInfo) staticUpdateAttributes := admission.NewAttributesRecord( nil, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Update, patchToUpdateOptions(options), dryrun.IsDryRun(options.DryRun), userInfo, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0)