Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for GitRepoVolumeSource (0.69 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go

    // with apply.
    type GitRepoVolumeSourceApplyConfiguration struct {
    	Repository *string `json:"repository,omitempty"`
    	Revision   *string `json:"revision,omitempty"`
    	Directory  *string `json:"directory,omitempty"`
    }
    
    // GitRepoVolumeSourceApplyConfiguration constructs an declarative configuration of the GitRepoVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. pkg/volume/git_repo/git_repo_test.go

    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: gitURL,
    						Revision:   "--bar",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo.go

    	return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID)
    }
    
    func getVolumeSource(spec *volume.Spec) (*v1.GitRepoVolumeSource, bool) {
    	var readOnly bool
    	var volumeSource *v1.GitRepoVolumeSource
    
    	if spec.Volume != nil && spec.Volume.GitRepo != nil {
    		volumeSource = spec.Volume.GitRepo
    		readOnly = spec.ReadOnly
    	}
    
    	return volumeSource, readOnly
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.GitRepoVolumeSource)(nil), (*core.GitRepoVolumeSource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_GitRepoVolumeSource_To_core_GitRepoVolumeSource(a.(*v1.GitRepoVolumeSource), b.(*core.GitRepoVolumeSource), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource.
    func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource {
    	if in == nil {
    		return nil
    	}
    	out := new(GitRepoVolumeSource)
    	in.DeepCopyInto(out)
    	return 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

    func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource.
    func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource {
    	if in == nil {
    		return nil
    	}
    	out := new(GitRepoVolumeSource)
    	in.DeepCopyInto(out)
    	return 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/api/pod/warnings_test.go

    		},
    		{
    			name: "gitRepo",
    			template: &api.PodTemplateSpec{Spec: api.PodSpec{
    				Volumes: []api.Volume{
    					{Name: "s", VolumeSource: api.VolumeSource{GitRepo: &api.GitRepoVolumeSource{}}},
    				}},
    			},
    			expected: []string{`spec.volumes[0].gitRepo: deprecated in v1.11`},
    		},
    		{
    			name: "scaleIO",
    			template: &api.PodTemplateSpec{Spec: api.PodSpec{
    				Volumes: []api.Volume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/generated.pb.go

    func (m *GitRepoVolumeSource) Reset()      { *m = GitRepoVolumeSource{} }
    func (*GitRepoVolumeSource) ProtoMessage() {}
    func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{66}
    }
    func (m *GitRepoVolumeSource) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  9. pkg/apis/core/types.go

    	// 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.
    	// +optional
    	Secret *SecretVolumeSource
    	// NFS represents an NFS mount on the host that shares a pod's lifetime
    	// +optional
    	NFS *NFSVolumeSource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    				VolumeSource: core.VolumeSource{
    					GitRepo: &core.GitRepoVolumeSource{
    						Repository: "my-repo",
    						Revision:   "hashstring",
    						Directory:  "target",
    					},
    				},
    			},
    		}, {
    			name: "valid GitRepo in .",
    			vol: core.Volume{
    				Name: "git-repo-dot",
    				VolumeSource: core.VolumeSource{
    					GitRepo: &core.GitRepoVolumeSource{
    						Repository: "my-repo",
    						Directory:  ".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top