Documentation ¶
Overview ¶
Package apis contains Kubernetes API groups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToSchemes runtime.SchemeBuilder
AddToSchemes may be used to add all resources defined in the project to a Scheme
Functions ¶
func AddToScheme ¶
AddToScheme adds all Resources to the Scheme
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 INTERNAL_ERROR StatusCode = 500 UNKNOWN StatusCode = 520 )
Directories ¶
Path | Synopsis |
---|---|
Package apps contains apps API versions
|
Package apps contains apps API versions |
kfdef
Package kfdef contains kfdef related types
|
Package kfdef contains kfdef related types |
kfdef/v1alpha1
Package v1alpha1 contains API Schema definitions for the kfdef v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubeflow/kubeflow/bootstrap/v2/pkg/apis/apps/kfdef +k8s:defaulter-gen=TypeMeta +groupName=kfdef.apps.kubeflow.org
|
Package v1alpha1 contains API Schema definitions for the kfdef v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubeflow/kubeflow/bootstrap/v2/pkg/apis/apps/kfdef +k8s:defaulter-gen=TypeMeta +groupName=kfdef.apps.kubeflow.org |
Click to show internal directories.
Click to hide internal directories.