Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AIClasses
- type AIModel
- type AIModels
- type AggregationWorker
- type CloudWorker
- type Condition
- type ConfFile
- type Dataset
- type DatasetList
- type DatasetSpec
- type DatasetStatus
- type DeployModel
- type DeploySpec
- type EdgeWorker
- type EvalSpec
- type FEModel
- type FLJobCondition
- type FLJobConditionType
- type FLJobPhase
- type FLJobSpec
- type FLJobStatus
- type FeatureExtractionService
- type FeatureExtractionServiceCondition
- type FeatureExtractionServiceConditionType
- type FeatureExtractionServiceList
- type FeatureExtractionServiceSpec
- type FeatureExtractionServiceStatus
- type FederatedLearningJob
- type FederatedLearningJobList
- type HardExampleMining
- type ILDataset
- type ILJobCondition
- type ILJobSpec
- type ILJobStage
- type ILJobStageConditionType
- type ILJobStatus
- type IncrementalLearningJob
- type IncrementalLearningJobList
- type InitialEvalModel
- type InitialModel
- type JointInferenceService
- type JointInferenceServiceCondition
- type JointInferenceServiceConditionType
- type JointInferenceServiceList
- type JointInferenceServiceSpec
- type JointInferenceServiceStatus
- type JointMultiEdgeService
- type JointMultiEdgeServiceCondition
- type JointMultiEdgeServiceConditionType
- type JointMultiEdgeServiceList
- type JointMultiEdgeServiceSpec
- type JointMultiEdgeServiceStatus
- type KnowledgeBase
- type LLCondition
- type LLDataset
- type LLDeploySpec
- type LLEvalSpec
- type LLJobCondition
- type LLJobSpec
- type LLJobStage
- type LLJobStageConditionType
- type LLJobStatus
- type LLTimer
- type LLTrainSpec
- type LLTrigger
- type LifelongLearningJob
- type LifelongLearningJobList
- type LogLevel
- type Metric
- type Model
- type ModelList
- type ModelSpec
- type ModelStatus
- type ObjectSearchService
- type ObjectSearchServiceCondition
- type ObjectSearchServiceConditionType
- type ObjectSearchServiceList
- type ObjectSearchServiceSpec
- type ObjectSearchServiceStatus
- type ObjectTrackingService
- type ObjectTrackingServiceCondition
- type ObjectTrackingServiceConditionType
- type ObjectTrackingServiceList
- type ObjectTrackingServiceSpec
- type ObjectTrackingServiceStatus
- type OverallStatus
- type ParaSpec
- type PretrainedModel
- type ReidJob
- type ReidJobCondition
- type ReidJobConditionType
- type ReidJobList
- type ReidJobPhase
- type ReidJobSpec
- type ReidJobStatus
- type ReidWorkers
- type S3Transmitter
- type Samples
- type ServiceConfig
- type Timer
- type TrackingWorker
- type TrainDataset
- type TrainModel
- type TrainSpec
- type TrainingWorker
- type Transmitter
- type Trigger
- type UserWorker
- type VideoAnalyticsJob
- type VideoAnalyticsJobCondition
- type VideoAnalyticsJobConditionType
- type VideoAnalyticsJobList
- type VideoAnalyticsJobPhase
- type VideoAnalyticsJobSpec
- type VideoAnalyticsJobStatus
- type VideoAnalyticsModel
- type WSTransmitter
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: sedna.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AIClasses ¶
type AIClasses struct { NumberOfAIClasses int `json:"numberOfAIClasses"` ListOfAIClasses []string `json:"listOfAIClasses,omitempty"` }
func (*AIClasses) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIClasses.
func (*AIClasses) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AIModel ¶
type AIModel struct { ModelID string `json:"modelID"` AveragePrecision float32 `json:"averagePrecision"` NumberOfTrainSamples int `json:"numberOfTrainSamples"` }
func (*AIModel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIModel.
func (*AIModel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AIModels ¶
type AIModels struct { NumberOfAIModels int `json:"numberOfAIModels"` ListOfAIModels []AIModel `json:"listOfAIModels,omitempty"` }
func (*AIModels) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AIModels.
func (*AIModels) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AggregationWorker ¶
type AggregationWorker struct { // Model defines train model of federated learning job Model TrainModel `json:"model"` Template v1.PodTemplateSpec `json:"template"` }
AggregationWorker describes the data an aggregation worker should have
func (*AggregationWorker) DeepCopy ¶
func (in *AggregationWorker) DeepCopy() *AggregationWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregationWorker.
func (*AggregationWorker) DeepCopyInto ¶
func (in *AggregationWorker) DeepCopyInto(out *AggregationWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudWorker ¶
type CloudWorker struct { File ConfFile `json:"file"` LogLevel LogLevel `json:"logLevel"` Template v1.PodTemplateSpec `json:"template"` }
CloudWorker describes the data a cloud worker should have
func (*CloudWorker) DeepCopy ¶
func (in *CloudWorker) DeepCopy() *CloudWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWorker.
func (*CloudWorker) DeepCopyInto ¶
func (in *CloudWorker) DeepCopyInto(out *CloudWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { Operator string `json:"operator"` Threshold float64 `json:"threshold"` Metric string `json:"metric"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfFile ¶
type ConfFile struct {
Paths []string `json:"paths"`
}
ConfFile describes the configuration file
type Dataset ¶
type Dataset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatasetSpec `json:"spec"` Status DatasetStatus `json:"status,omitempty"` }
Dataset describes the data that a dataset resource should have
func (*Dataset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dataset.
func (*Dataset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dataset) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasetList ¶
type DatasetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Dataset `json:"items"` }
DatasetList is a list of Datasets
func (*DatasetList) DeepCopy ¶
func (in *DatasetList) DeepCopy() *DatasetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetList.
func (*DatasetList) DeepCopyInto ¶
func (in *DatasetList) DeepCopyInto(out *DatasetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatasetList) DeepCopyObject ¶
func (in *DatasetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasetSpec ¶
type DatasetSpec struct { URL string `json:"url"` Format string `json:"format"` NodeName string `json:"nodeName"` CredentialName string `json:"credentialName,omitempty"` }
DatasetSpec is a description of a dataset
func (*DatasetSpec) DeepCopy ¶
func (in *DatasetSpec) DeepCopy() *DatasetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetSpec.
func (*DatasetSpec) DeepCopyInto ¶
func (in *DatasetSpec) DeepCopyInto(out *DatasetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatasetStatus ¶
type DatasetStatus struct { UpdateTime *metav1.Time `json:"updateTime,omitempty" protobuf:"bytes,1,opt,name=updateTime"` NumberOfSamples int `json:"numberOfSamples"` }
DatasetStatus represents information about the status of a dataset including the time a dataset updated, and number of samples in a dataset
func (*DatasetStatus) DeepCopy ¶
func (in *DatasetStatus) DeepCopy() *DatasetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetStatus.
func (*DatasetStatus) DeepCopyInto ¶
func (in *DatasetStatus) DeepCopyInto(out *DatasetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployModel ¶
type DeployModel struct { Name string `json:"name"` // HotUpdateEnabled will enable the model hot update feature if its value is true. // Default value is false. HotUpdateEnabled bool `json:"hotUpdateEnabled,omitempty"` // PollPeriodSeconds is interval in seconds between echo poll of the deploy model config file. // PollPeriodSeconds must be greater than zero and the default value is 60. // It will be used only when HotUpdateEnabled is true. // +kubebuilder:validation:Minimum:=1 // +kubebuilder:default:=60 PollPeriodSeconds int64 `json:"pollPeriodSeconds,omitempty"` }
func (*DeployModel) DeepCopy ¶
func (in *DeployModel) DeepCopy() *DeployModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployModel.
func (*DeployModel) DeepCopyInto ¶
func (in *DeployModel) DeepCopyInto(out *DeployModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploySpec ¶
type DeploySpec struct { Model DeployModel `json:"model"` Trigger Trigger `json:"trigger"` HardExampleMining HardExampleMining `json:"hardExampleMining"` Template v1.PodTemplateSpec `json:"template"` }
DeploySpec describes the deploy model to be updated
func (*DeploySpec) DeepCopy ¶
func (in *DeploySpec) DeepCopy() *DeploySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploySpec.
func (*DeploySpec) DeepCopyInto ¶
func (in *DeploySpec) DeepCopyInto(out *DeploySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeWorker ¶
type EdgeWorker struct { File ConfFile `json:"file"` LogLevel LogLevel `json:"logLevel"` HardExampleMining HardExampleMining `json:"hardExampleMining"` Template v1.PodTemplateSpec `json:"template"` }
EdgeWorker describes the data a edge worker should have
func DeepCopyEdgeWorkerSlice ¶
func DeepCopyEdgeWorkerSlice(in []EdgeWorker) []EdgeWorker
func (*EdgeWorker) DeepCopy ¶
func (in *EdgeWorker) DeepCopy() *EdgeWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWorker.
func (*EdgeWorker) DeepCopyInto ¶
func (in *EdgeWorker) DeepCopyInto(out *EdgeWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EvalSpec ¶
type EvalSpec struct { InitialModel *InitialEvalModel `json:"initialEvalModel,omitempty"` Template v1.PodTemplateSpec `json:"template"` }
EvalSpec describes the data an eval worker should have
func (*EvalSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvalSpec.
func (*EvalSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FEModel ¶
type FEModel struct {
Name string `json:"name"`
}
Describes the feature extraction model
func (*FEModel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FEModel.
func (*FEModel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FLJobCondition ¶
type FLJobCondition struct { // Type of job condition, Complete or Failed. Type FLJobConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // Last time the condition was checked. // +optional LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
FLJobCondition describes current state of a job.
func (*FLJobCondition) DeepCopy ¶
func (in *FLJobCondition) DeepCopy() *FLJobCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FLJobCondition.
func (*FLJobCondition) DeepCopyInto ¶
func (in *FLJobCondition) DeepCopyInto(out *FLJobCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FLJobConditionType ¶
type FLJobConditionType string
const ( // FLJobCondComplete means the job has completed its execution. FLJobCondComplete FLJobConditionType = "Complete" // FLJobCondFailed means the job has failed its execution. FLJobCondFailed FLJobConditionType = "Failed" // FLJobCondTraining means the job has been training. FLJobCondTraining FLJobConditionType = "Training" )
These are valid conditions of a job.
type FLJobPhase ¶
type FLJobPhase string
FLJobPhase is a label for the condition of a job at the current time.
const ( // FLJobPending means the job has been accepted by the system, but one or more of the pods // has not been started. This includes time before being bound to a node, as well as time spent // pulling images onto the host. FLJobPending FLJobPhase = "Pending" // FLJobRunning means the job has been bound to a node and all of the pods have been started. // At least one container is still running or is in the process of being restarted. FLJobRunning FLJobPhase = "Running" // FLJobSucceeded means that all pods in the job have voluntarily terminated // with a container exit code of 0, and the system is not going to restart any of these pods. FLJobSucceeded FLJobPhase = "Succeeded" // FLJobFailed means that all pods in the job have terminated, and at least one container has // terminated in a failure (exited with a non-zero exit code or was stopped by the system). FLJobFailed FLJobPhase = "Failed" )
These are the valid statuses of jobs.
type FLJobSpec ¶
type FLJobSpec struct { AggregationWorker AggregationWorker `json:"aggregationWorker"` TrainingWorkers []TrainingWorker `json:"trainingWorkers"` PretrainedModel PretrainedModel `json:"pretrainedModel,omitempty"` Transmitter Transmitter `json:"transmitter,omitempty"` }
FLJobSpec is a description of a federatedlearning job
func (*FLJobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FLJobSpec.
func (*FLJobSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FLJobStatus ¶
type FLJobStatus struct { // The latest available observations of a federated job's current state. // +optional Conditions []FLJobCondition `json:"conditions,omitempty"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // The number of actively running pods. // +optional Active int32 `json:"active"` // The number of pods which reached phase Succeeded. // +optional Succeeded int32 `json:"succeeded"` // The number of pods which reached phase Failed. // +optional Failed int32 `json:"failed"` // The phase of the federatedlearning job. // +optional Phase FLJobPhase `json:"phase,omitempty"` }
FLJobStatus represents the current state of a federatedlearning job.
func (*FLJobStatus) DeepCopy ¶
func (in *FLJobStatus) DeepCopy() *FLJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FLJobStatus.
func (*FLJobStatus) DeepCopyInto ¶
func (in *FLJobStatus) DeepCopyInto(out *FLJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureExtractionService ¶
type FeatureExtractionService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec FeatureExtractionServiceSpec `json:"spec"` Status FeatureExtractionServiceStatus `json:"status,omitempty"` }
func (*FeatureExtractionService) DeepCopy ¶
func (in *FeatureExtractionService) DeepCopy() *FeatureExtractionService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureExtractionService.
func (*FeatureExtractionService) DeepCopyInto ¶
func (in *FeatureExtractionService) DeepCopyInto(out *FeatureExtractionService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureExtractionService) DeepCopyObject ¶
func (in *FeatureExtractionService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureExtractionServiceCondition ¶
type FeatureExtractionServiceCondition struct { // Type of service condition, Complete or Failed. Type FeatureExtractionServiceConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition, // one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
FeatureExtractionServiceCondition describes current state of a service. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*FeatureExtractionServiceCondition) DeepCopy ¶
func (in *FeatureExtractionServiceCondition) DeepCopy() *FeatureExtractionServiceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureExtractionServiceCondition.
func (*FeatureExtractionServiceCondition) DeepCopyInto ¶
func (in *FeatureExtractionServiceCondition) DeepCopyInto(out *FeatureExtractionServiceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureExtractionServiceConditionType ¶
type FeatureExtractionServiceConditionType string
FeatureExtractionServiceConditionType defines the condition type
const ( // FeatureExtractionServiceCondPending means the service has been accepted by the system, // but one or more of the workers has not been started. FeatureExtractionServiceCondPending FeatureExtractionServiceConditionType = "Pending" // FeatureExtractionServiceCondFailed means the service has failed its execution. FeatureExtractionServiceCondFailed FeatureExtractionServiceConditionType = "Failed" // FeatureExtractionServiceCondRunning means the service has been ready. FeatureExtractionServiceCondRunning FeatureExtractionServiceConditionType = "Running" )
These are valid conditions of a service.
type FeatureExtractionServiceList ¶
type FeatureExtractionServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FeatureExtractionService `json:"items"` }
FeatureExtractionServiceList is a list of FeatureExtractionService.
func (*FeatureExtractionServiceList) DeepCopy ¶
func (in *FeatureExtractionServiceList) DeepCopy() *FeatureExtractionServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureExtractionServiceList.
func (*FeatureExtractionServiceList) DeepCopyInto ¶
func (in *FeatureExtractionServiceList) DeepCopyInto(out *FeatureExtractionServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureExtractionServiceList) DeepCopyObject ¶
func (in *FeatureExtractionServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureExtractionServiceSpec ¶
type FeatureExtractionServiceSpec struct { KafkaSupport bool `json:"kafkaSupport,omitempty"` Model FEModel `json:"model"` appsv1.DeploymentSpec `json:",inline"` }
FeatureExtractionServiceSpec is a description of a FeatureExtractionService
func (*FeatureExtractionServiceSpec) DeepCopy ¶
func (in *FeatureExtractionServiceSpec) DeepCopy() *FeatureExtractionServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureExtractionServiceSpec.
func (*FeatureExtractionServiceSpec) DeepCopyInto ¶
func (in *FeatureExtractionServiceSpec) DeepCopyInto(out *FeatureExtractionServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureExtractionServiceStatus ¶
type FeatureExtractionServiceStatus struct { // The latest available observations of a joint inference service's current state. // +optional Conditions []FeatureExtractionServiceCondition `json:"conditions,omitempty"` // Represents time when the service was acknowledged by the service controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // The number of actively running workers. // +optional Active int32 `json:"active"` // The number of workers which reached to Failed. // +optional Failed int32 `json:"failed"` // Metrics of the feature extraction service. Metrics []Metric `json:"metrics,omitempty"` }
FeatureExtractionServiceStatus represents the current state of a feature extraction service.
func (*FeatureExtractionServiceStatus) DeepCopy ¶
func (in *FeatureExtractionServiceStatus) DeepCopy() *FeatureExtractionServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureExtractionServiceStatus.
func (*FeatureExtractionServiceStatus) DeepCopyInto ¶
func (in *FeatureExtractionServiceStatus) DeepCopyInto(out *FeatureExtractionServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederatedLearningJob ¶
type FederatedLearningJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FLJobSpec `json:"spec"` Status FLJobStatus `json:"status,omitempty"` }
FederatedLearningJob describes the data that a FederatedLearningJob resource should have
func (*FederatedLearningJob) DeepCopy ¶
func (in *FederatedLearningJob) DeepCopy() *FederatedLearningJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedLearningJob.
func (*FederatedLearningJob) DeepCopyInto ¶
func (in *FederatedLearningJob) DeepCopyInto(out *FederatedLearningJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FederatedLearningJob) DeepCopyObject ¶
func (in *FederatedLearningJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FederatedLearningJobList ¶
type FederatedLearningJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FederatedLearningJob `json:"items"` }
FederatedLearningJobList is a list of FederatedLearningJobs.
func (*FederatedLearningJobList) DeepCopy ¶
func (in *FederatedLearningJobList) DeepCopy() *FederatedLearningJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedLearningJobList.
func (*FederatedLearningJobList) DeepCopyInto ¶
func (in *FederatedLearningJobList) DeepCopyInto(out *FederatedLearningJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FederatedLearningJobList) DeepCopyObject ¶
func (in *FederatedLearningJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HardExampleMining ¶
type HardExampleMining struct { Name string `json:"name"` Parameters []ParaSpec `json:"parameters,omitempty"` }
HardExampleMining describes the hard example algorithm to be used
func (*HardExampleMining) DeepCopy ¶
func (in *HardExampleMining) DeepCopy() *HardExampleMining
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardExampleMining.
func (*HardExampleMining) DeepCopyInto ¶
func (in *HardExampleMining) DeepCopyInto(out *HardExampleMining)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ILDataset ¶
func (*ILDataset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ILDataset.
func (*ILDataset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ILJobCondition ¶
type ILJobCondition struct { // Type of job condition, Complete or Failed. Type ILJobStageConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // Stage of the condition Stage ILJobStage `json:"stage"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` // The json data related to this condition // +optional Data string `json:"data,omitempty"` }
ILJobCondition describes current state of a job. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*ILJobCondition) DeepCopy ¶
func (in *ILJobCondition) DeepCopy() *ILJobCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ILJobCondition.
func (*ILJobCondition) DeepCopyInto ¶
func (in *ILJobCondition) DeepCopyInto(out *ILJobCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ILJobSpec ¶
type ILJobSpec struct { Dataset ILDataset `json:"dataset"` InitialModel InitialModel `json:"initialModel"` TrainSpec TrainSpec `json:"trainSpec"` EvalSpec EvalSpec `json:"evalSpec"` DeploySpec DeploySpec `json:"deploySpec"` // the credential referer for OutputDir CredentialName string `json:"credentialName,omitempty"` OutputDir string `json:"outputDir"` }
ILJobSpec is a description of a incrementallearningjob
func (*ILJobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ILJobSpec.
func (*ILJobSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ILJobStage ¶
type ILJobStage string
ILJobStage is a label for the stage of a job at the current time.
const ( ILJobTrain ILJobStage = "Train" ILJobEval ILJobStage = "Eval" ILJobDeploy ILJobStage = "Deploy" )
type ILJobStageConditionType ¶
type ILJobStageConditionType string
const ( ILJobStageCondWaiting ILJobStageConditionType = "Waiting" ILJobStageCondReady ILJobStageConditionType = "Ready" ILJobStageCondStarting ILJobStageConditionType = "Starting" ILJobStageCondRunning ILJobStageConditionType = "Running" ILJobStageCondCompleted ILJobStageConditionType = "Completed" ILJobStageCondFailed ILJobStageConditionType = "Failed" )
These are valid stage conditions of a job.
type ILJobStatus ¶
type ILJobStatus struct { // The latest available observations of a incrementllearning job's current state. // +optional Conditions []ILJobCondition `json:"conditions,omitempty"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` }
ILJobStatus represents the current state of a incrementallearning job
func (*ILJobStatus) DeepCopy ¶
func (in *ILJobStatus) DeepCopy() *ILJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ILJobStatus.
func (*ILJobStatus) DeepCopyInto ¶
func (in *ILJobStatus) DeepCopyInto(out *ILJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IncrementalLearningJob ¶
type IncrementalLearningJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ILJobSpec `json:"spec"` Status ILJobStatus `json:"status,omitempty"` }
IncrementalLearningJob describes the data that a incrementallearningjob resource should have
func (*IncrementalLearningJob) DeepCopy ¶
func (in *IncrementalLearningJob) DeepCopy() *IncrementalLearningJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncrementalLearningJob.
func (*IncrementalLearningJob) DeepCopyInto ¶
func (in *IncrementalLearningJob) DeepCopyInto(out *IncrementalLearningJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IncrementalLearningJob) DeepCopyObject ¶
func (in *IncrementalLearningJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IncrementalLearningJobList ¶
type IncrementalLearningJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IncrementalLearningJob `json:"items"` }
IncrementalLearningJobList is a list of IncrementalLearningJobs.
func (*IncrementalLearningJobList) DeepCopy ¶
func (in *IncrementalLearningJobList) DeepCopy() *IncrementalLearningJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncrementalLearningJobList.
func (*IncrementalLearningJobList) DeepCopyInto ¶
func (in *IncrementalLearningJobList) DeepCopyInto(out *IncrementalLearningJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IncrementalLearningJobList) DeepCopyObject ¶
func (in *IncrementalLearningJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InitialEvalModel ¶
type InitialEvalModel struct {
Name string `json:"name"`
}
func (*InitialEvalModel) DeepCopy ¶
func (in *InitialEvalModel) DeepCopy() *InitialEvalModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialEvalModel.
func (*InitialEvalModel) DeepCopyInto ¶
func (in *InitialEvalModel) DeepCopyInto(out *InitialEvalModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitialModel ¶
type InitialModel struct {
Name string `json:"name"`
}
func (*InitialModel) DeepCopy ¶
func (in *InitialModel) DeepCopy() *InitialModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialModel.
func (*InitialModel) DeepCopyInto ¶
func (in *InitialModel) DeepCopyInto(out *InitialModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JointInferenceService ¶
type JointInferenceService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec JointInferenceServiceSpec `json:"spec"` Status JointInferenceServiceStatus `json:"status,omitempty"` }
JointInferenceService describes the data that a jointinferenceservice resource should have
func (*JointInferenceService) DeepCopy ¶
func (in *JointInferenceService) DeepCopy() *JointInferenceService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JointInferenceService.
func (*JointInferenceService) DeepCopyInto ¶
func (in *JointInferenceService) DeepCopyInto(out *JointInferenceService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JointInferenceService) DeepCopyObject ¶
func (in *JointInferenceService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JointInferenceServiceCondition ¶
type JointInferenceServiceCondition struct { // Type of service condition, Complete or Failed. Type JointInferenceServiceConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition, // one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
JointInferenceServiceCondition describes current state of a service. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*JointInferenceServiceCondition) DeepCopy ¶
func (in *JointInferenceServiceCondition) DeepCopy() *JointInferenceServiceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JointInferenceServiceCondition.
func (*JointInferenceServiceCondition) DeepCopyInto ¶
func (in *JointInferenceServiceCondition) DeepCopyInto(out *JointInferenceServiceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JointInferenceServiceConditionType ¶
type JointInferenceServiceConditionType string
JointInferenceServiceConditionType defines the condition type
const ( // JointInferenceServiceCondPending means the service has been accepted by the system, // but one or more of the workers has not been started. JointInferenceServiceCondPending JointInferenceServiceConditionType = "Pending" // JointInferenceServiceCondFailed means the service has failed its execution. JointInferenceServiceCondFailed JointInferenceServiceConditionType = "Failed" // JointInferenceServiceCondRunning means the service is running. JointInferenceServiceCondRunning JointInferenceServiceConditionType = "Running" )
These are valid conditions of a service.
type JointInferenceServiceList ¶
type JointInferenceServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []JointInferenceService `json:"items"` }
JointInferenceServiceList is a list of JointInferenceServices.
func (*JointInferenceServiceList) DeepCopy ¶
func (in *JointInferenceServiceList) DeepCopy() *JointInferenceServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JointInferenceServiceList.
func (*JointInferenceServiceList) DeepCopyInto ¶
func (in *JointInferenceServiceList) DeepCopyInto(out *JointInferenceServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JointInferenceServiceList) DeepCopyObject ¶
func (in *JointInferenceServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JointInferenceServiceSpec ¶
type JointInferenceServiceSpec struct { EdgeWorker EdgeWorker `json:"edgeWorker"` CloudWorker CloudWorker `json:"cloudWorker"` }
JointInferenceServiceSpec is a description of a jointinferenceservice
func (*JointInferenceServiceSpec) DeepCopy ¶
func (in *JointInferenceServiceSpec) DeepCopy() *JointInferenceServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JointInferenceServiceSpec.
func (*JointInferenceServiceSpec) DeepCopyInto ¶
func (in *JointInferenceServiceSpec) DeepCopyInto(out *JointInferenceServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JointInferenceServiceStatus ¶
type JointInferenceServiceStatus struct { // The latest available observations of a joint inference service's current state. // +optional Conditions []JointInferenceServiceCondition `json:"conditions,omitempty"` // Represents time when the service was acknowledged by the service controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // The number of actively running workers. // +optional Active int32 `json:"active"` // The number of workers which reached to Failed. // +optional Failed int32 `json:"failed"` // Metrics of the joint inference service. Metrics []Metric `json:"metrics,omitempty"` }
JointInferenceServiceStatus represents the current state of a joint inference service.
func (*JointInferenceServiceStatus) DeepCopy ¶
func (in *JointInferenceServiceStatus) DeepCopy() *JointInferenceServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JointInferenceServiceStatus.
func (*JointInferenceServiceStatus) DeepCopyInto ¶
func (in *JointInferenceServiceStatus) DeepCopyInto(out *JointInferenceServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JointMultiEdgeService ¶
type JointMultiEdgeService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec JointMultiEdgeServiceSpec `json:"spec"` Status JointMultiEdgeServiceStatus `json:"status,omitempty"` }
JointInferenceService describes the data that a jointinferenceservice resource should have
func (*JointMultiEdgeService) DeepCopy ¶
func (in *JointMultiEdgeService) DeepCopy() *JointMultiEdgeService
func (*JointMultiEdgeService) DeepCopyInto ¶
func (in *JointMultiEdgeService) DeepCopyInto(out *JointMultiEdgeService)
func (*JointMultiEdgeService) DeepCopyObject ¶
func (in *JointMultiEdgeService) DeepCopyObject() runtime.Object
type JointMultiEdgeServiceCondition ¶
type JointMultiEdgeServiceCondition struct { // Type of service condition, Complete or Failed. Type JointMultiEdgeServiceConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition, // one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
JointInferenceServiceCondition describes current state of a service. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*JointMultiEdgeServiceCondition) DeepCopy ¶
func (in *JointMultiEdgeServiceCondition) DeepCopy() *JointMultiEdgeServiceCondition
func (*JointMultiEdgeServiceCondition) DeepCopyInto ¶
func (in *JointMultiEdgeServiceCondition) DeepCopyInto(out *JointMultiEdgeServiceCondition)
type JointMultiEdgeServiceConditionType ¶
type JointMultiEdgeServiceConditionType string
JointInferenceServiceConditionType defines the condition type type JointInferenceServiceConditionType string
const ( // JointInferenceServiceCondPending means the service has been accepted by the system, // but one or more of the workers has not been started. JointMultiEdgeServiceCondPending JointMultiEdgeServiceConditionType = "Pending" // JointInferenceServiceCondFailed means the service has failed its execution. JointMultiEdgeServiceCondFailed JointMultiEdgeServiceConditionType = "Failed" // JointInferenceServiceCondRunning means the service is running. JointMultiEdgeServiceCondRunning JointMultiEdgeServiceConditionType = "Running" )
These are valid conditions of a service.
type JointMultiEdgeServiceList ¶
type JointMultiEdgeServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []JointMultiEdgeService `json:"items"` }
JointInferenceServiceList is a list of JointInferenceServices. type JointInferenceServiceList struct {
func (*JointMultiEdgeServiceList) DeepCopy ¶
func (in *JointMultiEdgeServiceList) DeepCopy() *JointMultiEdgeServiceList
func (*JointMultiEdgeServiceList) DeepCopyInto ¶
func (in *JointMultiEdgeServiceList) DeepCopyInto(out *JointMultiEdgeServiceList)
func (*JointMultiEdgeServiceList) DeepCopyObject ¶
func (in *JointMultiEdgeServiceList) DeepCopyObject() runtime.Object
type JointMultiEdgeServiceSpec ¶
type JointMultiEdgeServiceSpec struct { // modified: edgeworker -> array of edgeworkers EdgeWorker []EdgeWorker `json:"edgeWorker"` CloudWorker CloudWorker `json:"cloudWorker"` ServiceConfig ServiceConfig `json:"serviceConfig"` }
JointMultiEdgeServiceSpec is a description of a jointinferenceservice
func (*JointMultiEdgeServiceSpec) DeepCopy ¶
func (in *JointMultiEdgeServiceSpec) DeepCopy() *JointMultiEdgeServiceSpec
func (*JointMultiEdgeServiceSpec) DeepCopyInto ¶
func (in *JointMultiEdgeServiceSpec) DeepCopyInto(out *JointMultiEdgeServiceSpec)
type JointMultiEdgeServiceStatus ¶
type JointMultiEdgeServiceStatus struct { // The latest available observations of a joint inference service's current state. // +optional // Conditions []JointInferenceServiceCondition `json:"conditions,omitempty"` Conditions []JointMultiEdgeServiceCondition `json:"conditions,omitempty"` // Represents time when the service was acknowledged by the service controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // The number of actively running workers. // +optional Active int32 `json:"active"` // The number of workers which reached to Failed. // +optional Failed int32 `json:"failed"` // Metrics of the joint inference service. Metrics []Metric `json:"metrics,omitempty"` }
JointMultiEdgeServiceStatus represents the current state of a joint inference service.
func (*JointMultiEdgeServiceStatus) DeepCopy ¶
func (in *JointMultiEdgeServiceStatus) DeepCopy() *JointMultiEdgeServiceStatus
func (*JointMultiEdgeServiceStatus) DeepCopyInto ¶
func (in *JointMultiEdgeServiceStatus) DeepCopyInto(out *JointMultiEdgeServiceStatus)
type KnowledgeBase ¶
type KnowledgeBase struct { AIModels AIModels `json:"AIModels"` AIClasses AIClasses `json:"AIClasses"` Samples Samples `json:"samples"` }
func (*KnowledgeBase) DeepCopy ¶
func (in *KnowledgeBase) DeepCopy() *KnowledgeBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeBase.
func (*KnowledgeBase) DeepCopyInto ¶
func (in *KnowledgeBase) DeepCopyInto(out *KnowledgeBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLCondition ¶
type LLCondition struct { Operator string `json:"operator"` Threshold float64 `json:"threshold"` Metric string `json:"metric"` }
func (*LLCondition) DeepCopy ¶
func (in *LLCondition) DeepCopy() *LLCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLCondition.
func (*LLCondition) DeepCopyInto ¶
func (in *LLCondition) DeepCopyInto(out *LLCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLDataset ¶
func (*LLDataset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLDataset.
func (*LLDataset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLDeploySpec ¶
type LLDeploySpec struct {
Template v1.PodTemplateSpec `json:"template"`
}
LLDeploySpec describes the deploy model to be updated
func (*LLDeploySpec) DeepCopy ¶
func (in *LLDeploySpec) DeepCopy() *LLDeploySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLDeploySpec.
func (*LLDeploySpec) DeepCopyInto ¶
func (in *LLDeploySpec) DeepCopyInto(out *LLDeploySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLEvalSpec ¶
type LLEvalSpec struct {
Template v1.PodTemplateSpec `json:"template"`
}
LLEvalSpec describes the data an eval worker should have
func (*LLEvalSpec) DeepCopy ¶
func (in *LLEvalSpec) DeepCopy() *LLEvalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLEvalSpec.
func (*LLEvalSpec) DeepCopyInto ¶
func (in *LLEvalSpec) DeepCopyInto(out *LLEvalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLJobCondition ¶
type LLJobCondition struct { // Type of job condition, Complete or Failed. Type LLJobStageConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // Stage of the condition Stage LLJobStage `json:"stage"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` // The json data related to this condition // +optional Data string `json:"data,omitempty"` }
LLJobCondition describes current state of a job. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*LLJobCondition) DeepCopy ¶
func (in *LLJobCondition) DeepCopy() *LLJobCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLJobCondition.
func (*LLJobCondition) DeepCopyInto ¶
func (in *LLJobCondition) DeepCopyInto(out *LLJobCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLJobSpec ¶
type LLJobSpec struct { Dataset LLDataset `json:"dataset"` TrainSpec LLTrainSpec `json:"trainSpec"` EvalSpec LLEvalSpec `json:"evalSpec"` DeploySpec LLDeploySpec `json:"deploySpec"` // the credential referer for OutputDir CredentialName string `json:"credentialName,omitempty"` OutputDir string `json:"outputDir"` }
func (*LLJobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLJobSpec.
func (*LLJobSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLJobStage ¶
type LLJobStage string
LLJobStage is a label for the stage of a job at the current time.
const ( LLJobTrain LLJobStage = "Train" LLJobEval LLJobStage = "Eval" LLJobDeploy LLJobStage = "Deploy" )
type LLJobStageConditionType ¶
type LLJobStageConditionType string
const ( LLJobStageCondWaiting LLJobStageConditionType = "Waiting" LLJobStageCondReady LLJobStageConditionType = "Ready" LLJobStageCondStarting LLJobStageConditionType = "Starting" LLJobStageCondRunning LLJobStageConditionType = "Running" LLJobStageCondCompleted LLJobStageConditionType = "Completed" LLJobStageCondFailed LLJobStageConditionType = "Failed" )
These are valid stage conditions of a job.
type LLJobStatus ¶
type LLJobStatus struct { // The latest available observations of a lifelonglearning job's current state. // +optional Conditions []LLJobCondition `json:"conditions,omitempty"` KnowledgeBase KnowledgeBase `json:"knowledgeBase,omitempty"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` }
LLJobStatus represents the current state of a lifelonglearning job
func (*LLJobStatus) DeepCopy ¶
func (in *LLJobStatus) DeepCopy() *LLJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLJobStatus.
func (*LLJobStatus) DeepCopyInto ¶
func (in *LLJobStatus) DeepCopyInto(out *LLJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLTimer ¶
func (*LLTimer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLTimer.
func (*LLTimer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLTrainSpec ¶
type LLTrainSpec struct { Template v1.PodTemplateSpec `json:"template"` Trigger LLTrigger `json:"trigger"` }
LLTrainSpec describes the data an train worker should have
func (*LLTrainSpec) DeepCopy ¶
func (in *LLTrainSpec) DeepCopy() *LLTrainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLTrainSpec.
func (*LLTrainSpec) DeepCopyInto ¶
func (in *LLTrainSpec) DeepCopyInto(out *LLTrainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LLTrigger ¶
type LLTrigger struct { CheckPeriodSeconds int `json:"checkPeriodSeconds,omitempty"` Timer *LLTimer `json:"timer,omitempty"` Condition LLCondition `json:"condition"` }
func (*LLTrigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLTrigger.
func (*LLTrigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifelongLearningJob ¶
type LifelongLearningJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec LLJobSpec `json:"spec"` Status LLJobStatus `json:"status,omitempty"` }
func (*LifelongLearningJob) DeepCopy ¶
func (in *LifelongLearningJob) DeepCopy() *LifelongLearningJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifelongLearningJob.
func (*LifelongLearningJob) DeepCopyInto ¶
func (in *LifelongLearningJob) DeepCopyInto(out *LifelongLearningJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LifelongLearningJob) DeepCopyObject ¶
func (in *LifelongLearningJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LifelongLearningJobList ¶
type LifelongLearningJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []LifelongLearningJob `json:"items"` OverallKBStatus OverallStatus `json:"overallStatus"` OverallKBDetails KnowledgeBase `json:"overallKBStatus"` }
LifelongLearningJobList is a list of LifelongLearningJobs.
func (*LifelongLearningJobList) DeepCopy ¶
func (in *LifelongLearningJobList) DeepCopy() *LifelongLearningJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifelongLearningJobList.
func (*LifelongLearningJobList) DeepCopyInto ¶
func (in *LifelongLearningJobList) DeepCopyInto(out *LifelongLearningJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LifelongLearningJobList) DeepCopyObject ¶
func (in *LifelongLearningJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Metric ¶
Metric describes the data that a resource model metric should have
func (*Metric) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.
func (*Metric) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Model ¶
type Model struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ModelSpec `json:"spec"` Status ModelStatus `json:"status,omitempty"` }
Model describes the data that a model resource should have
func (*Model) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.
func (*Model) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Model) DeepCopyObject ¶
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"` Items []Model `json:"items"` }
ModelList is a list of Models
func (*ModelList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.
func (*ModelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModelList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModelSpec ¶
type ModelSpec struct { URL string `json:"url"` Format string `json:"format"` Devices []string `json:"device_soc_versions,omitempty"` CredentialName string `json:"credentialName,omitempty"` }
ModelSpec is a description of a model
func (*ModelSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.
func (*ModelSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelStatus ¶
type ModelStatus struct { UpdateTime *metav1.Time `json:"updateTime,omitempty" protobuf:"bytes,1,opt,name=updateTime"` Metrics []Metric `json:"metrics,omitempty" protobuf:"bytes,2,rep,name=metrics"` }
ModelStatus represents information about the status of a model including the time a model updated, and metrics in a 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 ObjectSearchService ¶
type ObjectSearchService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectSearchServiceSpec `json:"spec"` Status ObjectSearchServiceStatus `json:"status,omitempty"` }
ObjectSearchService describes the data that a objectsearchservice resource should have
func (*ObjectSearchService) DeepCopy ¶
func (in *ObjectSearchService) DeepCopy() *ObjectSearchService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSearchService.
func (*ObjectSearchService) DeepCopyInto ¶
func (in *ObjectSearchService) DeepCopyInto(out *ObjectSearchService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSearchService) DeepCopyObject ¶
func (in *ObjectSearchService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSearchServiceCondition ¶
type ObjectSearchServiceCondition struct { // Type of service condition, Complete or Failed. Type ObjectSearchServiceConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition, // one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
ObjectSearchServiceCondition describes current state of a service. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*ObjectSearchServiceCondition) DeepCopy ¶
func (in *ObjectSearchServiceCondition) DeepCopy() *ObjectSearchServiceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSearchServiceCondition.
func (*ObjectSearchServiceCondition) DeepCopyInto ¶
func (in *ObjectSearchServiceCondition) DeepCopyInto(out *ObjectSearchServiceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSearchServiceConditionType ¶
type ObjectSearchServiceConditionType string
ObjectSearchServiceConditionType defines the condition type
const ( // ObjectSearchServiceCondPending means the service has been accepted by the system, // but one or more of the workers has not been started. ObjectSearchServiceCondPending ObjectSearchServiceConditionType = "Pending" // ObjectSearchServiceCondFailed means the service has failed its execution. ObjectSearchServiceCondFailed ObjectSearchServiceConditionType = "Failed" // ObjectSearchServiceCondRunning means the service is running. ObjectSearchServiceCondRunning ObjectSearchServiceConditionType = "Running" )
These are valid conditions of a service.
type ObjectSearchServiceList ¶
type ObjectSearchServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ObjectSearchService `json:"items"` }
ObjectSearchServiceList is a list of ObjectSearchServices.
func (*ObjectSearchServiceList) DeepCopy ¶
func (in *ObjectSearchServiceList) DeepCopy() *ObjectSearchServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSearchServiceList.
func (*ObjectSearchServiceList) DeepCopyInto ¶
func (in *ObjectSearchServiceList) DeepCopyInto(out *ObjectSearchServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectSearchServiceList) DeepCopyObject ¶
func (in *ObjectSearchServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSearchServiceSpec ¶
type ObjectSearchServiceSpec struct { UserWorker UserWorker `json:"userWorker"` TrackingWorkers []TrackingWorker `json:"trackingWorkers"` ReidWorkers ReidWorkers `json:"reidWorkers"` }
ObjectSearchServiceSpec is a description of a objectsearchservice
func (*ObjectSearchServiceSpec) DeepCopy ¶
func (in *ObjectSearchServiceSpec) DeepCopy() *ObjectSearchServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSearchServiceSpec.
func (*ObjectSearchServiceSpec) DeepCopyInto ¶
func (in *ObjectSearchServiceSpec) DeepCopyInto(out *ObjectSearchServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectSearchServiceStatus ¶
type ObjectSearchServiceStatus struct { // The latest available observations of a object search service's current state. // +optional Conditions []ObjectSearchServiceCondition `json:"conditions,omitempty"` // Represents time when the service was acknowledged by the service controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // The number of actively running workers. // +optional Active int32 `json:"active"` // The number of workers which reached to Failed. // +optional Failed int32 `json:"failed"` }
ObjectSearchServiceStatus represents the current state of a object search service.
func (*ObjectSearchServiceStatus) DeepCopy ¶
func (in *ObjectSearchServiceStatus) DeepCopy() *ObjectSearchServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSearchServiceStatus.
func (*ObjectSearchServiceStatus) DeepCopyInto ¶
func (in *ObjectSearchServiceStatus) DeepCopyInto(out *ObjectSearchServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectTrackingService ¶
type ObjectTrackingService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectTrackingServiceSpec `json:"spec"` Status ObjectTrackingServiceStatus `json:"status,omitempty"` }
ObjectTrackingService describes the data that a objecttrackingservice resource should have
func (*ObjectTrackingService) DeepCopy ¶
func (in *ObjectTrackingService) DeepCopy() *ObjectTrackingService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTrackingService.
func (*ObjectTrackingService) DeepCopyInto ¶
func (in *ObjectTrackingService) DeepCopyInto(out *ObjectTrackingService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectTrackingService) DeepCopyObject ¶
func (in *ObjectTrackingService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectTrackingServiceCondition ¶
type ObjectTrackingServiceCondition struct { // Type of service condition, Complete or Failed. Type ObjectTrackingServiceConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition, // one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
ObjectTrackingServiceCondition describes current state of a service. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*ObjectTrackingServiceCondition) DeepCopy ¶
func (in *ObjectTrackingServiceCondition) DeepCopy() *ObjectTrackingServiceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTrackingServiceCondition.
func (*ObjectTrackingServiceCondition) DeepCopyInto ¶
func (in *ObjectTrackingServiceCondition) DeepCopyInto(out *ObjectTrackingServiceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectTrackingServiceConditionType ¶
type ObjectTrackingServiceConditionType string
ObjectTrackingServiceConditionType defines the condition type
const ( // ObjectTrackingServiceCondPending means the service has been accepted by the system, // but one or more of the workers has not been started. ObjectTrackingServiceCondPending ObjectTrackingServiceConditionType = "Pending" // ObjectTrackingServiceCondFailed means the service has failed its execution. ObjectTrackingServiceCondFailed ObjectTrackingServiceConditionType = "Failed" // ObjectTrackingServiceCondRunning means the service is running. ObjectTrackingServiceCondRunning ObjectTrackingServiceConditionType = "Running" )
These are valid conditions of a service.
type ObjectTrackingServiceList ¶
type ObjectTrackingServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ObjectTrackingService `json:"items"` }
ObjectTrackingServiceList is a list of ObjectTrackingServices.
func (*ObjectTrackingServiceList) DeepCopy ¶
func (in *ObjectTrackingServiceList) DeepCopy() *ObjectTrackingServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTrackingServiceList.
func (*ObjectTrackingServiceList) DeepCopyInto ¶
func (in *ObjectTrackingServiceList) DeepCopyInto(out *ObjectTrackingServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectTrackingServiceList) DeepCopyObject ¶
func (in *ObjectTrackingServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectTrackingServiceSpec ¶
type ObjectTrackingServiceSpec struct { TrackingWorkers []TrackingWorker `json:"trackingWorkers"` ReidWorkers ReidWorkers `json:"reidWorkers"` }
ObjectTrackingServiceSpec is a description of a objecttrackingservice
func (*ObjectTrackingServiceSpec) DeepCopy ¶
func (in *ObjectTrackingServiceSpec) DeepCopy() *ObjectTrackingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTrackingServiceSpec.
func (*ObjectTrackingServiceSpec) DeepCopyInto ¶
func (in *ObjectTrackingServiceSpec) DeepCopyInto(out *ObjectTrackingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectTrackingServiceStatus ¶
type ObjectTrackingServiceStatus struct { // The latest available observations of a object tracking service's current state. // +optional Conditions []ObjectTrackingServiceCondition `json:"conditions,omitempty"` // Represents time when the service was acknowledged by the service controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // The number of actively running workers. // +optional Active int32 `json:"active"` // The number of workers which reached to Failed. // +optional Failed int32 `json:"failed"` }
ObjectTrackingServiceStatus represents the current state of a object tracking service.
func (*ObjectTrackingServiceStatus) DeepCopy ¶
func (in *ObjectTrackingServiceStatus) DeepCopy() *ObjectTrackingServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTrackingServiceStatus.
func (*ObjectTrackingServiceStatus) DeepCopyInto ¶
func (in *ObjectTrackingServiceStatus) DeepCopyInto(out *ObjectTrackingServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverallStatus ¶
type OverallStatus struct { NumberOfUnseenSample int `json:"numberOfUnseenSample"` NumberOfNewUnseenSample int `json:"numberOfNewUnseenSample"` NumberOfAIModels int `json:"numberOfAIModels"` PercentOfNewAIModels float32 `json:"percentOfNewAIModels"` NumberOfClasses int `json:"numberOfClasses"` PercentOfNewClasses float32 `json:"percentOfNewClasses"` }
func (*OverallStatus) DeepCopy ¶
func (in *OverallStatus) DeepCopy() *OverallStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverallStatus.
func (*OverallStatus) DeepCopyInto ¶
func (in *OverallStatus) DeepCopyInto(out *OverallStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParaSpec ¶
ParaSpec is a description of a parameter
func (*ParaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParaSpec.
func (*ParaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PretrainedModel ¶
type PretrainedModel struct {
Name string `json:"name"`
}
PretrainedModel defines pretrained model of federated learning job
func (*PretrainedModel) DeepCopy ¶
func (in *PretrainedModel) DeepCopy() *PretrainedModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PretrainedModel.
func (*PretrainedModel) DeepCopyInto ¶
func (in *PretrainedModel) DeepCopyInto(out *PretrainedModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReidJob ¶
type ReidJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ReidJobSpec `json:"spec"` Status ReidJobStatus `json:"status,omitempty"` }
func (*ReidJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidJob.
func (*ReidJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReidJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReidJobCondition ¶
type ReidJobCondition struct { // Type of job condition, Complete or Failed. Type ReidJobConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` // The json data related to this condition // +optional Data string `json:"data,omitempty"` }
ReidJobCondition describes current state of a job. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*ReidJobCondition) DeepCopy ¶
func (in *ReidJobCondition) DeepCopy() *ReidJobCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidJobCondition.
func (*ReidJobCondition) DeepCopyInto ¶
func (in *ReidJobCondition) DeepCopyInto(out *ReidJobCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReidJobConditionType ¶
type ReidJobConditionType string
const ( ReidJobCondWaiting ReidJobConditionType = "Waiting" ReidJobCondReady ReidJobConditionType = "Ready" ReidJobCondStarting ReidJobConditionType = "Starting" ReidJobCondRunning ReidJobConditionType = "Running" ReidJobCondCompleted ReidJobConditionType = "Completed" ReidJobCondFailed ReidJobConditionType = "Failed" )
These are valid stage conditions of a job.
type ReidJobList ¶
type ReidJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ReidJob `json:"items"` }
ReidJobList is a list of ReidJob.
func (*ReidJobList) DeepCopy ¶
func (in *ReidJobList) DeepCopy() *ReidJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidJobList.
func (*ReidJobList) DeepCopyInto ¶
func (in *ReidJobList) DeepCopyInto(out *ReidJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReidJobList) DeepCopyObject ¶
func (in *ReidJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReidJobPhase ¶
type ReidJobPhase string
ReidJobPhase is a label for the condition of a job at the current time.
const ( // ReidJobPending means the job has been accepted by the system, but one or more of the pods // has not been started. This includes time before being bound to a node, as well as time spent // pulling images onto the host. ReidJobPending ReidJobPhase = "Pending" // ReidJobRunning means the job has been bound to a node and all of the pods have been started. // At least one container is still running or is in the process of being restarted. ReidJobRunning ReidJobPhase = "Running" // ReidJobSucceeded means that all pods in the job have voluntarily terminated // with a container exit code of 0, and the system is not going to restart any of these pods. ReidJobSucceeded ReidJobPhase = "Succeeded" // ReidJobFailed means that all pods in the job have terminated, and at least one container has // terminated in a failure (exited with a non-zero exit code or was stopped by the system). ReidJobFailed ReidJobPhase = "Failed" )
These are the valid statuses of jobs.
type ReidJobSpec ¶
type ReidJobSpec struct { batchv1.JobSpec `json:",inline"` KafkaSupport bool `json:"kafkaSupport,omitempty"` }
ReidJobSpec is a description of a ReidJob
func (*ReidJobSpec) DeepCopy ¶
func (in *ReidJobSpec) DeepCopy() *ReidJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidJobSpec.
func (*ReidJobSpec) DeepCopyInto ¶
func (in *ReidJobSpec) DeepCopyInto(out *ReidJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReidJobStatus ¶
type ReidJobStatus struct { // The latest available observations of a reid job's current state. // +optional Conditions []ReidJobCondition `json:"conditions,omitempty"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // The number of actively running pods. // +optional Active int32 `json:"active"` // The number of pods which reached phase Succeeded. // +optional Succeeded int32 `json:"succeeded"` // The number of pods which reached phase Failed. // +optional Failed int32 `json:"failed"` // The phase of the reid job. // +optional Phase ReidJobPhase `json:"phase,omitempty"` }
ReidJobStatus represents the current state of a reid job
func (*ReidJobStatus) DeepCopy ¶
func (in *ReidJobStatus) DeepCopy() *ReidJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidJobStatus.
func (*ReidJobStatus) DeepCopyInto ¶
func (in *ReidJobStatus) DeepCopyInto(out *ReidJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReidWorkers ¶
type ReidWorkers struct {
appsv1.DeploymentSpec `json:",inline"`
}
ReidWorkers describes the data reid workers should have
func (*ReidWorkers) DeepCopy ¶
func (in *ReidWorkers) DeepCopy() *ReidWorkers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReidWorkers.
func (*ReidWorkers) DeepCopyInto ¶
func (in *ReidWorkers) DeepCopyInto(out *ReidWorkers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Transmitter ¶
type S3Transmitter struct { AggregationDataPath string `json:"aggDataPath"` CredentialName string `json:"credentialName,omitempty"` }
S3Transmitter describes the s3 transmitter
func (*S3Transmitter) DeepCopy ¶
func (in *S3Transmitter) DeepCopy() *S3Transmitter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Transmitter.
func (*S3Transmitter) DeepCopyInto ¶
func (in *S3Transmitter) DeepCopyInto(out *S3Transmitter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Samples ¶
type Samples struct { NumberOfLabeledUnseenSample int `json:"numberOfLabeledUnseenSample"` NumberOfUnseenSample int `json:"numberOfUnseenSample"` }
func (*Samples) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Samples.
func (*Samples) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceConfig ¶
type Timer ¶
func (*Timer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timer.
func (*Timer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrackingWorker ¶
type TrackingWorker struct {
Template v1.PodTemplateSpec `json:"template"`
}
TrackingWorker describes the data a tracking worker should have
func (*TrackingWorker) DeepCopy ¶
func (in *TrackingWorker) DeepCopy() *TrackingWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrackingWorker.
func (*TrackingWorker) DeepCopyInto ¶
func (in *TrackingWorker) DeepCopyInto(out *TrackingWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrainDataset ¶
type TrainDataset struct {
Name string `json:"name"`
}
TrainDataset defines dataset of federated learning job
func (*TrainDataset) DeepCopy ¶
func (in *TrainDataset) DeepCopy() *TrainDataset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainDataset.
func (*TrainDataset) DeepCopyInto ¶
func (in *TrainDataset) DeepCopyInto(out *TrainDataset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrainModel ¶
type TrainModel struct {
Name string `json:"name"`
}
func (*TrainModel) DeepCopy ¶
func (in *TrainModel) DeepCopy() *TrainModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainModel.
func (*TrainModel) DeepCopyInto ¶
func (in *TrainModel) DeepCopyInto(out *TrainModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrainSpec ¶
type TrainSpec struct { Template v1.PodTemplateSpec `json:"template"` Trigger Trigger `json:"trigger"` }
TrainSpec describes the data an train worker should have
func (*TrainSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainSpec.
func (*TrainSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrainingWorker ¶
type TrainingWorker struct { Dataset TrainDataset `json:"dataset"` Template v1.PodTemplateSpec `json:"template"` }
TrainingWorker describes the data a training worker should have
func (*TrainingWorker) DeepCopy ¶
func (in *TrainingWorker) DeepCopy() *TrainingWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingWorker.
func (*TrainingWorker) DeepCopyInto ¶
func (in *TrainingWorker) DeepCopyInto(out *TrainingWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Transmitter ¶
type Transmitter struct { S3 *S3Transmitter `json:"s3,omitempty"` WS *WSTransmitter `json:"ws,omitempty"` }
Transmitter describes the transmitter of data plane between training workers and aggregation worker
func (*Transmitter) DeepCopy ¶
func (in *Transmitter) DeepCopy() *Transmitter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transmitter.
func (*Transmitter) DeepCopyInto ¶
func (in *Transmitter) DeepCopyInto(out *Transmitter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct { CheckPeriodSeconds int `json:"checkPeriodSeconds,omitempty"` Timer *Timer `json:"timer,omitempty"` Condition Condition `json:"condition"` }
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserWorker ¶
type UserWorker struct {
Template v1.PodTemplateSpec `json:"template"`
}
UserWorker describes the data a user worker should have
func (*UserWorker) DeepCopy ¶
func (in *UserWorker) DeepCopy() *UserWorker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserWorker.
func (*UserWorker) DeepCopyInto ¶
func (in *UserWorker) DeepCopyInto(out *UserWorker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VideoAnalyticsJob ¶
type VideoAnalyticsJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec VideoAnalyticsJobSpec `json:"spec"` Status VideoAnalyticsJobStatus `json:"status,omitempty"` }
func (*VideoAnalyticsJob) DeepCopy ¶
func (in *VideoAnalyticsJob) DeepCopy() *VideoAnalyticsJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsJob.
func (*VideoAnalyticsJob) DeepCopyInto ¶
func (in *VideoAnalyticsJob) DeepCopyInto(out *VideoAnalyticsJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VideoAnalyticsJob) DeepCopyObject ¶
func (in *VideoAnalyticsJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VideoAnalyticsJobCondition ¶
type VideoAnalyticsJobCondition struct { // Type of job condition, Complete or Failed. Type VideoAnalyticsJobConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // last time we got an update on a given condition // +optional LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` // The json data related to this condition // +optional Data string `json:"data,omitempty"` }
VideoAnalyticsJobCondition describes current state of a job. see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties for details.
func (*VideoAnalyticsJobCondition) DeepCopy ¶
func (in *VideoAnalyticsJobCondition) DeepCopy() *VideoAnalyticsJobCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsJobCondition.
func (*VideoAnalyticsJobCondition) DeepCopyInto ¶
func (in *VideoAnalyticsJobCondition) DeepCopyInto(out *VideoAnalyticsJobCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VideoAnalyticsJobConditionType ¶
type VideoAnalyticsJobConditionType string
const ( VideoAnalyticsJobCondWaiting VideoAnalyticsJobConditionType = "Waiting" VideoAnalyticsJobCondReady VideoAnalyticsJobConditionType = "Ready" VideoAnalyticsJobCondStarting VideoAnalyticsJobConditionType = "Starting" VideoAnalyticsJobCondRunning VideoAnalyticsJobConditionType = "Running" VideoAnalyticsJobCondCompleted VideoAnalyticsJobConditionType = "Completed" VideoAnalyticsJobCondFailed VideoAnalyticsJobConditionType = "Failed" )
These are valid stage conditions of a job.
type VideoAnalyticsJobList ¶
type VideoAnalyticsJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VideoAnalyticsJob `json:"items"` }
VideoAnalyticsJobList is a list of VideoAnalyticsJob.
func (*VideoAnalyticsJobList) DeepCopy ¶
func (in *VideoAnalyticsJobList) DeepCopy() *VideoAnalyticsJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsJobList.
func (*VideoAnalyticsJobList) DeepCopyInto ¶
func (in *VideoAnalyticsJobList) DeepCopyInto(out *VideoAnalyticsJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VideoAnalyticsJobList) DeepCopyObject ¶
func (in *VideoAnalyticsJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VideoAnalyticsJobPhase ¶
type VideoAnalyticsJobPhase string
VideoAnalyticsJobPhase is a label for the condition of a job at the current time.
const ( // VideoAnalyticsJobPending means the job has been accepted by the system, but one or more of the pods // has not been started. This includes time before being bound to a node, as well as time spent // pulling images onto the host. VideoAnalyticsJobPending VideoAnalyticsJobPhase = "Pending" // VideoAnalyticsJobRunning means the job has been bound to a node and all of the pods have been started. // At least one container is still running or is in the process of being restarted. VideoAnalyticsJobRunning VideoAnalyticsJobPhase = "Running" // VideoAnalyticsJobSucceeded means that all pods in the job have voluntarily terminated // with a container exit code of 0, and the system is not going to restart any of these pods. VideoAnalyticsJobSucceeded VideoAnalyticsJobPhase = "Succeeded" // VideoAnalyticsJobFailed means that all pods in the job have terminated, and at least one container has // terminated in a failure (exited with a non-zero exit code or was stopped by the system). VideoAnalyticsJobFailed VideoAnalyticsJobPhase = "Failed" )
These are the valid statuses of jobs.
type VideoAnalyticsJobSpec ¶
type VideoAnalyticsJobSpec struct { batchv1.JobSpec `json:",inline"` KafkaSupport bool `json:"kafkaSupport,omitempty"` Model VideoAnalyticsModel `json:"model"` }
VideoAnalyticsJobSpec is a description of a VideoAnalyticsJob
func (*VideoAnalyticsJobSpec) DeepCopy ¶
func (in *VideoAnalyticsJobSpec) DeepCopy() *VideoAnalyticsJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsJobSpec.
func (*VideoAnalyticsJobSpec) DeepCopyInto ¶
func (in *VideoAnalyticsJobSpec) DeepCopyInto(out *VideoAnalyticsJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VideoAnalyticsJobStatus ¶
type VideoAnalyticsJobStatus struct { // The latest available observations of a videoanalytics job's current state. // +optional Conditions []VideoAnalyticsJobCondition `json:"conditions,omitempty"` // Represents time when the job was acknowledged by the job controller. // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // The number of actively running pods. // +optional Active int32 `json:"active"` // The number of pods which reached phase Succeeded. // +optional Succeeded int32 `json:"succeeded"` // The number of pods which reached phase Failed. // +optional Failed int32 `json:"failed"` // The phase of the videoanalytics job. // +optional Phase VideoAnalyticsJobPhase `json:"phase,omitempty"` }
VideoAnalyticsJobStatus represents the current state of a videoanalytics job
func (*VideoAnalyticsJobStatus) DeepCopy ¶
func (in *VideoAnalyticsJobStatus) DeepCopy() *VideoAnalyticsJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsJobStatus.
func (*VideoAnalyticsJobStatus) DeepCopyInto ¶
func (in *VideoAnalyticsJobStatus) DeepCopyInto(out *VideoAnalyticsJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VideoAnalyticsModel ¶
type VideoAnalyticsModel struct {
Name string `json:"name"`
}
VideoAnalyticsModel describes the detection model
func (*VideoAnalyticsModel) DeepCopy ¶
func (in *VideoAnalyticsModel) DeepCopy() *VideoAnalyticsModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyticsModel.
func (*VideoAnalyticsModel) DeepCopyInto ¶
func (in *VideoAnalyticsModel) DeepCopyInto(out *VideoAnalyticsModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WSTransmitter ¶
type WSTransmitter struct{}
WSTransmitter describes the websocket transmitter
func (*WSTransmitter) DeepCopy ¶
func (in *WSTransmitter) DeepCopy() *WSTransmitter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WSTransmitter.
func (*WSTransmitter) DeepCopyInto ¶
func (in *WSTransmitter) DeepCopyInto(out *WSTransmitter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- common_types.go
- dataset_types.go
- doc.go
- featureextractionservice_types.go
- federatedlearningjob_types.go
- incrementallearningjob_types.go
- jointinferenceservice_types.go
- jointmultiedgeservice_types.go
- lifelonglearningjob_types.go
- model_types.go
- objectsearchservice_types.go
- objecttrackingservice_types.go
- register.go
- reidjob_types.go
- videoanalyticsjob_types.go
- zz_generated.deepcopy.go