kubernetes: k8s.io/kubernetes/test/e2e/framework/manifest Index | Files

package manifest

import "k8s.io/kubernetes/test/e2e/framework/manifest"


Package Files


func DaemonSetFromData Uses

func DaemonSetFromData(data []byte) (*appsv1.DaemonSet, error)

DaemonSetFromData reads a byte slice and returns the daemonset in it.

func DaemonSetFromURL Uses

func DaemonSetFromURL(url string) (*appsv1.DaemonSet, error)

DaemonSetFromURL reads from a url and returns the daemonset in it.

func PodFromManifest Uses

func PodFromManifest(filename string) (*v1.Pod, error)

PodFromManifest reads a .json/yaml file and returns the pod in it.

func StatefulSetFromManifest Uses

func StatefulSetFromManifest(fileName, ns string) (*appsv1.StatefulSet, error)

StatefulSetFromManifest returns a StatefulSet from a manifest stored in fileName in the Namespace indicated by ns.

func SvcFromManifest Uses

func SvcFromManifest(fileName string) (*v1.Service, error)

SvcFromManifest reads a .json/yaml file and returns the service in it.

Package manifest imports 12 packages (graph) and is imported by 57 packages. Updated 2020-05-02. Refresh now. Tools for package owners.