Documentation ¶
Index ¶
- func CreateDeploymentForHelper(name string, podTemplateSpec v1core.PodTemplateSpec) *v1beta1.Deployment
- func CreatePVCFromBOM(sharedVolumeClaim *v1core.PersistentVolumeClaim, ...) error
- func CreatePodSpec(containers []v1core.Container, volumes []v1core.Volume, ...) v1core.PodTemplateSpec
- type ETCDVolume
- type LocalVolume
- type SharedNFSVolume
- type VolumeMountSpec
- type Volumes
- func (volumes Volumes) CreateDataVolume(trainingID string) v1core.Volume
- func (volumes Volumes) CreateDataVolumeMount() v1core.VolumeMount
- func (volumes Volumes) CreateETCDVolume() v1core.Volume
- func (volumes Volumes) CreateETCDVolumeMount() v1core.VolumeMount
- func (volumes Volumes) CreateSSLVolume() v1core.Volume
- func (volumes Volumes) CreateSSLVolumeMount() v1core.VolumeMount
- func (volumes Volumes) DynamicPVCReference() *v1core.PersistentVolumeClaim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeploymentForHelper ¶
func CreateDeploymentForHelper(name string, podTemplateSpec v1core.PodTemplateSpec) *v1beta1.Deployment
CreateDeploymentForHelper ...
func CreatePVCFromBOM ¶
func CreatePVCFromBOM(sharedVolumeClaim *v1core.PersistentVolumeClaim, k8sClient kubernetes.Interface) error
CreatePVCFromBOM ...
func CreatePodSpec ¶
func CreatePodSpec(containers []v1core.Container, volumes []v1core.Volume, labels map[string]string) v1core.PodTemplateSpec
CreatePodSpec ...
Types ¶
type LocalVolume ¶
type LocalVolume struct { Name string MountSpec VolumeMountSpec }
LocalVolume ...
type VolumeMountSpec ¶
type VolumeMountSpec struct {
MountPath, SubPath string
}
VolumeMountSpec ...
type Volumes ¶
type Volumes struct { ETCDVolume *ETCDVolume }
Volumes ...
func (Volumes) CreateDataVolume ¶
CreateDataVolume ...
func (Volumes) CreateDataVolumeMount ¶
func (volumes Volumes) CreateDataVolumeMount() v1core.VolumeMount
CreateDataVolumeMount ...
func (Volumes) CreateETCDVolume ¶
CreateETCDVolume ...
func (Volumes) CreateETCDVolumeMount ¶
func (volumes Volumes) CreateETCDVolumeMount() v1core.VolumeMount
CreateETCDVolumeMount ...
func (Volumes) CreateSSLVolume ¶
CreateETCDVolume ...
func (Volumes) CreateSSLVolumeMount ¶
func (volumes Volumes) CreateSSLVolumeMount() v1core.VolumeMount
CreateETCDVolumeMount ...
func (Volumes) DynamicPVCReference ¶
func (volumes Volumes) DynamicPVCReference() *v1core.PersistentVolumeClaim
DynamicPVCReference ...
Click to show internal directories.
Click to hide internal directories.