package manifest
import "k8s.io/kubernetes/test/e2e/manifest"
Index ¶
- func IngressFromManifest(fileName string) (*extensions.Ingress, error)
- func PodFromManifest(filename string) (*v1.Pod, error)
- func RcFromManifest(fileName string) (*v1.ReplicationController, error)
- func StatefulSetFromManifest(fileName, ns string) (*apps.StatefulSet, error)
- func SvcFromManifest(fileName string) (*v1.Service, error)
Functions ¶
func IngressFromManifest ¶
func IngressFromManifest(fileName string) (*extensions.Ingress, error)
IngressFromManifest reads a .json/yaml file and returns the ingress in it.
func PodFromManifest ¶
PodFromManifest reads a .json/yaml file and returns the pod in it.
func RcFromManifest ¶
func RcFromManifest(fileName string) (*v1.ReplicationController, error)
RcFromManifest reads a .json/yaml file and returns the rc in it.
func StatefulSetFromManifest ¶
func StatefulSetFromManifest(fileName, ns string) (*apps.StatefulSet, error)
StatefulSetFromManifest returns a StatefulSet from a manifest stored in fileName in the Namespace indicated by ns.
func SvcFromManifest ¶
SvcFromManifest reads a .json/yaml file and returns the service in it.
Source Files ¶
manifest.go
- Version
- v1.8.1
- Published
- Oct 11, 2017
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.