kubernetes/pkg/volume/git_repo/git_repo.go

// This is the primary entrypoint for volume plugins.
func ProbeVolumePlugins() []volume.VolumePlugin {}

type gitRepoPlugin

var _

func wrappedVolumeSpec() volume.Spec {}

const gitRepoPluginName

func (plugin *gitRepoPlugin) Init(host volume.VolumeHost) error {}

func (plugin *gitRepoPlugin) GetPluginName() string {}

func (plugin *gitRepoPlugin) GetVolumeName(spec *volume.Spec) (string, error) {}

func (plugin *gitRepoPlugin) CanSupport(spec *volume.Spec) bool {}

func (plugin *gitRepoPlugin) RequiresRemount(spec *volume.Spec) bool {}

func (plugin *gitRepoPlugin) SupportsMountOption() bool {}

func (plugin *gitRepoPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) {}

func (plugin *gitRepoPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod) (volume.Mounter, error) {}

func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {}

func (plugin *gitRepoPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) {}

type gitRepoVolume

var _

func (gr *gitRepoVolume) GetPath() string {}

type gitRepoVolumeMounter

var _

func (b *gitRepoVolumeMounter) GetAttributes() volume.Attributes {}

// SetUp creates new directory and clones a git repo.
func (b *gitRepoVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {}

// SetUpAt creates new directory and clones a git repo.
func (b *gitRepoVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {}

func (b *gitRepoVolumeMounter) getMetaDir() string {}

func (b *gitRepoVolumeMounter) execCommand(command string, args []string, dir string) ([]byte, error) {}

func validateVolume(src *v1.GitRepoVolumeSource) error {}

type gitRepoVolumeUnmounter

var _

// TearDown simply deletes everything in the directory.
func (c *gitRepoVolumeUnmounter) TearDown() error {}

// TearDownAt simply deletes everything in the directory.
func (c *gitRepoVolumeUnmounter) TearDownAt(dir string) error {}

func getVolumeSource(spec *volume.Spec) (*v1.GitRepoVolumeSource, bool) {}

func validateNonFlagArgument(arg, argName string) error {}