Documentation
¶
Overview ¶
+groupName=ml.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type EngineModel
- func (in *EngineModel) DeepCopy() *EngineModel
- func (in *EngineModel) DeepCopyInto(out *EngineModel)
- func (in *EngineModel) DeepCopyObject() runtime.Object
- func (r *EngineModel) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EngineModel) ValidateCreate() error
- func (r *EngineModel) ValidateDelete() error
- func (r *EngineModel) ValidateUpdate(old runtime.Object) error
- type EngineModelList
- type EngineModelSpec
- type EngineModelSpecDefaultVersion
- type EngineModelSpecDefaultVersionCodec
- type EngineModelSpecResource
- type EngineModelStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: ml.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EngineModel ¶
type EngineModel struct {
metav1.TypeMeta `json:",inline,omitempty"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EngineModelSpec `json:"spec,omitempty"`
Status EngineModelStatus `json:"status,omitempty"`
}
func (*EngineModel) DeepCopy ¶
func (in *EngineModel) DeepCopy() *EngineModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModel.
func (*EngineModel) DeepCopyInto ¶
func (in *EngineModel) DeepCopyInto(out *EngineModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EngineModel) DeepCopyObject ¶
func (in *EngineModel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EngineModel) SetupWebhookWithManager ¶
func (r *EngineModel) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EngineModel) ValidateCreate ¶
func (r *EngineModel) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EngineModel) ValidateDelete ¶
func (r *EngineModel) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EngineModel) ValidateUpdate ¶
func (r *EngineModel) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EngineModelList ¶
type EngineModelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// Items is a list of EngineModel CRD objects
Items []EngineModel `json:"items,omitempty"`
}
EngineModelList is a list of EngineModels
func (*EngineModelList) DeepCopy ¶
func (in *EngineModelList) DeepCopy() *EngineModelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModelList.
func (*EngineModelList) DeepCopyInto ¶
func (in *EngineModelList) DeepCopyInto(out *EngineModelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EngineModelList) DeepCopyObject ¶
func (in *EngineModelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EngineModelSpec ¶
type EngineModelSpec struct {
State *EngineModelSpecResource `json:"state,omitempty" tf:"-"`
Resource EngineModelSpecResource `json:"resource" tf:"resource"`
UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`
TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`
ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}
func (*EngineModelSpec) DeepCopy ¶
func (in *EngineModelSpec) DeepCopy() *EngineModelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModelSpec.
func (*EngineModelSpec) DeepCopyInto ¶
func (in *EngineModelSpec) DeepCopyInto(out *EngineModelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EngineModelSpecDefaultVersion ¶
type EngineModelSpecDefaultVersion struct {
// The name specified for the version when it was created.
Name *string `json:"name" tf:"name"`
}
func (*EngineModelSpecDefaultVersion) DeepCopy ¶
func (in *EngineModelSpecDefaultVersion) DeepCopy() *EngineModelSpecDefaultVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModelSpecDefaultVersion.
func (*EngineModelSpecDefaultVersion) DeepCopyInto ¶
func (in *EngineModelSpecDefaultVersion) DeepCopyInto(out *EngineModelSpecDefaultVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EngineModelSpecDefaultVersionCodec ¶
type EngineModelSpecDefaultVersionCodec struct {
}
+k8s:deepcopy-gen=false
func (EngineModelSpecDefaultVersionCodec) Decode ¶
func (EngineModelSpecDefaultVersionCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type EngineModelSpecResource ¶
type EngineModelSpecResource struct {
Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`
ID string `json:"id,omitempty" tf:"id,omitempty"`
// The default version of the model. This version will be used to handle
// prediction requests that do not specify a version.
// +optional
DefaultVersion *EngineModelSpecDefaultVersion `json:"defaultVersion,omitempty" tf:"default_version"`
// The description specified for the model when it was created.
// +optional
Description *string `json:"description,omitempty" tf:"description"`
// One or more labels that you can add, to organize your models.
// +optional
Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
// The name specified for the model.
Name *string `json:"name" tf:"name"`
// If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
// +optional
OnlinePredictionConsoleLogging *bool `json:"onlinePredictionConsoleLogging,omitempty" tf:"online_prediction_console_logging"`
// If true, online prediction access logs are sent to StackDriver Logging.
// +optional
OnlinePredictionLogging *bool `json:"onlinePredictionLogging,omitempty" tf:"online_prediction_logging"`
// +optional
Project *string `json:"project,omitempty" tf:"project"`
// The list of regions where the model is going to be deployed.
// Currently only one region per model is supported
// +optional
Regions []string `json:"regions,omitempty" tf:"regions"`
}
func (*EngineModelSpecResource) DeepCopy ¶
func (in *EngineModelSpecResource) DeepCopy() *EngineModelSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModelSpecResource.
func (*EngineModelSpecResource) DeepCopyInto ¶
func (in *EngineModelSpecResource) DeepCopyInto(out *EngineModelSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EngineModelStatus ¶
type EngineModelStatus struct {
// Resource generation, which is updated on mutation by the API Server.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// +optional
Phase status.Status `json:"phase,omitempty"`
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
}
func (*EngineModelStatus) DeepCopy ¶
func (in *EngineModelStatus) DeepCopy() *EngineModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineModelStatus.
func (*EngineModelStatus) DeepCopyInto ¶
func (in *EngineModelStatus) DeepCopyInto(out *EngineModelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.