pod

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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