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