Documentation ¶
Index ¶
- func ConfigMapFromManifest(filename string) (*v1.ConfigMap, error)
- func DaemonSetFromData(data []byte) (*appsv1.DaemonSet, error)
- func DaemonSetFromURL(url string) (*appsv1.DaemonSet, error)
- func PodFromManifest(filename string) (*v1.Pod, error)
- func ReservationFromManifest(filename string) (*schedulingv1alpha1.Reservation, error)
- func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, error)
- func SvcFromManifest(fileName string) (*v1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMapFromManifest ¶ added in v1.2.0
ConfigMapFromManifest reads a .json/yaml file and returns the pod in it.
func DaemonSetFromData ¶
DaemonSetFromData reads a byte slice and returns the daemonset in it.
func DaemonSetFromURL ¶
DaemonSetFromURL reads from a url and returns the daemonset in it.
func PodFromManifest ¶
PodFromManifest reads a .json/yaml file and returns the pod in it.
func ReservationFromManifest ¶ added in v1.2.0
func ReservationFromManifest(filename string) (*schedulingv1alpha1.Reservation, error)
func StatefulSetFromManifest ¶
func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, error)
StatefulSetFromManifest returns a StatefulSet from a manifest stored in fileName in the Namespace indicated by ns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.