Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GitRepoVolumeSource (0.22 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.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)
Back to top