pod

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplication

func NewApplication(pod *corev1.Pod) common.FluidApplication

Types

type PodApplication

type PodApplication struct {
	// contains filtered or unexported fields
}

func (*PodApplication) GetObject

func (u *PodApplication) GetObject() runtime.Object

func (*PodApplication) GetPodSpecs

func (u *PodApplication) GetPodSpecs() (specs []common.FluidObject, err error)

func (*PodApplication) SetPodSpecs

func (u *PodApplication) SetPodSpecs(specs []common.FluidObject) (err error)

type PodObject

type PodObject struct {
	// contains filtered or unexported fields
}

func (*PodObject) GetContainers

func (o *PodObject) GetContainers() (containers []corev1.Container, err error)

func (*PodObject) GetInitContainers added in v0.8.0

func (o *PodObject) GetInitContainers() (containers []corev1.Container, err error)

func (*PodObject) GetMetaObject

func (o *PodObject) GetMetaObject() (metaObject metav1.ObjectMeta, err error)

func (*PodObject) GetRoot

func (o *PodObject) GetRoot() runtime.Object

func (*PodObject) GetVolumeMounts

func (o *PodObject) GetVolumeMounts() (volumeMounts []corev1.VolumeMount, err error)

func (*PodObject) GetVolumes

func (o *PodObject) GetVolumes() (volumes []corev1.Volume, err error)

func (*PodObject) SetContainers

func (o *PodObject) SetContainers(containers []corev1.Container) (err error)

func (*PodObject) SetInitContainers added in v0.8.0

func (o *PodObject) SetInitContainers(containers []corev1.Container) (err error)

func (*PodObject) SetMetaObject

func (o *PodObject) SetMetaObject(metaObject metav1.ObjectMeta) (err error)

func (*PodObject) SetVolumes

func (o *PodObject) SetVolumes(volumes []corev1.Volume) (err error)

Jump to

Keyboard shortcuts

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