deployments

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

The deployments package reads the reference YAML files and optionally modifies them for deployment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAndCustomizeObjects

func LoadAndCustomizeObjects(kubernetes version.Version, deviceMode api.DeviceMode,
	namespace string, deployment api.Deployment) ([]unstructured.Unstructured, error)

LoadAndCustomizeObjects reads all objects stored in a pmem-csi.yaml reference file and updates them on-the-fly according to the deployment spec, namespace and name.

func LoadObjects

func LoadObjects(kubernetes version.Version, deviceMode api.DeviceMode) ([]unstructured.Unstructured, error)

LoadObjects reads all objects stored in a pmem-csi.yaml reference file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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