kubernetes/pkg/volume/secret/secret.go

// ProbeVolumePlugins is the entry point for plugin detection in a package.
func ProbeVolumePlugins() []volume.VolumePlugin {}

const secretPluginName

type secretPlugin

var _

func wrappedVolumeSpec() volume.Spec {}

func getPath(uid types.UID, volName string, host volume.VolumeHost) string {}

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

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

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

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

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

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

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

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

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

func (plugin *secretPlugin) ConstructVolumeSpec(volName, mountPath string) (volume.ReconstructedVolume, error) {}

type secretVolume

var _

func (sv *secretVolume) GetPath() string {}

type secretVolumeMounter

var _

func (sv *secretVolume) GetAttributes() volume.Attributes {}

func (b *secretVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {}

func (b *secretVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {}

// MakePayload function is exported so that it can be called from the projection volume driver
func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32, optional bool) (map[string]volumeutil.FileProjection, error) {}

func totalSecretBytes(secret *v1.Secret) int {}

type secretVolumeUnmounter

var _

func (c *secretVolumeUnmounter) TearDown() error {}

func (c *secretVolumeUnmounter) TearDownAt(dir string) error {}

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