manifest

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMapFromManifest added in v1.2.0

func ConfigMapFromManifest(filename string) (*v1.ConfigMap, error)

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

func DaemonSetFromData

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

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

func DaemonSetFromURL

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

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

func PodFromManifest

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

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.

func SvcFromManifest

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL