Documentation ¶
Index ¶
- func BuildVolumeBuilderForConfigMaps(configMaps []v1alpha1.ConfigMap) []*volume.Builder
- func BuildVolumeBuilderForSecrets(secrets []v1alpha1.Secret) []*volume.Builder
- func BuildVolumeMountsForConfigMaps(configMaps []v1alpha1.ConfigMap) []corev1.VolumeMount
- func BuildVolumeMountsForSecrets(secrets []v1alpha1.Secret) []corev1.VolumeMount
- func CreateVolumeBuilders(configMaps []v1alpha1.ConfigMap, secrets []v1alpha1.Secret) []*volume.Builder
- func CreateVolumeMounts(configMaps []v1alpha1.ConfigMap, secrets []v1alpha1.Secret) []corev1.VolumeMount
- func RemoveString(slice []string, s string) (result []string)
- type ENVDetails
- type VolumeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVolumeBuilderForConfigMaps ¶
BuildVolumeBuilderForConfigMaps builds VolumeBuilders for ConfigMaps
func BuildVolumeBuilderForSecrets ¶
BuildVolumeBuilderForSecrets builds VolumeBuilders for Secrets
func BuildVolumeMountsForConfigMaps ¶
func BuildVolumeMountsForConfigMaps(configMaps []v1alpha1.ConfigMap) []corev1.VolumeMount
BuildVolumeMountsForConfigMaps builds VolumeMounts for ConfigMaps
func BuildVolumeMountsForSecrets ¶
func BuildVolumeMountsForSecrets(secrets []v1alpha1.Secret) []corev1.VolumeMount
BuildVolumeMountsForSecrets builds VolumeMounts for Secrets
func CreateVolumeBuilders ¶
func CreateVolumeBuilders(configMaps []v1alpha1.ConfigMap, secrets []v1alpha1.Secret) []*volume.Builder
CreateVolumeBuilders build Volume needed in execution of experiments
func CreateVolumeMounts ¶
func CreateVolumeMounts(configMaps []v1alpha1.ConfigMap, secrets []v1alpha1.Secret) []corev1.VolumeMount
CreateVolumeMounts mounts Volume needed in execution of experiments
func RemoveString ¶
RemoveString removes a particular string from a slice of strings
Types ¶
type ENVDetails ¶
ENVDetails contains the ENV details
func (*ENVDetails) SetEnv ¶
func (envDetails *ENVDetails) SetEnv(key, value string) *ENVDetails
SetEnv sets the env inside envDetails struct
type VolumeOpts ¶
type VolumeOpts struct { VolumeMounts []corev1.VolumeMount VolumeBuilders []*volume.Builder }
VolumeOpts is a strcuture for all volume related operations
func (*VolumeOpts) VolumeOperations ¶
func (volumeOpts *VolumeOpts) VolumeOperations(configMaps []v1alpha1.ConfigMap, secrets []v1alpha1.Secret)
VolumeOperations filles up VolumeOpts strucuture