Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the machinelearning v1alpha2 API group +kubebuilder:object:generate=true +groupName=machinelearning.seldon.io
Index ¶
- Variables
- type SeldonDeployment
- func (in *SeldonDeployment) DeepCopy() *SeldonDeployment
- func (in *SeldonDeployment) DeepCopyInto(out *SeldonDeployment)
- func (in *SeldonDeployment) DeepCopyObject() runtime.Object
- func (r *SeldonDeployment) Default()
- func (r *SeldonDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SeldonDeployment) ValidateCreate() error
- func (r *SeldonDeployment) ValidateDelete() error
- func (r *SeldonDeployment) ValidateUpdate(old runtime.Object) error
- type SeldonDeploymentList
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "machinelearning.seldon.io", Version: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "machinelearning.seldon.io", Version: "v1alpha2"} // Resource takes an unqualified resource and returns a Group qualified GroupResource Resource = func(resource string) schema.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } )
var (
C client.Client
)
Functions ¶
This section is empty.
Types ¶
type SeldonDeployment ¶
type SeldonDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec seldonv1.SeldonDeploymentSpec `json:"spec,omitempty"` Status seldonv1.SeldonDeploymentStatus `json:"status,omitempty"` }
SeldonDeployment is the Schema for the seldondeployments API +k8s:openapi-gen=true +kubebuilder:resource:shortName=sdep +kubebuilder:subresource:status +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas
func (*SeldonDeployment) DeepCopy ¶
func (in *SeldonDeployment) DeepCopy() *SeldonDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeldonDeployment.
func (*SeldonDeployment) DeepCopyInto ¶
func (in *SeldonDeployment) DeepCopyInto(out *SeldonDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeldonDeployment) DeepCopyObject ¶
func (in *SeldonDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SeldonDeployment) Default ¶
func (r *SeldonDeployment) Default()
func (*SeldonDeployment) SetupWebhookWithManager ¶
func (r *SeldonDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*SeldonDeployment) ValidateCreate ¶
func (r *SeldonDeployment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SeldonDeployment) ValidateDelete ¶
func (r *SeldonDeployment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*SeldonDeployment) ValidateUpdate ¶
func (r *SeldonDeployment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SeldonDeploymentList ¶
type SeldonDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SeldonDeployment `json:"items"` }
SeldonDeploymentList contains a list of SeldonDeployment
func (*SeldonDeploymentList) DeepCopy ¶
func (in *SeldonDeploymentList) DeepCopy() *SeldonDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeldonDeploymentList.
func (*SeldonDeploymentList) DeepCopyInto ¶
func (in *SeldonDeploymentList) DeepCopyInto(out *SeldonDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeldonDeploymentList) DeepCopyObject ¶
func (in *SeldonDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.