Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func NewKfErrorWithMessage ¶
NewKfErrorWithMessage will propogate the error with the given message.
TODO(jlewi): Not sure this is the best way to propogate the error messages and turn them into KfErrors. There was a lot of code that was doing this but not asserting that the error was a KfError which was causing segmentation faults so I wrote this helper method.
Types ¶
type KfError ¶
type KfError struct { // Code is the HTTP response status code. Code int `json:"code"` Message string `json:"message,omitempty"` }
KfError stands for Kubeflow error. This is the standard error interface for Kubeflow components.
type StatusCode ¶
type StatusCode int
const ( OK StatusCode = 200 INVALID_ARGUMENT StatusCode = 400 NOT_FOUND StatusCode = 404 INTERNAL_ERROR StatusCode = 500 UNKNOWN StatusCode = 520 )
Directories ¶
Path | Synopsis |
---|---|
Package apis contains Kubernetes API groups.
|
Package apis contains Kubernetes API groups. |
aws.plugins.kubeflow.org
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the aws.plugins.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.plugins.kubeflow.org
|
Package v1alpha1 contains API Schema definitions for the aws.plugins.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.plugins.kubeflow.org |
gcp.plugins.kubeflow.org
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the gcp.plugins.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=gcp.plugins.kubeflow.org
|
Package v1alpha1 contains API Schema definitions for the gcp.plugins.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=gcp.plugins.kubeflow.org |
kfconfig.apps.kubeflow.org
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the kfconfig.apps.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=kfconfig.apps.kubeflow.org //+kubebuilder:storageversion
|
Package v1alpha1 contains API Schema definitions for the kfconfig.apps.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=kfconfig.apps.kubeflow.org //+kubebuilder:storageversion |
kfdef.apps.kubeflow.org
|
|
v1
Package v1 contains API Schema definitions for the kfdef.apps.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=kfdef.apps.kubeflow.org
|
Package v1 contains API Schema definitions for the kfdef.apps.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=kfdef.apps.kubeflow.org |
kfupdate.apps.kubeflow.org
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the kfupdate.apps.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=kfupdate.apps.kubeflow.org
|
Package v1alpha1 contains API Schema definitions for the kfupdate.apps.kubeflow.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=kfupdate.apps.kubeflow.org |
Click to show internal directories.
Click to hide internal directories.