unstructured

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: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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