deployments

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 12 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.PmemCSIDeployment,
) ([]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