v1beta1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cloud v1beta3 API group

Package v1beta1 contains API Schema definitions for the k8s v1beta3 API group

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "config.onosproject.org", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by the client code generator
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Model

type Model struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ModelSpec   `json:"spec,omitempty"`
	Status            ModelStatus `json:"status,omitempty"`
}

Model is the Schema for the Model API

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Model) DeepCopyObject

func (in *Model) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModelList

type ModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Model `json:"items"`
}

ModelList contains a list of Database

func (*ModelList) DeepCopy

func (in *ModelList) DeepCopy() *ModelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.

func (*ModelList) DeepCopyInto

func (in *ModelList) DeepCopyInto(out *ModelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelList) DeepCopyObject

func (in *ModelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModelPhase

type ModelPhase string

ModelPhase is the phase of a model

const (
	// ModelPending pending
	ModelPending ModelPhase = "Pending"

	// ModelInstalling installing
	ModelInstalling ModelPhase = "Installing"

	// ModelInstalled installed
	ModelInstalled ModelPhase = "Installed"
)

type ModelRegistry

type ModelRegistry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ModelRegistrySpec `json:"spec,omitempty"`
}

ModelRegistry is the Schema for the ModelRegistry API +k8s:openapi-gen=true

func (*ModelRegistry) DeepCopy

func (in *ModelRegistry) DeepCopy() *ModelRegistry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistry.

func (*ModelRegistry) DeepCopyInto

func (in *ModelRegistry) DeepCopyInto(out *ModelRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelRegistry) DeepCopyObject

func (in *ModelRegistry) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModelRegistryCache added in v0.1.0

type ModelRegistryCache struct {
	*corev1.Volume `json:",inline"`
}

ModelRegistryCache is the k8s configuration for the model registry cache

func (*ModelRegistryCache) DeepCopy added in v0.1.0

func (in *ModelRegistryCache) DeepCopy() *ModelRegistryCache

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistryCache.

func (*ModelRegistryCache) DeepCopyInto added in v0.1.0

func (in *ModelRegistryCache) DeepCopyInto(out *ModelRegistryCache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelRegistryList

type ModelRegistryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ModelRegistry `json:"items"`
}

ModelRegistryList contains a list of ModelRegistry

func (*ModelRegistryList) DeepCopy

func (in *ModelRegistryList) DeepCopy() *ModelRegistryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistryList.

func (*ModelRegistryList) DeepCopyInto

func (in *ModelRegistryList) DeepCopyInto(out *ModelRegistryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelRegistryList) DeepCopyObject

func (in *ModelRegistryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModelRegistrySpec

type ModelRegistrySpec struct {
	Cache ModelRegistryCache `json:"cache,omitempty"`
}

ModelRegistrySpec is the k8s spec for a ModelRegistry resource

func (*ModelRegistrySpec) DeepCopy

func (in *ModelRegistrySpec) DeepCopy() *ModelRegistrySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistrySpec.

func (*ModelRegistrySpec) DeepCopyInto

func (in *ModelRegistrySpec) DeepCopyInto(out *ModelRegistrySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelSpec

type ModelSpec struct {
	Plugin  *PluginSpec `json:"plugin,omitempty"`
	Modules []Module    `json:"modules,omitempty"`
}

ModelSpec is the k8s spec for a Model resource

func (*ModelSpec) DeepCopy

func (in *ModelSpec) DeepCopy() *ModelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.

func (*ModelSpec) DeepCopyInto

func (in *ModelSpec) DeepCopyInto(out *ModelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModelStatus

type ModelStatus struct {
	RegistryStatuses []RegistryStatus `json:"registryStatuses,omitempty"`
}

ModelStatus defines the observed state of Model

func (*ModelStatus) DeepCopy

func (in *ModelStatus) DeepCopy() *ModelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus.

func (*ModelStatus) DeepCopyInto

func (in *ModelStatus) DeepCopyInto(out *ModelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Module

type Module struct {
	Name         string `json:"name,omitempty"`
	Organization string `json:"organization,omitempty"`
	Revision     string `json:"revision,omitempty"`
	Data         string `json:"data,omitempty"`
}

Module defines a module

func (*Module) DeepCopy

func (in *Module) DeepCopy() *Module

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PluginSpec

type PluginSpec struct {
	Type    string `json:"type,omitempty"`
	Version string `json:"version,omitempty"`
}

PluginSpec is the spec for a Model plugin

func (*PluginSpec) DeepCopy

func (in *PluginSpec) DeepCopy() *PluginSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSpec.

func (*PluginSpec) DeepCopyInto

func (in *PluginSpec) DeepCopyInto(out *PluginSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RegistryStatus

type RegistryStatus struct {
	PodName string     `json:"podName,omitempty"`
	Phase   ModelPhase `json:"phase,omitempty"`
}

RegistryStatus defines the state of a model in a registry

func (*RegistryStatus) DeepCopy

func (in *RegistryStatus) DeepCopy() *RegistryStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryStatus.

func (*RegistryStatus) DeepCopyInto

func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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