package
1.2.6
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Functions

Create creates the Docker volume for the given volume name and component name.
CreateComponentStorage creates a Docker volume with the given list of storages if it does not exist, else it uses the existing volume.
GenerateVolName generates a Docker volume name from the Devfile volume name and component name.
GetExistingVolume checks if a Docker volume is present and return the name if it exists.
New instantiantes a storage adapter.
ProcessVolumes takes in a list of component volumes and for each unique volume in the devfile, creates a Docker volume name for it It returns a list of unique volumes, a mapping of devfile volume names to docker volume names, and an error if applicable.

# Structs

Adapter is a storage adapter implementation for Kubernetes.