core

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApplicationContainer

func CreateApplicationContainer(application *skiperatorv1alpha1.Application, opts PodOpts) corev1.Container

func CreateJobContainer

func CreateJobContainer(skipJob *skiperatorv1alpha1.SKIPJob, volumeMounts []corev1.VolumeMount, envVars []corev1.EnvVar) corev1.Container

func CreatePodSpec

func CreatePodSpec(container corev1.Container, volumes []corev1.Volume, serviceAccountName string, priority string, policy *corev1.RestartPolicy, podSettings *podtypes.PodSettings) corev1.PodSpec

func GetContainerVolumeMountsAndPodVolumes

func GetContainerVolumeMountsAndPodVolumes(filesFrom []podtypes.FilesFrom) ([]corev1.Volume, []corev1.VolumeMount)

Should we split this up? It seems handy to create both from one loop, but the function does two things

Types

type PodOpts

type PodOpts struct {
	IstioEnabled bool
}

Jump to

Keyboard shortcuts

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