Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for updatedAnnotations (0.32 sec)

  1. staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go

    			return 0, err
    		}
    		i -= size
    		i = encodeVarintGenerated(dAtA, i, uint64(size))
    	}
    	i--
    	dAtA[i] = 0x1a
    	if len(m.UpdatedAnnotations) > 0 {
    		keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
    		for k := range m.UpdatedAnnotations {
    			keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
    		}
    		github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 293.3K bytes
    - Viewed (0)
  2. pkg/registry/apps/deployment/storage/storage.go

    			return nil, err
    		}
    	}
    
    	// Update the Deployment with information in DeploymentRollback to trigger rollback
    	err := r.rollbackDeployment(ctx, rollback.Name, &rollback.RollbackTo, rollback.UpdatedAnnotations, dryrun.IsDryRun(options.DryRun))
    	if err != nil {
    		return nil, err
    	}
    	return &metav1.Status{
    		Status:  metav1.StatusSuccess,
    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. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_DeploymentRollback_To_apps_DeploymentRollback(in *v1beta1.DeploymentRollback, out *apps.DeploymentRollback, s conversion.Scope) error {
    	out.Name = in.Name
    	out.UpdatedAnnotations = *(*map[string]string)(unsafe.Pointer(&in.UpdatedAnnotations))
    	if err := Convert_v1beta1_RollbackConfig_To_apps_RollbackConfig(&in.RollbackTo, &out.RollbackTo, s); err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apps/v1beta1/generated.proto

    message DeploymentRollback {
      // Required: This must match the Name of a deployment.
      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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
    	// The annotations to be updated to a deployment
    	// +optional
    	UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"`
    	// The config of this deployment rollback.
    	RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"`
    }
    
    // DEPRECATED.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go

    	"":                   "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.",
    	"name":               "Required: This must match the Name of a deployment.",
    	"updatedAnnotations": "The annotations to be updated to a deployment",
    	"rollbackTo":         "The config of this deployment rollback.",
    }
    
    func (DeploymentRollback) SwaggerDoc() map[string]string {
    	return map_DeploymentRollback
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/generated.proto

    message DeploymentRollback {
      // Required: This must match the Name of a deployment.
      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)
  8. pkg/apis/apps/validation/validation_test.go

    		}
    	}
    }
    
    func validDeploymentRollback() *apps.DeploymentRollback {
    	return &apps.DeploymentRollback{
    		Name: "abc",
    		UpdatedAnnotations: map[string]string{
    			"created-by": "abc",
    		},
    		RollbackTo: apps.RollbackConfig{
    			Revision: 1,
    		},
    	}
    }
    
    func TestValidateDeploymentUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  9. pkg/apis/apps/types.go

    // DEPRECATED.
    type DeploymentRollback struct {
    	metav1.TypeMeta
    	// Required: This must match the Name of a deployment.
    	Name string
    	// The annotations to be updated to a deployment
    	// +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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go

    	"":                   "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.",
    	"name":               "Required: This must match the Name of a deployment.",
    	"updatedAnnotations": "The annotations to be updated to a deployment",
    	"rollbackTo":         "The config of this deployment rollback.",
    }
    
    func (DeploymentRollback) SwaggerDoc() map[string]string {
    	return map_DeploymentRollback
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 42.5K bytes
    - Viewed (0)
Back to top