service

package
v0.0.0-...-7066132 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVolumeMount

func CreateVolumeMount(name string, path string) corev1.VolumeMount

func DiffPodPatch

func DiffPodPatch(oldPod, newPod corev1.Pod) ([]byte, error)

Types

type Sidecar

type Sidecar struct {
	Type             SidecarType
	Container        corev1.Container
	EmptyDir         corev1.Volume
	PersistentVolume corev1.Volume
}

func CreateSidecar

func CreateSidecar(t SidecarType, namespace string) (*Sidecar, error)

type SidecarType

type SidecarType string
const (
	SidecarTypeAtop     SidecarType = "atop"
	SidecarTypeFilebeat SidecarType = "filebeat"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL