Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for updatedAnnotations (0.2 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.DeploymentRollback.json

    {
      "kind": "DeploymentRollback",
      "apiVersion": "apps/v1beta1",
      "name": "nameValue",
      "updatedAnnotations": {
        "updatedAnnotationsKey": "updatedAnnotationsValue"
      },
      "rollbackTo": {
        "revision": 1
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 216 bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta1.DeploymentRollback.yaml

    apiVersion: apps/v1beta1
    kind: DeploymentRollback
    name: nameValue
    rollbackTo:
      revision: 1
    updatedAnnotations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 161 bytes
    - Viewed (0)
  3. pkg/registry/apps/deployment/storage/storage_test.go

    	testCases := map[string]struct {
    		rollback apps.DeploymentRollback
    		errOK    func(error) bool
    	}{
    		"normal": {
    			rollback: apps.DeploymentRollback{
    				Name:               name,
    				UpdatedAnnotations: map[string]string{},
    				RollbackTo:         apps.RollbackConfig{Revision: 1},
    			},
    			errOK: func(err error) bool { return err == nil },
    		},
    		"noAnnotation": {
    			rollback: apps.DeploymentRollback{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go

    func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	if in.UpdatedAnnotations != nil {
    		in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	out.RollbackTo = in.RollbackTo
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  5. pkg/apis/apps/zz_generated.deepcopy.go

    func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	if in.UpdatedAnnotations != nil {
    		in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	out.RollbackTo = in.RollbackTo
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 24.7K bytes
    - Viewed (0)
  6. pkg/apis/apps/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: Tue Nov 08 15:48:09 UTC 2022
    - 52.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/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
    - 169.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/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:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go

    func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	if in.UpdatedAnnotations != nil {
    		in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	out.RollbackTo = in.RollbackTo
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  10. pkg/apis/apps/validation/validation.go

    }
    
    // ValidateDeploymentRollback validates a given DeploymentRollback.
    func ValidateDeploymentRollback(obj *apps.DeploymentRollback) field.ErrorList {
    	allErrs := apivalidation.ValidateAnnotations(obj.UpdatedAnnotations, field.NewPath("updatedAnnotations"))
    	if len(obj.Name) == 0 {
    		allErrs = append(allErrs, field.Required(field.NewPath("name"), "name is required"))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top