Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for RollbackConfig (0.19 sec)

  1. pkg/apis/apps/v1/conversion.go

    			return fmt.Errorf("failed to parse annotation[%s]=%s as int64: %v", appsv1.DeprecatedRollbackTo, revision, err)
    		} else {
    			out.Spec.RollbackTo = new(apps.RollbackConfig)
    			out.Spec.RollbackTo.Revision = revision64
    		}
    		out.Annotations = deepCopyStringMap(out.Annotations)
    		delete(out.Annotations, appsv1.DeprecatedRollbackTo)
    	} else {
    		out.Spec.RollbackTo = nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. pkg/registry/apps/deployment/storage/storage.go

    		Code:    http.StatusOK,
    	}, nil
    }
    
    func (r *RollbackREST) rollbackDeployment(ctx context.Context, deploymentID string, config *apps.RollbackConfig, annotations map[string]string, dryRun bool) error {
    	if _, err := r.setDeploymentRollback(ctx, deploymentID, config, annotations, dryRun); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go

    func (m *RollbackConfig) Reset()      { *m = RollbackConfig{} }
    func (*RollbackConfig) ProtoMessage() {}
    func (*RollbackConfig) Descriptor() ([]byte, []int) {
    	return fileDescriptor_90a532284de28347, []int{39}
    }
    func (m *RollbackConfig) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 293.3K bytes
    - Viewed (0)
  4. pkg/apis/apps/types.go

    	// +optional
    	UpdatedAnnotations map[string]string
    	// The config of this deployment rollback.
    	RollbackTo RollbackConfig
    }
    
    // RollbackConfig specifies the state of a revision to roll back to.
    // DEPRECATED.
    type RollbackConfig struct {
    	// The revision to rollback to. If set to 0, rollback to the last revision.
    	// +optional
    	Revision int64
    }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      optional string name = 1;
    
      // The annotations to be updated to a deployment
      // +optional
      map<string, string> updatedAnnotations = 2;
    
      // The config of this deployment rollback.
      optional RollbackConfig rollbackTo = 3;
    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    message DeploymentSpec {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1beta2/conversion.go

    			return fmt.Errorf("failed to parse annotation[%s]=%s as int64: %v", appsv1beta2.DeprecatedRollbackTo, revision, err)
    		} else {
    			out.Spec.RollbackTo = new(apps.RollbackConfig)
    			out.Spec.RollbackTo.Revision = revision64
    		}
    		out.Annotations = deepCopyStringMap(out.Annotations)
    		delete(out.Annotations, appsv1beta2.DeprecatedRollbackTo)
    	} else {
    		out.Spec.RollbackTo = nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// The config of this deployment rollback.
    	RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"`
    }
    
    // DEPRECATED.
    type RollbackConfig struct {
    	// The revision to rollback to. If set to 0, rollback to the last revision.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      optional string name = 1;
    
      // The annotations to be updated to a deployment
      // +optional
      map<string, string> updatedAnnotations = 2;
    
      // The config of this deployment rollback.
      optional RollbackConfig rollbackTo = 3;
    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    message DeploymentSpec {
      // Number of desired pods. This is a pointer to distinguish between explicit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. pkg/apis/apps/validation/validation.go

    		allErrs = append(allErrs, field.NotSupported(fldPath, strategy, validValues))
    	}
    	return allErrs
    }
    
    // ValidateRollback validates given RollbackConfig.
    func ValidateRollback(rollback *apps.RollbackConfig, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	v := rollback.Revision
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      optional string name = 1;
    
      // The annotations to be updated to a deployment
      // +optional
      map<string, string> updatedAnnotations = 2;
    
      // The config of this deployment rollback.
      optional RollbackConfig rollbackTo = 3;
    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    message DeploymentSpec {
      // Number of desired pods. This is a pointer to distinguish between explicit
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top