Documentation ¶
Index ¶
- func NewApplication(pod *corev1.Pod) common.FluidApplication
- type PodApplication
- type PodObject
- func (o *PodObject) GetContainers() (containers []corev1.Container, err error)
- func (o *PodObject) GetInitContainers() (containers []corev1.Container, err error)
- func (o *PodObject) GetMetaObject() (metaObject metav1.ObjectMeta, err error)
- func (o *PodObject) GetRoot() runtime.Object
- func (o *PodObject) GetVolumeMounts() (volumeMounts []corev1.VolumeMount, err error)
- func (o *PodObject) GetVolumes() (volumes []corev1.Volume, err error)
- func (o *PodObject) SetContainers(containers []corev1.Container) (err error)
- func (o *PodObject) SetInitContainers(containers []corev1.Container) (err error)
- func (o *PodObject) SetMetaObject(metaObject metav1.ObjectMeta) (err error)
- func (o *PodObject) SetVolumes(volumes []corev1.Volume) (err error)
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 (*PodObject) GetInitContainers ¶ added in v0.8.0
func (*PodObject) GetMetaObject ¶
func (o *PodObject) GetMetaObject() (metaObject metav1.ObjectMeta, err error)
func (*PodObject) GetVolumeMounts ¶
func (o *PodObject) GetVolumeMounts() (volumeMounts []corev1.VolumeMount, err error)
func (*PodObject) GetVolumes ¶
func (*PodObject) SetContainers ¶
func (*PodObject) SetInitContainers ¶ added in v0.8.0
func (*PodObject) SetMetaObject ¶
func (o *PodObject) SetMetaObject(metaObject metav1.ObjectMeta) (err error)
Click to show internal directories.
Click to hide internal directories.