Versions in this module Expand all Collapse all v0 v0.6.0 Dec 17, 2019 Changes in this version + func ConfigMap(name, namespace string, opt ...ConfigMapOption) *corev1.ConfigMap + func Container(opt ...ContainerOption) *corev1.Container + func PersistentVolumeClaim(name, namespace string, opt ...PersistentVolumeClaimOption) *corev1.PersistentVolumeClaim + func PodSpec(opt ...PodSpecOption) *corev1.PodSpec + func Secret(name, namespace string, opt ...SecretOption) *corev1.Secret + func Service(name, namespace string, opt ...ServiceOption) *corev1.Service + func Volume(name string, opt ...VolumeOption) *corev1.Volume + type ConfigMapOption func(*corev1.ConfigMap) + func WithConfigMapData(name string, value string) ConfigMapOption + type ContainerOption func(*corev1.Container) + func WithContainerArgs(args []string) ContainerOption + func WithContainerCommand(command []string) ContainerOption + func WithContainerEnv(env corev1.EnvVar) ContainerOption + func WithContainerEnvFrom(envSource corev1.EnvFromSource) ContainerOption + func WithContainerEnvFromValue(name string, value string) ContainerOption + func WithContainerImage(image string) ContainerOption + func WithContainerName(name string) ContainerOption + func WithContainerPort(port int32) ContainerOption + func WithContainerVolumeMounts(name string, readonly bool, mountPath string, subPath string) ContainerOption + type PersistentVolumeClaimOption func(*corev1.PersistentVolumeClaim) + type PodSpecOption func(*corev1.PodSpec) + func WithPodSpecContainer(container *corev1.Container) PodSpecOption + func WithPodSpecVolume(volume *corev1.Volume) PodSpecOption + type SecretOption func(*corev1.Secret) + func WithSecretData(name string, data []byte) SecretOption + type ServiceOption func(*corev1.Service) + func WithServiceLabels(m map[string]string) ServiceOption + func WithServiceOwnerReference(ownerReference metav1.OwnerReference) ServiceOption + func WithServicePort(name string, protocol corev1.Protocol, port int32, targetPort int32) ServiceOption + func WithServiceSelector(m map[string]string) ServiceOption + type VolumeOption func(*corev1.Volume) + func WithVolumeSourceConfigMap(name string) VolumeOption + func WithVolumeSourcePersistentVolumeClaim(name string) VolumeOption + func WithVolumeSourceSecret(name string) VolumeOption