Documentation ¶
Index ¶
- func NewApplication(unstructured *unstructuredtype.Unstructured) common.FluidApplication
- type UnstructuredApplication
- type UnstructuredObject
- func (o *UnstructuredObject) GetContainers() (containers []corev1.Container, err error)
- func (o *UnstructuredObject) GetMetaObject() (metaObject metav1.ObjectMeta, err error)
- func (o *UnstructuredObject) GetRoot() runtime.Object
- func (o *UnstructuredObject) GetVolumeMounts() (volumeMounts []corev1.VolumeMount, err error)
- func (o *UnstructuredObject) GetVolumes() (volumes []corev1.Volume, err error)
- func (o *UnstructuredObject) SetContainers(containers []corev1.Container) (err error)
- func (o *UnstructuredObject) SetMetaObject(metaObject metav1.ObjectMeta) (err error)
- func (o *UnstructuredObject) SetVolumes(volumes []corev1.Volume) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
func NewApplication(unstructured *unstructuredtype.Unstructured) common.FluidApplication
Types ¶
type UnstructuredApplication ¶
type UnstructuredApplication struct {
// contains filtered or unexported fields
}
func (*UnstructuredApplication) GetObject ¶
func (u *UnstructuredApplication) GetObject() runtime.Object
func (*UnstructuredApplication) GetPodSpecs ¶
func (u *UnstructuredApplication) GetPodSpecs() (specs []common.FluidObject, err error)
func (*UnstructuredApplication) SetPodSpecs ¶
func (u *UnstructuredApplication) SetPodSpecs(specs []common.FluidObject) (err error)
type UnstructuredObject ¶
type UnstructuredObject struct {
// contains filtered or unexported fields
}
func (*UnstructuredObject) GetContainers ¶
func (o *UnstructuredObject) GetContainers() (containers []corev1.Container, err error)
func (*UnstructuredObject) GetMetaObject ¶
func (o *UnstructuredObject) GetMetaObject() (metaObject metav1.ObjectMeta, err error)
func (*UnstructuredObject) GetRoot ¶
func (o *UnstructuredObject) GetRoot() runtime.Object
func (*UnstructuredObject) GetVolumeMounts ¶
func (o *UnstructuredObject) GetVolumeMounts() (volumeMounts []corev1.VolumeMount, err error)
func (*UnstructuredObject) GetVolumes ¶
func (o *UnstructuredObject) GetVolumes() (volumes []corev1.Volume, err error)
func (*UnstructuredObject) SetContainers ¶
func (o *UnstructuredObject) SetContainers(containers []corev1.Container) (err error)
func (*UnstructuredObject) SetMetaObject ¶
func (o *UnstructuredObject) SetMetaObject(metaObject metav1.ObjectMeta) (err error)
func (*UnstructuredObject) SetVolumes ¶
func (o *UnstructuredObject) SetVolumes(volumes []corev1.Volume) (err error)
Click to show internal directories.
Click to hide internal directories.