Documentation ¶
Index ¶
- func DaemonSetFromManifest(fileName, ns string) (*appsv1.DaemonSet, error)
- func PodFromManifest(filename string) (*v1.Pod, error)
- func RcFromManifest(fileName string) (*v1.ReplicationController, error)
- func RoleFromManifest(fileName, ns string) (*rbacv1.Role, 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 DaemonSetFromManifest ¶ added in v1.11.0
DaemonSetFromManifest returns a DaemonSet from a manifest stored in fileName in the Namespace indicated by ns.
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 RoleFromManifest ¶ added in v1.13.0
RoleFromManifest returns a Role from a manifest stored in fileName in the Namespace indicated by ns.
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.