apis

package
v0.0.0-...-9ad3809 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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

func AddToScheme(s *runtime.Scheme) error

AddToScheme adds all Resources to the Scheme

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.

func (*KfError) Error

func (e *KfError) Error() string

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/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/pkg/apis/apps/kfdef +k8s:defaulter-gen=TypeMeta +groupName=kfdef.apps.kubeflow.org

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL