v1alpha3

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha3 contains API Schema definitions for the machinelearning v1alpha3 API group +kubebuilder:object:generate=true +groupName=machinelearning.seldon.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "machinelearning.seldon.io", Version: "v1alpha3"}

	// 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: "v1alpha3"}

	// Resource takes an unqualified resource and returns a Group qualified GroupResource
	Resource = func(resource string) schema.GroupResource {
		return SchemeGroupVersion.WithResource(resource).GroupResource()
	}
)

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

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()

Default implements webhook.Defaulter so a webhook will be registered for the type

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

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.

Jump to

Keyboard shortcuts

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