Documentation ¶
Index ¶
- func GetContainerForDeployment(deploy *appsv1.Deployment, name string) *v1.Container
- func GetContainerForPredictiveUnit(p *machinelearningv1alpha2.PredictorSpec, name string) *v1.Container
- func GetPort(name string, ports []v1.ContainerPort) *v1.ContainerPort
- func GetPredictiveUnitAsJson(params []machinelearningv1alpha2.Parameter) string
- func GetSeldonPodSpecForPredictiveUnit(p *machinelearningv1alpha2.PredictorSpec, name string) *machinelearningv1alpha2.SeldonPodSpec
- func HasEnvVar(envVars []v1.EnvVar, name string) bool
- func IsPrepack(pu *machinelearningv1alpha2.PredictiveUnit) bool
- func SetEnvVar(envVars []v1.EnvVar, newVar v1.EnvVar) (newEnvVars []v1.EnvVar)
- func SetImageNameForPrepackContainer(pu *machinelearningv1alpha2.PredictiveUnit, c *v1.Container)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerForDeployment ¶
func GetContainerForDeployment(deploy *appsv1.Deployment, name string) *v1.Container
func GetContainerForPredictiveUnit ¶
func GetContainerForPredictiveUnit(p *machinelearningv1alpha2.PredictorSpec, name string) *v1.Container
func GetPort ¶
func GetPort(name string, ports []v1.ContainerPort) *v1.ContainerPort
func GetPredictiveUnitAsJson ¶
func GetPredictiveUnitAsJson(params []machinelearningv1alpha2.Parameter) string
func GetSeldonPodSpecForPredictiveUnit ¶
func GetSeldonPodSpecForPredictiveUnit(p *machinelearningv1alpha2.PredictorSpec, name string) *machinelearningv1alpha2.SeldonPodSpec
func IsPrepack ¶
func IsPrepack(pu *machinelearningv1alpha2.PredictiveUnit) bool
func SetImageNameForPrepackContainer ¶
func SetImageNameForPrepackContainer(pu *machinelearningv1alpha2.PredictiveUnit, c *v1.Container)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.