- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getVolumeSource (0.14 sec)
-
pkg/volume/nfs/nfs.go
return nil } func (plugin *nfsPlugin) GetPluginName() string { return nfsPluginName } func (plugin *nfsPlugin) GetVolumeName(spec *volume.Spec) (string, error) { volumeSource, _, err := getVolumeSource(spec) if err != nil { return "", err } return fmt.Sprintf( "%v/%v", volumeSource.Server, volumeSource.Path), nil } func (plugin *nfsPlugin) CanSupport(spec *volume.Spec) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/volume/fc/attacher.go
if os.IsNotExist(err) { if err := os.MkdirAll(deviceMountPath, 0750); err != nil { return err } notMnt = true } else { return err } } volumeSource, readOnly, err := getVolumeSource(spec) if err != nil { return err } options := []string{} if readOnly { options = append(options, "ro") } if mountArgs.SELinuxLabel != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 31 12:02:51 UTC 2022 - 7.5K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo.go
return nil } func (plugin *gitRepoPlugin) GetPluginName() string { return gitRepoPluginName } func (plugin *gitRepoPlugin) GetVolumeName(spec *volume.Spec) (string, error) { volumeSource, _ := getVolumeSource(spec) if volumeSource == nil { return "", fmt.Errorf("Spec does not reference a Git repo volume type") } return fmt.Sprintf( "%v:%v:%v", volumeSource.Repository, volumeSource.Revision,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/volume/secret/secret.go
return nil } func (plugin *secretPlugin) GetPluginName() string { return secretPluginName } func (plugin *secretPlugin) GetVolumeName(spec *volume.Spec) (string, error) { volumeSource, _ := getVolumeSource(spec) if volumeSource == nil { return "", fmt.Errorf("Spec does not reference a Secret volume type") } return volumeSource.SecretName, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.1K bytes - Viewed (0)