Versions in this module Expand all Collapse all v1 v1.0.0 Feb 7, 2025 Changes in this version + const ControllerConcurrency + const DefaultSubdomainLen + const ModelContainerName + const ModelInitializerVolumeSuffix + const SeldonModelServeKind + func ApplyObject(ctx context.Context, cli client.Client, obj client.Object) error + func CreateOrUpdateContainer(inpod *corev1.PodSpec, conname string, ...) *corev1.PodSpec + func IsOwnBy(obj client.Object, gvk schema.GroupVersionKind) bool + func Mergekvs(kvs map[string]string, into map[string]string) map[string]string + func OAMAppTrigger() handler.EventHandler + func RandStringRunes(n int) string + func Run(ctx context.Context, options *Options) error + func Setup(ctx context.Context, mgr ctrl.Manager, options *Options) error + func ToRawExtension(obj any) *runtime.RawExtension + type ModelServe interface + Apply func(ctx context.Context, md *modelsv1beta1.ModelDeployment) error + Watches func() client.Object + type OAMWebServiceProperties struct + Annotations map[string]string + CMD []string + CPU string + ENV []OAMWebServicePropertiesEnv + ExposeType string + Image string + ImagePullPolicy string + Labels map[string]string + Memory string + Ports []OAMWebServicePropertiesPort + VolumeMounts OAMWebServicePropertiesVolumeMounts + type OAMWebServicePropertiesEnv struct + Name string + Value string + ValueFrom *corev1.EnvVarSource + type OAMWebServicePropertiesPort struct + Expose bool + Name string + Port int32 + Protocol string + type OAMWebServicePropertiesVolumeMount struct + CMName string + ClaimName string + DefaultMode int + Items []OAMWebServicePropertiesVolumeMountItem + Medium string + MountPath string + Name string + Path string + SecretName string + type OAMWebServicePropertiesVolumeMountItem struct + Key string + Mode int + Path string + type OAMWebServicePropertiesVolumeMounts struct + ConfigMap []OAMWebServicePropertiesVolumeMount + EmptyDir []OAMWebServicePropertiesVolumeMount + HostPath []OAMWebServicePropertiesVolumeMount + PVC []OAMWebServicePropertiesVolumeMount + Secret []OAMWebServicePropertiesVolumeMount + type Options struct + EnableLeaderElection bool + IngressHost string + IngressScheme string + MetricsAddr string + ProbeAddr string + func DefaultOptions() *Options + type Reconciler struct + Options *Options + SeldonBack *SeldonModelServe + func (r *Reconciler) Default(ctx context.Context, md *modelsv1beta1.ModelDeployment) error + func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *Reconciler) Sync(ctx context.Context, md *modelsv1beta1.ModelDeployment) error + type SeldonModelServe struct + Client client.Client + IngressHost string + IngressScheme string + func (r *SeldonModelServe) Apply(ctx context.Context, md *modelsv1beta1.ModelDeployment) error + func (r *SeldonModelServe) Watches() client.Object