Documentation ¶
Index ¶
- func NewDefaultPostStartScriptGenerator() *defaultPostStartScriptGenerator
- func NewUnprivilegedPostStartScriptGenerator() *unprivilegedPostStartScriptGenerator
- type ScriptGeneratorForApp
- func (a *ScriptGeneratorForApp) BuildConfigmap() *corev1.ConfigMap
- func (a *ScriptGeneratorForApp) GetPostStartCommand(mountPaths string, mountTypes string) (handler *corev1.LifecycleHandler)
- func (a *ScriptGeneratorForApp) GetVolume() (v corev1.Volume)
- func (a *ScriptGeneratorForApp) GetVolumeMount() (vm corev1.VolumeMount)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultPostStartScriptGenerator ¶
func NewDefaultPostStartScriptGenerator() *defaultPostStartScriptGenerator
func NewUnprivilegedPostStartScriptGenerator ¶
func NewUnprivilegedPostStartScriptGenerator() *unprivilegedPostStartScriptGenerator
Types ¶
type ScriptGeneratorForApp ¶
type ScriptGeneratorForApp struct {
// contains filtered or unexported fields
}
func NewScriptGeneratorForApp ¶
func NewScriptGeneratorForApp(namespace string) *ScriptGeneratorForApp
func (*ScriptGeneratorForApp) BuildConfigmap ¶
func (a *ScriptGeneratorForApp) BuildConfigmap() *corev1.ConfigMap
func (*ScriptGeneratorForApp) GetPostStartCommand ¶
func (a *ScriptGeneratorForApp) GetPostStartCommand(mountPaths string, mountTypes string) (handler *corev1.LifecycleHandler)
func (*ScriptGeneratorForApp) GetVolume ¶
func (a *ScriptGeneratorForApp) GetVolume() (v corev1.Volume)
func (*ScriptGeneratorForApp) GetVolumeMount ¶
func (a *ScriptGeneratorForApp) GetVolumeMount() (vm corev1.VolumeMount)
Click to show internal directories.
Click to hide internal directories.