Documentation ¶
Index ¶
- type PodHandler
- func (p *PodHandler) Command(filePath string) []string
- func (p *PodHandler) Container(name string, volumeMount corev1.VolumeMount, command []string) corev1.Container
- func (p *PodHandler) ContainerNames(containers []corev1.Container) []string
- func (p *PodHandler) ContainerizedVolumeName(containerName string, volumePath string) string
- func (p *PodHandler) Containers(filePaths []string, volumePaths []string, containerName string) []corev1.Container
- func (p *PodHandler) Handle(ctx context.Context, req admission.Request) admission.Response
- func (p *PodHandler) Volumes(volumePaths []string) []corev1.Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodHandler ¶
PodHandler .
func (*PodHandler) Command ¶
func (p *PodHandler) Command(filePath string) []string
Command returns the desired command for the current filetailer
func (*PodHandler) Container ¶
func (p *PodHandler) Container(name string, volumeMount corev1.VolumeMount, command []string) corev1.Container
Container returns the assembled container for the current tailer
func (*PodHandler) ContainerNames ¶
func (p *PodHandler) ContainerNames(containers []corev1.Container) []string
ContainerNames .
func (*PodHandler) ContainerizedVolumeName ¶
func (p *PodHandler) ContainerizedVolumeName(containerName string, volumePath string) string
ContainerizedVolumeName .
func (*PodHandler) Containers ¶
func (p *PodHandler) Containers(filePaths []string, volumePaths []string, containerName string) []corev1.Container
Containers assembles the required containers
Click to show internal directories.
Click to hide internal directories.