volumes

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultPaastaKubernetesHealthcheckVolumes added in v0.0.15

func GetDefaultPaastaKubernetesHealthcheckVolumes(configStore *configstore.Store) ([]corev1.VolumeMount, []corev1.Volume, error)

func GetDefaultPaastaKubernetesVolumes

func GetDefaultPaastaKubernetesVolumes(configStore *configstore.Store) ([]corev1.VolumeMount, []corev1.Volume, error)

GetDefaultPaastaKubernetesVolumes ...

Types

type Volume

type Volume struct {
	HostPath      string `json:"hostPath" mapstructure:"hostPath"`
	ContainerPath string `json:"containerPath" mapstructure:"containerPath"`
	Mode          string `json:"mode" mapstructure:"mode"`
}

func DefaultHealthcheckVolumesFromReader added in v0.0.15

func DefaultHealthcheckVolumesFromReader(configStore *configstore.Store) ([]Volume, error)

func DefaultVolumesFromReader

func DefaultVolumesFromReader(configStore *configstore.Store) ([]Volume, error)

type VolumeConfig

type VolumeConfig struct {
	Volumes               []Volume `json:"volumes" mapstructure:"volumes"`
	HacheckSidecarVolumes []Volume `json:"hacheck_sidecar_volumes" mapstructure:"hacheck_sidecar_volumes"`
}

Jump to

Keyboard shortcuts

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