Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for getRepo (0.16 sec)

  1. pkg/apis/core/validation/validation_test.go

    			name: "GitRepo contains ..",
    			vol: core.Volume{
    				Name: "gitrepo",
    				VolumeSource: core.VolumeSource{
    					GitRepo: &core.GitRepoVolumeSource{
    						Repository: "foo",
    						Directory:  "dots/../bar",
    					},
    				},
    			},
    			errs: []verr{{
    				etype:  field.ErrorTypeInvalid,
    				field:  "gitRepo.directory",
    				detail: `must not contain '..'`,
    			}},
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    // Local means the volume is using storage from the local disk that is managed by kubelet.
    // Ephemeral means the lifecycle of the volume is the same as the Pod.
    func IsLocalEphemeralVolume(volume v1.Volume) bool {
    	return volume.GitRepo != nil ||
    		(volume.EmptyDir != nil && volume.EmptyDir.Medium == v1.StorageMediumDefault) ||
    		volume.ConfigMap != nil
    }
    
    // GetLocalPersistentVolumeNodeNames returns the node affinity node name(s) for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation.go

    		}
    	}
    	if source.GitRepo != nil {
    		if numVolumes > 0 {
    			allErrs = append(allErrs, field.Forbidden(fldPath.Child("gitRepo"), "may not specify more than 1 volume type"))
    		} else {
    			numVolumes++
    			allErrs = append(allErrs, validateGitRepoVolumeSource(source.GitRepo, fldPath.Child("gitRepo"))...)
    		}
    	}
    	if source.GCEPersistentDisk != nil {
    		if numVolumes > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/types.go

    	// gitRepo represents a git repository at a particular revision.
    	// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
    	// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
    	// into the Pod's container.
    	// +optional
    	GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty" protobuf:"bytes,5,opt,name=gitRepo"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    	}
    	if in.AWSElasticBlockStore != nil {
    		in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
    		*out = new(AWSElasticBlockStoreVolumeSource)
    		**out = **in
    	}
    	if in.GitRepo != nil {
    		in, out := &in.GitRepo, &out.GitRepo
    		*out = new(GitRepoVolumeSource)
    		**out = **in
    	}
    	if in.Secret != nil {
    		in, out := &in.Secret, &out.Secret
    		*out = new(SecretVolumeSource)
    		(*in).DeepCopyInto(*out)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	}
    	if in.AWSElasticBlockStore != nil {
    		in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore
    		*out = new(AWSElasticBlockStoreVolumeSource)
    		**out = **in
    	}
    	if in.GitRepo != nil {
    		in, out := &in.GitRepo, &out.GitRepo
    		*out = new(GitRepoVolumeSource)
    		**out = **in
    	}
    	if in.Secret != nil {
    		in, out := &in.Secret, &out.Secret
    		*out = new(SecretVolumeSource)
    		(*in).DeepCopyInto(*out)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  7. pkg/apis/core/types.go

    	// +optional
    	AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource
    	// GitRepo represents a git repository at a particular revision.
    	// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
    	// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
    	// into the Pod's container.
    	// +optional
    	GitRepo *GitRepoVolumeSource
    	// Secret represents a secret that should populate this volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"gitRepo":               "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      // gitRepo represents a git repository at a particular revision.
      // DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
      // EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
      // into the Pod's container.
      // +optional
      optional GitRepoVolumeSource gitRepo = 5;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/zz_generated.conversion.go

    	out.AWSElasticBlockStore = (*core.AWSElasticBlockStoreVolumeSource)(unsafe.Pointer(in.AWSElasticBlockStore))
    	out.GitRepo = (*core.GitRepoVolumeSource)(unsafe.Pointer(in.GitRepo))
    	out.Secret = (*core.SecretVolumeSource)(unsafe.Pointer(in.Secret))
    	out.NFS = (*core.NFSVolumeSource)(unsafe.Pointer(in.NFS))
    	out.ISCSI = (*core.ISCSIVolumeSource)(unsafe.Pointer(in.ISCSI))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top