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

package manifest

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

Index

Package Files

manifest.go

func DaemonSetFromManifest Uses

func DaemonSetFromManifest(fileName, ns string) (*appsv1.DaemonSet, error)

DaemonSetFromManifest returns a DaemonSet from a manifest stored in fileName in the Namespace indicated by ns.

func IngressFromManifest Uses

func IngressFromManifest(fileName string) (*networkingv1beta1.Ingress, error)

IngressFromManifest reads a .json/yaml file and returns the ingress in it.

func IngressToManifest Uses

func IngressToManifest(ing *networkingv1beta1.Ingress, path string) error

IngressToManifest generates a yaml file in the given path with the given ingress. Assumes that a directory exists at the given path.

func PodFromManifest Uses

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

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

func RcFromManifest Uses

func RcFromManifest(fileName string) (*v1.ReplicationController, error)

RcFromManifest reads a .json/yaml file and returns the rc in it.

func RoleFromManifest Uses

func RoleFromManifest(fileName, ns string) (*rbacv1.Role, error)

RoleFromManifest returns a Role from a manifest stored in fileName in the Namespace indicated by ns.

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 116 packages. Updated 2019-07-27. Refresh now. Tools for package owners.