Documentation ¶
Index ¶
- Variables
- func RegisterManagerServer(s grpc.ServiceRegistrar, srv ManagerServer)
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetBio() string
- func (x *Application) GetId() uint64
- func (x *Application) GetName() string
- func (x *Application) GetPriority() *ApplicationPriority
- func (x *Application) GetUrl() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- func (m *Application) Validate() error
- func (m *Application) ValidateAll() error
- type ApplicationMultiError
- type ApplicationPriority
- func (*ApplicationPriority) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationPriority) GetUrls() []*URLPriority
- func (x *ApplicationPriority) GetValue() v1.Priority
- func (*ApplicationPriority) ProtoMessage()
- func (x *ApplicationPriority) ProtoReflect() protoreflect.Message
- func (x *ApplicationPriority) Reset()
- func (x *ApplicationPriority) String() string
- func (m *ApplicationPriority) Validate() error
- func (m *ApplicationPriority) ValidateAll() error
- type ApplicationPriorityMultiError
- type ApplicationPriorityValidationError
- func (e ApplicationPriorityValidationError) Cause() error
- func (e ApplicationPriorityValidationError) Error() string
- func (e ApplicationPriorityValidationError) ErrorName() string
- func (e ApplicationPriorityValidationError) Field() string
- func (e ApplicationPriorityValidationError) Key() bool
- func (e ApplicationPriorityValidationError) Reason() string
- type ApplicationValidationError
- func (e ApplicationValidationError) Cause() error
- func (e ApplicationValidationError) Error() string
- func (e ApplicationValidationError) ErrorName() string
- func (e ApplicationValidationError) Field() string
- func (e ApplicationValidationError) Key() bool
- func (e ApplicationValidationError) Reason() string
- type Bucket
- type BucketMultiError
- type BucketValidationError
- type CreateModelRequest
- func (*CreateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelRequest) GetHostName() string
- func (x *CreateModelRequest) GetIp() string
- func (x *CreateModelRequest) GetModelId() string
- func (x *CreateModelRequest) GetName() string
- func (x *CreateModelRequest) GetSchedulerId() uint64
- func (x *CreateModelRequest) GetVersionId() string
- func (*CreateModelRequest) ProtoMessage()
- func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelRequest) Reset()
- func (x *CreateModelRequest) String() string
- func (m *CreateModelRequest) Validate() error
- func (m *CreateModelRequest) ValidateAll() error
- type CreateModelRequestMultiError
- type CreateModelRequestValidationError
- func (e CreateModelRequestValidationError) Cause() error
- func (e CreateModelRequestValidationError) Error() string
- func (e CreateModelRequestValidationError) ErrorName() string
- func (e CreateModelRequestValidationError) Field() string
- func (e CreateModelRequestValidationError) Key() bool
- func (e CreateModelRequestValidationError) Reason() string
- type CreateModelVersionRequest
- func (*CreateModelVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelVersionRequest) GetData() []byte
- func (x *CreateModelVersionRequest) GetMae() float64
- func (x *CreateModelVersionRequest) GetModelId() string
- func (x *CreateModelVersionRequest) GetMse() float64
- func (x *CreateModelVersionRequest) GetR2() float64
- func (x *CreateModelVersionRequest) GetRmse() float64
- func (x *CreateModelVersionRequest) GetSchedulerId() uint64
- func (*CreateModelVersionRequest) ProtoMessage()
- func (x *CreateModelVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelVersionRequest) Reset()
- func (x *CreateModelVersionRequest) String() string
- func (m *CreateModelVersionRequest) Validate() error
- func (m *CreateModelVersionRequest) ValidateAll() error
- type CreateModelVersionRequestMultiError
- type CreateModelVersionRequestValidationError
- func (e CreateModelVersionRequestValidationError) Cause() error
- func (e CreateModelVersionRequestValidationError) Error() string
- func (e CreateModelVersionRequestValidationError) ErrorName() string
- func (e CreateModelVersionRequestValidationError) Field() string
- func (e CreateModelVersionRequestValidationError) Key() bool
- func (e CreateModelVersionRequestValidationError) Reason() string
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelRequest) GetModelId() string
- func (x *DeleteModelRequest) GetSchedulerId() uint64
- func (*DeleteModelRequest) ProtoMessage()
- func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelRequest) Reset()
- func (x *DeleteModelRequest) String() string
- func (m *DeleteModelRequest) Validate() error
- func (m *DeleteModelRequest) ValidateAll() error
- type DeleteModelRequestMultiError
- type DeleteModelRequestValidationError
- func (e DeleteModelRequestValidationError) Cause() error
- func (e DeleteModelRequestValidationError) Error() string
- func (e DeleteModelRequestValidationError) ErrorName() string
- func (e DeleteModelRequestValidationError) Field() string
- func (e DeleteModelRequestValidationError) Key() bool
- func (e DeleteModelRequestValidationError) Reason() string
- type DeleteModelVersionRequest
- func (*DeleteModelVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelVersionRequest) GetModelId() string
- func (x *DeleteModelVersionRequest) GetSchedulerId() uint64
- func (x *DeleteModelVersionRequest) GetVersionId() string
- func (*DeleteModelVersionRequest) ProtoMessage()
- func (x *DeleteModelVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelVersionRequest) Reset()
- func (x *DeleteModelVersionRequest) String() string
- func (m *DeleteModelVersionRequest) Validate() error
- func (m *DeleteModelVersionRequest) ValidateAll() error
- type DeleteModelVersionRequestMultiError
- type DeleteModelVersionRequestValidationError
- func (e DeleteModelVersionRequestValidationError) Cause() error
- func (e DeleteModelVersionRequestValidationError) Error() string
- func (e DeleteModelVersionRequestValidationError) ErrorName() string
- func (e DeleteModelVersionRequestValidationError) Field() string
- func (e DeleteModelVersionRequestValidationError) Key() bool
- func (e DeleteModelVersionRequestValidationError) Reason() string
- type GetModelRequest
- func (*GetModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelRequest) GetModelId() string
- func (x *GetModelRequest) GetSchedulerId() uint64
- func (*GetModelRequest) ProtoMessage()
- func (x *GetModelRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelRequest) Reset()
- func (x *GetModelRequest) String() string
- func (m *GetModelRequest) Validate() error
- func (m *GetModelRequest) ValidateAll() error
- type GetModelRequestMultiError
- type GetModelRequestValidationError
- func (e GetModelRequestValidationError) Cause() error
- func (e GetModelRequestValidationError) Error() string
- func (e GetModelRequestValidationError) ErrorName() string
- func (e GetModelRequestValidationError) Field() string
- func (e GetModelRequestValidationError) Key() bool
- func (e GetModelRequestValidationError) Reason() string
- type GetModelVersionRequest
- func (*GetModelVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelVersionRequest) GetModelId() string
- func (x *GetModelVersionRequest) GetSchedulerId() uint64
- func (x *GetModelVersionRequest) GetVersionId() string
- func (*GetModelVersionRequest) ProtoMessage()
- func (x *GetModelVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelVersionRequest) Reset()
- func (x *GetModelVersionRequest) String() string
- func (m *GetModelVersionRequest) Validate() error
- func (m *GetModelVersionRequest) ValidateAll() error
- type GetModelVersionRequestMultiError
- type GetModelVersionRequestValidationError
- func (e GetModelVersionRequestValidationError) Cause() error
- func (e GetModelVersionRequestValidationError) Error() string
- func (e GetModelVersionRequestValidationError) ErrorName() string
- func (e GetModelVersionRequestValidationError) Field() string
- func (e GetModelVersionRequestValidationError) Key() bool
- func (e GetModelVersionRequestValidationError) Reason() string
- type GetObjectStorageRequest
- func (*GetObjectStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectStorageRequest) GetHostName() string
- func (x *GetObjectStorageRequest) GetIp() string
- func (x *GetObjectStorageRequest) GetSourceType() SourceType
- func (*GetObjectStorageRequest) ProtoMessage()
- func (x *GetObjectStorageRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectStorageRequest) Reset()
- func (x *GetObjectStorageRequest) String() string
- func (m *GetObjectStorageRequest) Validate() error
- func (m *GetObjectStorageRequest) ValidateAll() error
- type GetObjectStorageRequestMultiError
- type GetObjectStorageRequestValidationError
- func (e GetObjectStorageRequestValidationError) Cause() error
- func (e GetObjectStorageRequestValidationError) Error() string
- func (e GetObjectStorageRequestValidationError) ErrorName() string
- func (e GetObjectStorageRequestValidationError) Field() string
- func (e GetObjectStorageRequestValidationError) Key() bool
- func (e GetObjectStorageRequestValidationError) Reason() string
- type GetSchedulerRequest
- func (*GetSchedulerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchedulerRequest) GetHostName() string
- func (x *GetSchedulerRequest) GetIp() string
- func (x *GetSchedulerRequest) GetSchedulerClusterId() uint64
- func (x *GetSchedulerRequest) GetSourceType() SourceType
- func (*GetSchedulerRequest) ProtoMessage()
- func (x *GetSchedulerRequest) ProtoReflect() protoreflect.Message
- func (x *GetSchedulerRequest) Reset()
- func (x *GetSchedulerRequest) String() string
- func (m *GetSchedulerRequest) Validate() error
- func (m *GetSchedulerRequest) ValidateAll() error
- type GetSchedulerRequestMultiError
- type GetSchedulerRequestValidationError
- func (e GetSchedulerRequestValidationError) Cause() error
- func (e GetSchedulerRequestValidationError) Error() string
- func (e GetSchedulerRequestValidationError) ErrorName() string
- func (e GetSchedulerRequestValidationError) Field() string
- func (e GetSchedulerRequestValidationError) Key() bool
- func (e GetSchedulerRequestValidationError) Reason() string
- type GetSeedPeerRequest
- func (*GetSeedPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSeedPeerRequest) GetHostName() string
- func (x *GetSeedPeerRequest) GetIp() string
- func (x *GetSeedPeerRequest) GetSeedPeerClusterId() uint64
- func (x *GetSeedPeerRequest) GetSourceType() SourceType
- func (*GetSeedPeerRequest) ProtoMessage()
- func (x *GetSeedPeerRequest) ProtoReflect() protoreflect.Message
- func (x *GetSeedPeerRequest) Reset()
- func (x *GetSeedPeerRequest) String() string
- func (m *GetSeedPeerRequest) Validate() error
- func (m *GetSeedPeerRequest) ValidateAll() error
- type GetSeedPeerRequestMultiError
- type GetSeedPeerRequestValidationError
- func (e GetSeedPeerRequestValidationError) Cause() error
- func (e GetSeedPeerRequestValidationError) Error() string
- func (e GetSeedPeerRequestValidationError) ErrorName() string
- func (e GetSeedPeerRequestValidationError) Field() string
- func (e GetSeedPeerRequestValidationError) Key() bool
- func (e GetSeedPeerRequestValidationError) Reason() string
- type KeepAliveRequest
- func (*KeepAliveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeepAliveRequest) GetClusterId() uint64
- func (x *KeepAliveRequest) GetHostName() string
- func (x *KeepAliveRequest) GetIp() string
- func (x *KeepAliveRequest) GetSourceType() SourceType
- func (*KeepAliveRequest) ProtoMessage()
- func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message
- func (x *KeepAliveRequest) Reset()
- func (x *KeepAliveRequest) String() string
- func (m *KeepAliveRequest) Validate() error
- func (m *KeepAliveRequest) ValidateAll() error
- type KeepAliveRequestMultiError
- type KeepAliveRequestValidationError
- func (e KeepAliveRequestValidationError) Cause() error
- func (e KeepAliveRequestValidationError) Error() string
- func (e KeepAliveRequestValidationError) ErrorName() string
- func (e KeepAliveRequestValidationError) Field() string
- func (e KeepAliveRequestValidationError) Key() bool
- func (e KeepAliveRequestValidationError) Reason() string
- type ListApplicationsRequest
- func (*ListApplicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApplicationsRequest) GetHostName() string
- func (x *ListApplicationsRequest) GetIp() string
- func (x *ListApplicationsRequest) GetSourceType() SourceType
- func (*ListApplicationsRequest) ProtoMessage()
- func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListApplicationsRequest) Reset()
- func (x *ListApplicationsRequest) String() string
- func (m *ListApplicationsRequest) Validate() error
- func (m *ListApplicationsRequest) ValidateAll() error
- type ListApplicationsRequestMultiError
- type ListApplicationsRequestValidationError
- func (e ListApplicationsRequestValidationError) Cause() error
- func (e ListApplicationsRequestValidationError) Error() string
- func (e ListApplicationsRequestValidationError) ErrorName() string
- func (e ListApplicationsRequestValidationError) Field() string
- func (e ListApplicationsRequestValidationError) Key() bool
- func (e ListApplicationsRequestValidationError) Reason() string
- type ListApplicationsResponse
- func (*ListApplicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApplicationsResponse) GetApplications() []*Application
- func (*ListApplicationsResponse) ProtoMessage()
- func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListApplicationsResponse) Reset()
- func (x *ListApplicationsResponse) String() string
- func (m *ListApplicationsResponse) Validate() error
- func (m *ListApplicationsResponse) ValidateAll() error
- type ListApplicationsResponseMultiError
- type ListApplicationsResponseValidationError
- func (e ListApplicationsResponseValidationError) Cause() error
- func (e ListApplicationsResponseValidationError) Error() string
- func (e ListApplicationsResponseValidationError) ErrorName() string
- func (e ListApplicationsResponseValidationError) Field() string
- func (e ListApplicationsResponseValidationError) Key() bool
- func (e ListApplicationsResponseValidationError) Reason() string
- type ListBucketsRequest
- func (*ListBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsRequest) GetHostName() string
- func (x *ListBucketsRequest) GetIp() string
- func (x *ListBucketsRequest) GetSourceType() SourceType
- func (*ListBucketsRequest) ProtoMessage()
- func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBucketsRequest) Reset()
- func (x *ListBucketsRequest) String() string
- func (m *ListBucketsRequest) Validate() error
- func (m *ListBucketsRequest) ValidateAll() error
- type ListBucketsRequestMultiError
- type ListBucketsRequestValidationError
- func (e ListBucketsRequestValidationError) Cause() error
- func (e ListBucketsRequestValidationError) Error() string
- func (e ListBucketsRequestValidationError) ErrorName() string
- func (e ListBucketsRequestValidationError) Field() string
- func (e ListBucketsRequestValidationError) Key() bool
- func (e ListBucketsRequestValidationError) Reason() string
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsResponse) GetBuckets() []*Bucket
- func (*ListBucketsResponse) ProtoMessage()
- func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketsResponse) Reset()
- func (x *ListBucketsResponse) String() string
- func (m *ListBucketsResponse) Validate() error
- func (m *ListBucketsResponse) ValidateAll() error
- type ListBucketsResponseMultiError
- type ListBucketsResponseValidationError
- func (e ListBucketsResponseValidationError) Cause() error
- func (e ListBucketsResponseValidationError) Error() string
- func (e ListBucketsResponseValidationError) ErrorName() string
- func (e ListBucketsResponseValidationError) Field() string
- func (e ListBucketsResponseValidationError) Key() bool
- func (e ListBucketsResponseValidationError) Reason() string
- type ListModelVersionsRequest
- func (*ListModelVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelVersionsRequest) GetModelId() string
- func (x *ListModelVersionsRequest) GetSchedulerId() uint64
- func (*ListModelVersionsRequest) ProtoMessage()
- func (x *ListModelVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelVersionsRequest) Reset()
- func (x *ListModelVersionsRequest) String() string
- func (m *ListModelVersionsRequest) Validate() error
- func (m *ListModelVersionsRequest) ValidateAll() error
- type ListModelVersionsRequestMultiError
- type ListModelVersionsRequestValidationError
- func (e ListModelVersionsRequestValidationError) Cause() error
- func (e ListModelVersionsRequestValidationError) Error() string
- func (e ListModelVersionsRequestValidationError) ErrorName() string
- func (e ListModelVersionsRequestValidationError) Field() string
- func (e ListModelVersionsRequestValidationError) Key() bool
- func (e ListModelVersionsRequestValidationError) Reason() string
- type ListModelVersionsResponse
- func (*ListModelVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelVersionsResponse) GetModelVersions() []*ModelVersion
- func (*ListModelVersionsResponse) ProtoMessage()
- func (x *ListModelVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelVersionsResponse) Reset()
- func (x *ListModelVersionsResponse) String() string
- func (m *ListModelVersionsResponse) Validate() error
- func (m *ListModelVersionsResponse) ValidateAll() error
- type ListModelVersionsResponseMultiError
- type ListModelVersionsResponseValidationError
- func (e ListModelVersionsResponseValidationError) Cause() error
- func (e ListModelVersionsResponseValidationError) Error() string
- func (e ListModelVersionsResponseValidationError) ErrorName() string
- func (e ListModelVersionsResponseValidationError) Field() string
- func (e ListModelVersionsResponseValidationError) Key() bool
- func (e ListModelVersionsResponseValidationError) Reason() string
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsRequest) GetSchedulerId() uint64
- func (*ListModelsRequest) ProtoMessage()
- func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelsRequest) Reset()
- func (x *ListModelsRequest) String() string
- func (m *ListModelsRequest) Validate() error
- func (m *ListModelsRequest) ValidateAll() error
- type ListModelsRequestMultiError
- type ListModelsRequestValidationError
- func (e ListModelsRequestValidationError) Cause() error
- func (e ListModelsRequestValidationError) Error() string
- func (e ListModelsRequestValidationError) ErrorName() string
- func (e ListModelsRequestValidationError) Field() string
- func (e ListModelsRequestValidationError) Key() bool
- func (e ListModelsRequestValidationError) Reason() string
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsResponse) GetModels() []*Model
- func (*ListModelsResponse) ProtoMessage()
- func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelsResponse) Reset()
- func (x *ListModelsResponse) String() string
- func (m *ListModelsResponse) Validate() error
- func (m *ListModelsResponse) ValidateAll() error
- type ListModelsResponseMultiError
- type ListModelsResponseValidationError
- func (e ListModelsResponseValidationError) Cause() error
- func (e ListModelsResponseValidationError) Error() string
- func (e ListModelsResponseValidationError) ErrorName() string
- func (e ListModelsResponseValidationError) Field() string
- func (e ListModelsResponseValidationError) Key() bool
- func (e ListModelsResponseValidationError) Reason() string
- type ListSchedulersRequest
- func (*ListSchedulersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSchedulersRequest) GetCommit() string
- func (x *ListSchedulersRequest) GetHostInfo() map[string]string
- func (x *ListSchedulersRequest) GetHostName() string
- func (x *ListSchedulersRequest) GetIp() string
- func (x *ListSchedulersRequest) GetSourceType() SourceType
- func (x *ListSchedulersRequest) GetVersion() string
- func (*ListSchedulersRequest) ProtoMessage()
- func (x *ListSchedulersRequest) ProtoReflect() protoreflect.Message
- func (x *ListSchedulersRequest) Reset()
- func (x *ListSchedulersRequest) String() string
- func (m *ListSchedulersRequest) Validate() error
- func (m *ListSchedulersRequest) ValidateAll() error
- type ListSchedulersRequestMultiError
- type ListSchedulersRequestValidationError
- func (e ListSchedulersRequestValidationError) Cause() error
- func (e ListSchedulersRequestValidationError) Error() string
- func (e ListSchedulersRequestValidationError) ErrorName() string
- func (e ListSchedulersRequestValidationError) Field() string
- func (e ListSchedulersRequestValidationError) Key() bool
- func (e ListSchedulersRequestValidationError) Reason() string
- type ListSchedulersResponse
- func (*ListSchedulersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSchedulersResponse) GetSchedulers() []*Scheduler
- func (*ListSchedulersResponse) ProtoMessage()
- func (x *ListSchedulersResponse) ProtoReflect() protoreflect.Message
- func (x *ListSchedulersResponse) Reset()
- func (x *ListSchedulersResponse) String() string
- func (m *ListSchedulersResponse) Validate() error
- func (m *ListSchedulersResponse) ValidateAll() error
- type ListSchedulersResponseMultiError
- type ListSchedulersResponseValidationError
- func (e ListSchedulersResponseValidationError) Cause() error
- func (e ListSchedulersResponseValidationError) Error() string
- func (e ListSchedulersResponseValidationError) ErrorName() string
- func (e ListSchedulersResponseValidationError) Field() string
- func (e ListSchedulersResponseValidationError) Key() bool
- func (e ListSchedulersResponseValidationError) Reason() string
- type ManagerClient
- type ManagerServer
- type Manager_KeepAliveClient
- type Manager_KeepAliveServer
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetCreatedAt() *timestamppb.Timestamp
- func (x *Model) GetHostName() string
- func (x *Model) GetIp() string
- func (x *Model) GetModelId() string
- func (x *Model) GetName() string
- func (x *Model) GetSchedulerId() uint64
- func (x *Model) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Model) GetVersionId() string
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- func (m *Model) Validate() error
- func (m *Model) ValidateAll() error
- type ModelMultiError
- type ModelValidationError
- type ModelVersion
- func (*ModelVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ModelVersion) GetCreatedAt() *timestamppb.Timestamp
- func (x *ModelVersion) GetData() []byte
- func (x *ModelVersion) GetMae() float64
- func (x *ModelVersion) GetMse() float64
- func (x *ModelVersion) GetR2() float64
- func (x *ModelVersion) GetRmse() float64
- func (x *ModelVersion) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ModelVersion) GetVersionId() string
- func (*ModelVersion) ProtoMessage()
- func (x *ModelVersion) ProtoReflect() protoreflect.Message
- func (x *ModelVersion) Reset()
- func (x *ModelVersion) String() string
- func (m *ModelVersion) Validate() error
- func (m *ModelVersion) ValidateAll() error
- type ModelVersionMultiError
- type ModelVersionValidationError
- func (e ModelVersionValidationError) Cause() error
- func (e ModelVersionValidationError) Error() string
- func (e ModelVersionValidationError) ErrorName() string
- func (e ModelVersionValidationError) Field() string
- func (e ModelVersionValidationError) Key() bool
- func (e ModelVersionValidationError) Reason() string
- type ObjectStorage
- func (*ObjectStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectStorage) GetAccessKey() string
- func (x *ObjectStorage) GetEndpoint() string
- func (x *ObjectStorage) GetName() string
- func (x *ObjectStorage) GetRegion() string
- func (x *ObjectStorage) GetS3ForcePathStyle() bool
- func (x *ObjectStorage) GetSecretKey() string
- func (*ObjectStorage) ProtoMessage()
- func (x *ObjectStorage) ProtoReflect() protoreflect.Message
- func (x *ObjectStorage) Reset()
- func (x *ObjectStorage) String() string
- func (m *ObjectStorage) Validate() error
- func (m *ObjectStorage) ValidateAll() error
- type ObjectStorageMultiError
- type ObjectStorageValidationError
- func (e ObjectStorageValidationError) Cause() error
- func (e ObjectStorageValidationError) Error() string
- func (e ObjectStorageValidationError) ErrorName() string
- func (e ObjectStorageValidationError) Field() string
- func (e ObjectStorageValidationError) Key() bool
- func (e ObjectStorageValidationError) Reason() string
- type Scheduler
- func (*Scheduler) Descriptor() ([]byte, []int)deprecated
- func (x *Scheduler) GetHostName() string
- func (x *Scheduler) GetId() uint64
- func (x *Scheduler) GetIdc() string
- func (x *Scheduler) GetIp() string
- func (x *Scheduler) GetLocation() string
- func (x *Scheduler) GetPort() int32
- func (x *Scheduler) GetSchedulerCluster() *SchedulerCluster
- func (x *Scheduler) GetSchedulerClusterId() uint64
- func (x *Scheduler) GetSeedPeers() []*SeedPeer
- func (x *Scheduler) GetState() string
- func (x *Scheduler) GetVips() string
- func (*Scheduler) ProtoMessage()
- func (x *Scheduler) ProtoReflect() protoreflect.Message
- func (x *Scheduler) Reset()
- func (x *Scheduler) String() string
- func (m *Scheduler) Validate() error
- func (m *Scheduler) ValidateAll() error
- type SchedulerCluster
- func (*SchedulerCluster) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulerCluster) GetBio() string
- func (x *SchedulerCluster) GetClientConfig() []byte
- func (x *SchedulerCluster) GetConfig() []byte
- func (x *SchedulerCluster) GetId() uint64
- func (x *SchedulerCluster) GetName() string
- func (x *SchedulerCluster) GetScopes() []byte
- func (x *SchedulerCluster) GetSecurityGroup() *SecurityGroup
- func (*SchedulerCluster) ProtoMessage()
- func (x *SchedulerCluster) ProtoReflect() protoreflect.Message
- func (x *SchedulerCluster) Reset()
- func (x *SchedulerCluster) String() string
- func (m *SchedulerCluster) Validate() error
- func (m *SchedulerCluster) ValidateAll() error
- type SchedulerClusterMultiError
- type SchedulerClusterValidationError
- func (e SchedulerClusterValidationError) Cause() error
- func (e SchedulerClusterValidationError) Error() string
- func (e SchedulerClusterValidationError) ErrorName() string
- func (e SchedulerClusterValidationError) Field() string
- func (e SchedulerClusterValidationError) Key() bool
- func (e SchedulerClusterValidationError) Reason() string
- type SchedulerMultiError
- type SchedulerValidationError
- type SecurityGroup
- func (*SecurityGroup) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityGroup) GetBio() string
- func (x *SecurityGroup) GetDomain() string
- func (x *SecurityGroup) GetId() uint64
- func (x *SecurityGroup) GetName() string
- func (x *SecurityGroup) GetProxyDomain() string
- func (*SecurityGroup) ProtoMessage()
- func (x *SecurityGroup) ProtoReflect() protoreflect.Message
- func (x *SecurityGroup) Reset()
- func (x *SecurityGroup) String() string
- func (m *SecurityGroup) Validate() error
- func (m *SecurityGroup) ValidateAll() error
- type SecurityGroupMultiError
- type SecurityGroupValidationError
- func (e SecurityGroupValidationError) Cause() error
- func (e SecurityGroupValidationError) Error() string
- func (e SecurityGroupValidationError) ErrorName() string
- func (e SecurityGroupValidationError) Field() string
- func (e SecurityGroupValidationError) Key() bool
- func (e SecurityGroupValidationError) Reason() string
- type SeedPeer
- func (*SeedPeer) Descriptor() ([]byte, []int)deprecated
- func (x *SeedPeer) GetDownloadPort() int32
- func (x *SeedPeer) GetHostName() string
- func (x *SeedPeer) GetId() uint64
- func (x *SeedPeer) GetIdc() string
- func (x *SeedPeer) GetIp() string
- func (x *SeedPeer) GetLocation() string
- func (x *SeedPeer) GetObjectStoragePort() int32
- func (x *SeedPeer) GetPort() int32
- func (x *SeedPeer) GetSchedulers() []*Scheduler
- func (x *SeedPeer) GetSeedPeerCluster() *SeedPeerCluster
- func (x *SeedPeer) GetSeedPeerClusterId() uint64
- func (x *SeedPeer) GetState() string
- func (x *SeedPeer) GetType() string
- func (*SeedPeer) ProtoMessage()
- func (x *SeedPeer) ProtoReflect() protoreflect.Message
- func (x *SeedPeer) Reset()
- func (x *SeedPeer) String() string
- func (m *SeedPeer) Validate() error
- func (m *SeedPeer) ValidateAll() error
- type SeedPeerCluster
- func (*SeedPeerCluster) Descriptor() ([]byte, []int)deprecated
- func (x *SeedPeerCluster) GetBio() string
- func (x *SeedPeerCluster) GetConfig() []byte
- func (x *SeedPeerCluster) GetId() uint64
- func (x *SeedPeerCluster) GetName() string
- func (*SeedPeerCluster) ProtoMessage()
- func (x *SeedPeerCluster) ProtoReflect() protoreflect.Message
- func (x *SeedPeerCluster) Reset()
- func (x *SeedPeerCluster) String() string
- func (m *SeedPeerCluster) Validate() error
- func (m *SeedPeerCluster) ValidateAll() error
- type SeedPeerClusterMultiError
- type SeedPeerClusterValidationError
- func (e SeedPeerClusterValidationError) Cause() error
- func (e SeedPeerClusterValidationError) Error() string
- func (e SeedPeerClusterValidationError) ErrorName() string
- func (e SeedPeerClusterValidationError) Field() string
- func (e SeedPeerClusterValidationError) Key() bool
- func (e SeedPeerClusterValidationError) Reason() string
- type SeedPeerMultiError
- type SeedPeerValidationError
- type SourceType
- type URLPriority
- func (*URLPriority) Descriptor() ([]byte, []int)deprecated
- func (x *URLPriority) GetRegex() string
- func (x *URLPriority) GetValue() v1.Priority
- func (*URLPriority) ProtoMessage()
- func (x *URLPriority) ProtoReflect() protoreflect.Message
- func (x *URLPriority) Reset()
- func (x *URLPriority) String() string
- func (m *URLPriority) Validate() error
- func (m *URLPriority) ValidateAll() error
- type URLPriorityMultiError
- type URLPriorityValidationError
- func (e URLPriorityValidationError) Cause() error
- func (e URLPriorityValidationError) Error() string
- func (e URLPriorityValidationError) ErrorName() string
- func (e URLPriorityValidationError) Field() string
- func (e URLPriorityValidationError) Key() bool
- func (e URLPriorityValidationError) Reason() string
- type UnimplementedManagerServer
- func (UnimplementedManagerServer) CreateModel(context.Context, *CreateModelRequest) (*Model, error)
- func (UnimplementedManagerServer) CreateModelVersion(context.Context, *CreateModelVersionRequest) (*ModelVersion, error)
- func (UnimplementedManagerServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error)
- func (UnimplementedManagerServer) DeleteModelVersion(context.Context, *DeleteModelVersionRequest) (*emptypb.Empty, error)
- func (UnimplementedManagerServer) GetModel(context.Context, *GetModelRequest) (*Model, error)
- func (UnimplementedManagerServer) GetModelVersion(context.Context, *GetModelVersionRequest) (*ModelVersion, error)
- func (UnimplementedManagerServer) GetObjectStorage(context.Context, *GetObjectStorageRequest) (*ObjectStorage, error)
- func (UnimplementedManagerServer) GetScheduler(context.Context, *GetSchedulerRequest) (*Scheduler, error)
- func (UnimplementedManagerServer) GetSeedPeer(context.Context, *GetSeedPeerRequest) (*SeedPeer, error)
- func (UnimplementedManagerServer) KeepAlive(Manager_KeepAliveServer) error
- func (UnimplementedManagerServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
- func (UnimplementedManagerServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
- func (UnimplementedManagerServer) ListModelVersions(context.Context, *ListModelVersionsRequest) (*ListModelVersionsResponse, error)
- func (UnimplementedManagerServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
- func (UnimplementedManagerServer) ListSchedulers(context.Context, *ListSchedulersRequest) (*ListSchedulersResponse, error)
- func (UnimplementedManagerServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error)
- func (UnimplementedManagerServer) UpdateModelVersion(context.Context, *UpdateModelVersionRequest) (*ModelVersion, error)
- func (UnimplementedManagerServer) UpdateScheduler(context.Context, *UpdateSchedulerRequest) (*Scheduler, error)
- func (UnimplementedManagerServer) UpdateSeedPeer(context.Context, *UpdateSeedPeerRequest) (*SeedPeer, error)
- type UnsafeManagerServer
- type UpdateModelRequest
- func (*UpdateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelRequest) GetHostName() string
- func (x *UpdateModelRequest) GetIp() string
- func (x *UpdateModelRequest) GetModelId() string
- func (x *UpdateModelRequest) GetName() string
- func (x *UpdateModelRequest) GetSchedulerId() uint64
- func (x *UpdateModelRequest) GetVersionId() string
- func (*UpdateModelRequest) ProtoMessage()
- func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelRequest) Reset()
- func (x *UpdateModelRequest) String() string
- func (m *UpdateModelRequest) Validate() error
- func (m *UpdateModelRequest) ValidateAll() error
- type UpdateModelRequestMultiError
- type UpdateModelRequestValidationError
- func (e UpdateModelRequestValidationError) Cause() error
- func (e UpdateModelRequestValidationError) Error() string
- func (e UpdateModelRequestValidationError) ErrorName() string
- func (e UpdateModelRequestValidationError) Field() string
- func (e UpdateModelRequestValidationError) Key() bool
- func (e UpdateModelRequestValidationError) Reason() string
- type UpdateModelVersionRequest
- func (*UpdateModelVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelVersionRequest) GetData() []byte
- func (x *UpdateModelVersionRequest) GetMae() float64
- func (x *UpdateModelVersionRequest) GetModelId() string
- func (x *UpdateModelVersionRequest) GetMse() float64
- func (x *UpdateModelVersionRequest) GetR2() float64
- func (x *UpdateModelVersionRequest) GetRmse() float64
- func (x *UpdateModelVersionRequest) GetSchedulerId() uint64
- func (x *UpdateModelVersionRequest) GetVersionId() string
- func (*UpdateModelVersionRequest) ProtoMessage()
- func (x *UpdateModelVersionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelVersionRequest) Reset()
- func (x *UpdateModelVersionRequest) String() string
- func (m *UpdateModelVersionRequest) Validate() error
- func (m *UpdateModelVersionRequest) ValidateAll() error
- type UpdateModelVersionRequestMultiError
- type UpdateModelVersionRequestValidationError
- func (e UpdateModelVersionRequestValidationError) Cause() error
- func (e UpdateModelVersionRequestValidationError) Error() string
- func (e UpdateModelVersionRequestValidationError) ErrorName() string
- func (e UpdateModelVersionRequestValidationError) Field() string
- func (e UpdateModelVersionRequestValidationError) Key() bool
- func (e UpdateModelVersionRequestValidationError) Reason() string
- type UpdateSchedulerRequest
- func (*UpdateSchedulerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSchedulerRequest) GetHostName() string
- func (x *UpdateSchedulerRequest) GetIdc() string
- func (x *UpdateSchedulerRequest) GetIp() string
- func (x *UpdateSchedulerRequest) GetLocation() string
- func (x *UpdateSchedulerRequest) GetNetConfig() []byte
- func (x *UpdateSchedulerRequest) GetPort() int32
- func (x *UpdateSchedulerRequest) GetSchedulerClusterId() uint64
- func (x *UpdateSchedulerRequest) GetSourceType() SourceType
- func (x *UpdateSchedulerRequest) GetVips() string
- func (*UpdateSchedulerRequest) ProtoMessage()
- func (x *UpdateSchedulerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSchedulerRequest) Reset()
- func (x *UpdateSchedulerRequest) String() string
- func (m *UpdateSchedulerRequest) Validate() error
- func (m *UpdateSchedulerRequest) ValidateAll() error
- type UpdateSchedulerRequestMultiError
- type UpdateSchedulerRequestValidationError
- func (e UpdateSchedulerRequestValidationError) Cause() error
- func (e UpdateSchedulerRequestValidationError) Error() string
- func (e UpdateSchedulerRequestValidationError) ErrorName() string
- func (e UpdateSchedulerRequestValidationError) Field() string
- func (e UpdateSchedulerRequestValidationError) Key() bool
- func (e UpdateSchedulerRequestValidationError) Reason() string
- type UpdateSeedPeerRequest
- func (*UpdateSeedPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSeedPeerRequest) GetDownloadPort() int32
- func (x *UpdateSeedPeerRequest) GetHostName() string
- func (x *UpdateSeedPeerRequest) GetIdc() string
- func (x *UpdateSeedPeerRequest) GetIp() string
- func (x *UpdateSeedPeerRequest) GetLocation() string
- func (x *UpdateSeedPeerRequest) GetObjectStoragePort() int32
- func (x *UpdateSeedPeerRequest) GetPort() int32
- func (x *UpdateSeedPeerRequest) GetSeedPeerClusterId() uint64
- func (x *UpdateSeedPeerRequest) GetSourceType() SourceType
- func (x *UpdateSeedPeerRequest) GetType() string
- func (*UpdateSeedPeerRequest) ProtoMessage()
- func (x *UpdateSeedPeerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSeedPeerRequest) Reset()
- func (x *UpdateSeedPeerRequest) String() string
- func (m *UpdateSeedPeerRequest) Validate() error
- func (m *UpdateSeedPeerRequest) ValidateAll() error
- type UpdateSeedPeerRequestMultiError
- type UpdateSeedPeerRequestValidationError
- func (e UpdateSeedPeerRequestValidationError) Cause() error
- func (e UpdateSeedPeerRequestValidationError) Error() string
- func (e UpdateSeedPeerRequestValidationError) ErrorName() string
- func (e UpdateSeedPeerRequestValidationError) Field() string
- func (e UpdateSeedPeerRequestValidationError) Key() bool
- func (e UpdateSeedPeerRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( SourceType_name = map[int32]string{ 0: "SCHEDULER_SOURCE", 1: "PEER_SOURCE", 2: "SEED_PEER_SOURCE", } SourceType_value = map[string]int32{ "SCHEDULER_SOURCE": 0, "PEER_SOURCE": 1, "SEED_PEER_SOURCE": 2, } )
Enum value maps for SourceType.
var File_pkg_apis_manager_v1_manager_proto protoreflect.FileDescriptor
var Manager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.Manager", HandlerType: (*ManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSeedPeer", Handler: _Manager_GetSeedPeer_Handler, }, { MethodName: "UpdateSeedPeer", Handler: _Manager_UpdateSeedPeer_Handler, }, { MethodName: "GetScheduler", Handler: _Manager_GetScheduler_Handler, }, { MethodName: "UpdateScheduler", Handler: _Manager_UpdateScheduler_Handler, }, { MethodName: "ListSchedulers", Handler: _Manager_ListSchedulers_Handler, }, { MethodName: "GetObjectStorage", Handler: _Manager_GetObjectStorage_Handler, }, { MethodName: "ListBuckets", Handler: _Manager_ListBuckets_Handler, }, { MethodName: "ListModels", Handler: _Manager_ListModels_Handler, }, { MethodName: "GetModel", Handler: _Manager_GetModel_Handler, }, { MethodName: "CreateModel", Handler: _Manager_CreateModel_Handler, }, { MethodName: "UpdateModel", Handler: _Manager_UpdateModel_Handler, }, { MethodName: "DeleteModel", Handler: _Manager_DeleteModel_Handler, }, { MethodName: "ListModelVersions", Handler: _Manager_ListModelVersions_Handler, }, { MethodName: "GetModelVersion", Handler: _Manager_GetModelVersion_Handler, }, { MethodName: "CreateModelVersion", Handler: _Manager_CreateModelVersion_Handler, }, { MethodName: "UpdateModelVersion", Handler: _Manager_UpdateModelVersion_Handler, }, { MethodName: "DeleteModelVersion", Handler: _Manager_DeleteModelVersion_Handler, }, { MethodName: "ListApplications", Handler: _Manager_ListApplications_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "KeepAlive", Handler: _Manager_KeepAlive_Handler, ClientStreams: true, }, }, Metadata: "pkg/apis/manager/v1/manager.proto", }
Manager_ServiceDesc is the grpc.ServiceDesc for Manager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterManagerServer ¶
func RegisterManagerServer(s grpc.ServiceRegistrar, srv ManagerServer)
Types ¶
type Application ¶ added in v1.3.1
type Application struct { // Application id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Application name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Application url. Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // Application biography. Bio string `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty"` // Application priority. Priority *ApplicationPriority `protobuf:"bytes,5,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
Application represents config of application.
func (*Application) Descriptor
deprecated
added in
v1.3.1
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetBio ¶ added in v1.3.1
func (x *Application) GetBio() string
func (*Application) GetId ¶ added in v1.3.2
func (x *Application) GetId() uint64
func (*Application) GetName ¶ added in v1.3.1
func (x *Application) GetName() string
func (*Application) GetPriority ¶ added in v1.3.1
func (x *Application) GetPriority() *ApplicationPriority
func (*Application) GetUrl ¶ added in v1.3.1
func (x *Application) GetUrl() string
func (*Application) ProtoMessage ¶ added in v1.3.1
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶ added in v1.3.1
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶ added in v1.3.1
func (x *Application) Reset()
func (*Application) String ¶ added in v1.3.1
func (x *Application) String() string
func (*Application) Validate ¶ added in v1.3.1
func (m *Application) Validate() error
Validate checks the field values on Application with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Application) ValidateAll ¶ added in v1.3.1
func (m *Application) ValidateAll() error
ValidateAll checks the field values on Application with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationMultiError, or nil if none found.
type ApplicationMultiError ¶ added in v1.3.1
type ApplicationMultiError []error
ApplicationMultiError is an error wrapping multiple validation errors returned by Application.ValidateAll() if the designated constraints aren't met.
func (ApplicationMultiError) AllErrors ¶ added in v1.3.1
func (m ApplicationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationMultiError) Error ¶ added in v1.3.1
func (m ApplicationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationPriority ¶ added in v1.3.1
type ApplicationPriority struct { // Priority value. Value v1.Priority `protobuf:"varint,1,opt,name=value,proto3,enum=common.Priority" json:"value,omitempty"` // URL priority. Urls []*URLPriority `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
ApplicationPriority represents config of application priority.
func (*ApplicationPriority) Descriptor
deprecated
added in
v1.3.1
func (*ApplicationPriority) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationPriority.ProtoReflect.Descriptor instead.
func (*ApplicationPriority) GetUrls ¶ added in v1.3.1
func (x *ApplicationPriority) GetUrls() []*URLPriority
func (*ApplicationPriority) GetValue ¶ added in v1.3.1
func (x *ApplicationPriority) GetValue() v1.Priority
func (*ApplicationPriority) ProtoMessage ¶ added in v1.3.1
func (*ApplicationPriority) ProtoMessage()
func (*ApplicationPriority) ProtoReflect ¶ added in v1.3.1
func (x *ApplicationPriority) ProtoReflect() protoreflect.Message
func (*ApplicationPriority) Reset ¶ added in v1.3.1
func (x *ApplicationPriority) Reset()
func (*ApplicationPriority) String ¶ added in v1.3.1
func (x *ApplicationPriority) String() string
func (*ApplicationPriority) Validate ¶ added in v1.3.1
func (m *ApplicationPriority) Validate() error
Validate checks the field values on ApplicationPriority with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApplicationPriority) ValidateAll ¶ added in v1.3.1
func (m *ApplicationPriority) ValidateAll() error
ValidateAll checks the field values on ApplicationPriority with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationPriorityMultiError, or nil if none found.
type ApplicationPriorityMultiError ¶ added in v1.3.1
type ApplicationPriorityMultiError []error
ApplicationPriorityMultiError is an error wrapping multiple validation errors returned by ApplicationPriority.ValidateAll() if the designated constraints aren't met.
func (ApplicationPriorityMultiError) AllErrors ¶ added in v1.3.1
func (m ApplicationPriorityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationPriorityMultiError) Error ¶ added in v1.3.1
func (m ApplicationPriorityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationPriorityValidationError ¶ added in v1.3.1
type ApplicationPriorityValidationError struct {
// contains filtered or unexported fields
}
ApplicationPriorityValidationError is the validation error returned by ApplicationPriority.Validate if the designated constraints aren't met.
func (ApplicationPriorityValidationError) Cause ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) Cause() error
Cause function returns cause value.
func (ApplicationPriorityValidationError) Error ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationPriorityValidationError) ErrorName ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationPriorityValidationError) Field ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) Field() string
Field function returns field value.
func (ApplicationPriorityValidationError) Key ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) Key() bool
Key function returns key value.
func (ApplicationPriorityValidationError) Reason ¶ added in v1.3.1
func (e ApplicationPriorityValidationError) Reason() string
Reason function returns reason value.
type ApplicationValidationError ¶ added in v1.3.1
type ApplicationValidationError struct {
// contains filtered or unexported fields
}
ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.
func (ApplicationValidationError) Cause ¶ added in v1.3.1
func (e ApplicationValidationError) Cause() error
Cause function returns cause value.
func (ApplicationValidationError) Error ¶ added in v1.3.1
func (e ApplicationValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationValidationError) ErrorName ¶ added in v1.3.1
func (e ApplicationValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationValidationError) Field ¶ added in v1.3.1
func (e ApplicationValidationError) Field() string
Field function returns field value.
func (ApplicationValidationError) Key ¶ added in v1.3.1
func (e ApplicationValidationError) Key() bool
Key function returns key value.
func (ApplicationValidationError) Reason ¶ added in v1.3.1
func (e ApplicationValidationError) Reason() string
Reason function returns reason value.
type Bucket ¶
type Bucket struct { // Bucket name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Bucket represents config of bucket.
func (*Bucket) Descriptor
deprecated
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
func (*Bucket) Validate ¶
Validate checks the field values on Bucket with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bucket) ValidateAll ¶
ValidateAll checks the field values on Bucket with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BucketMultiError, or nil if none found.
type BucketMultiError ¶
type BucketMultiError []error
BucketMultiError is an error wrapping multiple validation errors returned by Bucket.ValidateAll() if the designated constraints aren't met.
func (BucketMultiError) AllErrors ¶
func (m BucketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BucketMultiError) Error ¶
func (m BucketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BucketValidationError ¶
type BucketValidationError struct {
// contains filtered or unexported fields
}
BucketValidationError is the validation error returned by Bucket.Validate if the designated constraints aren't met.
func (BucketValidationError) Cause ¶
func (e BucketValidationError) Cause() error
Cause function returns cause value.
func (BucketValidationError) Error ¶
func (e BucketValidationError) Error() string
Error satisfies the builtin error interface
func (BucketValidationError) ErrorName ¶
func (e BucketValidationError) ErrorName() string
ErrorName returns error name.
func (BucketValidationError) Field ¶
func (e BucketValidationError) Field() string
Field function returns field value.
func (BucketValidationError) Key ¶
func (e BucketValidationError) Key() bool
Key function returns key value.
func (BucketValidationError) Reason ¶
func (e BucketValidationError) Reason() string
Reason function returns reason value.
type CreateModelRequest ¶ added in v1.0.4
type CreateModelRequest struct { // Model id. ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Model version id. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Scheduler id. SchedulerId uint64 `protobuf:"varint,4,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,5,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
CreateModelRequest represents request of CreateModel.
func (*CreateModelRequest) Descriptor
deprecated
added in
v1.0.4
func (*CreateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
func (*CreateModelRequest) GetHostName ¶ added in v1.0.4
func (x *CreateModelRequest) GetHostName() string
func (*CreateModelRequest) GetIp ¶ added in v1.0.4
func (x *CreateModelRequest) GetIp() string
func (*CreateModelRequest) GetModelId ¶ added in v1.0.4
func (x *CreateModelRequest) GetModelId() string
func (*CreateModelRequest) GetName ¶ added in v1.0.4
func (x *CreateModelRequest) GetName() string
func (*CreateModelRequest) GetSchedulerId ¶ added in v1.0.4
func (x *CreateModelRequest) GetSchedulerId() uint64
func (*CreateModelRequest) GetVersionId ¶ added in v1.0.4
func (x *CreateModelRequest) GetVersionId() string
func (*CreateModelRequest) ProtoMessage ¶ added in v1.0.4
func (*CreateModelRequest) ProtoMessage()
func (*CreateModelRequest) ProtoReflect ¶ added in v1.0.4
func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
func (*CreateModelRequest) Reset ¶ added in v1.0.4
func (x *CreateModelRequest) Reset()
func (*CreateModelRequest) String ¶ added in v1.0.4
func (x *CreateModelRequest) String() string
func (*CreateModelRequest) Validate ¶ added in v1.0.4
func (m *CreateModelRequest) Validate() error
Validate checks the field values on CreateModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateModelRequest) ValidateAll ¶ added in v1.0.4
func (m *CreateModelRequest) ValidateAll() error
ValidateAll checks the field values on CreateModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateModelRequestMultiError, or nil if none found.
type CreateModelRequestMultiError ¶ added in v1.0.4
type CreateModelRequestMultiError []error
CreateModelRequestMultiError is an error wrapping multiple validation errors returned by CreateModelRequest.ValidateAll() if the designated constraints aren't met.
func (CreateModelRequestMultiError) AllErrors ¶ added in v1.0.4
func (m CreateModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateModelRequestMultiError) Error ¶ added in v1.0.4
func (m CreateModelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateModelRequestValidationError ¶ added in v1.0.4
type CreateModelRequestValidationError struct {
// contains filtered or unexported fields
}
CreateModelRequestValidationError is the validation error returned by CreateModelRequest.Validate if the designated constraints aren't met.
func (CreateModelRequestValidationError) Cause ¶ added in v1.0.4
func (e CreateModelRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateModelRequestValidationError) Error ¶ added in v1.0.4
func (e CreateModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateModelRequestValidationError) ErrorName ¶ added in v1.0.4
func (e CreateModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateModelRequestValidationError) Field ¶ added in v1.0.4
func (e CreateModelRequestValidationError) Field() string
Field function returns field value.
func (CreateModelRequestValidationError) Key ¶ added in v1.0.4
func (e CreateModelRequestValidationError) Key() bool
Key function returns key value.
func (CreateModelRequestValidationError) Reason ¶ added in v1.0.4
func (e CreateModelRequestValidationError) Reason() string
Reason function returns reason value.
type CreateModelVersionRequest ¶ added in v1.0.4
type CreateModelVersionRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model version data. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Model version mae. Mae float64 `protobuf:"fixed64,4,opt,name=mae,proto3" json:"mae,omitempty"` // Model version mse. Mse float64 `protobuf:"fixed64,5,opt,name=mse,proto3" json:"mse,omitempty"` // Model version rmse. Rmse float64 `protobuf:"fixed64,6,opt,name=rmse,proto3" json:"rmse,omitempty"` // Model version r^2. R2 float64 `protobuf:"fixed64,7,opt,name=r2,proto3" json:"r2,omitempty"` // contains filtered or unexported fields }
CreateModelVersionRequest represents request of CreateModelVersion.
func (*CreateModelVersionRequest) Descriptor
deprecated
added in
v1.0.4
func (*CreateModelVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateModelVersionRequest) GetData ¶ added in v1.0.7
func (x *CreateModelVersionRequest) GetData() []byte
func (*CreateModelVersionRequest) GetMae ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetMae() float64
func (*CreateModelVersionRequest) GetModelId ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetModelId() string
func (*CreateModelVersionRequest) GetMse ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetMse() float64
func (*CreateModelVersionRequest) GetR2 ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetR2() float64
func (*CreateModelVersionRequest) GetRmse ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetRmse() float64
func (*CreateModelVersionRequest) GetSchedulerId ¶ added in v1.0.4
func (x *CreateModelVersionRequest) GetSchedulerId() uint64
func (*CreateModelVersionRequest) ProtoMessage ¶ added in v1.0.4
func (*CreateModelVersionRequest) ProtoMessage()
func (*CreateModelVersionRequest) ProtoReflect ¶ added in v1.0.4
func (x *CreateModelVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateModelVersionRequest) Reset ¶ added in v1.0.4
func (x *CreateModelVersionRequest) Reset()
func (*CreateModelVersionRequest) String ¶ added in v1.0.4
func (x *CreateModelVersionRequest) String() string
func (*CreateModelVersionRequest) Validate ¶ added in v1.0.4
func (m *CreateModelVersionRequest) Validate() error
Validate checks the field values on CreateModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateModelVersionRequest) ValidateAll ¶ added in v1.0.4
func (m *CreateModelVersionRequest) ValidateAll() error
ValidateAll checks the field values on CreateModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateModelVersionRequestMultiError, or nil if none found.
type CreateModelVersionRequestMultiError ¶ added in v1.0.4
type CreateModelVersionRequestMultiError []error
CreateModelVersionRequestMultiError is an error wrapping multiple validation errors returned by CreateModelVersionRequest.ValidateAll() if the designated constraints aren't met.
func (CreateModelVersionRequestMultiError) AllErrors ¶ added in v1.0.4
func (m CreateModelVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateModelVersionRequestMultiError) Error ¶ added in v1.0.4
func (m CreateModelVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateModelVersionRequestValidationError ¶ added in v1.0.4
type CreateModelVersionRequestValidationError struct {
// contains filtered or unexported fields
}
CreateModelVersionRequestValidationError is the validation error returned by CreateModelVersionRequest.Validate if the designated constraints aren't met.
func (CreateModelVersionRequestValidationError) Cause ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateModelVersionRequestValidationError) Error ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateModelVersionRequestValidationError) ErrorName ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateModelVersionRequestValidationError) Field ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) Field() string
Field function returns field value.
func (CreateModelVersionRequestValidationError) Key ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) Key() bool
Key function returns key value.
func (CreateModelVersionRequestValidationError) Reason ¶ added in v1.0.4
func (e CreateModelVersionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteModelRequest ¶ added in v1.0.4
type DeleteModelRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // contains filtered or unexported fields }
DeleteModelRequest represents request of DeleteModel.
func (*DeleteModelRequest) Descriptor
deprecated
added in
v1.0.4
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
func (*DeleteModelRequest) GetModelId ¶ added in v1.0.4
func (x *DeleteModelRequest) GetModelId() string
func (*DeleteModelRequest) GetSchedulerId ¶ added in v1.0.4
func (x *DeleteModelRequest) GetSchedulerId() uint64
func (*DeleteModelRequest) ProtoMessage ¶ added in v1.0.4
func (*DeleteModelRequest) ProtoMessage()
func (*DeleteModelRequest) ProtoReflect ¶ added in v1.0.4
func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
func (*DeleteModelRequest) Reset ¶ added in v1.0.4
func (x *DeleteModelRequest) Reset()
func (*DeleteModelRequest) String ¶ added in v1.0.4
func (x *DeleteModelRequest) String() string
func (*DeleteModelRequest) Validate ¶ added in v1.0.4
func (m *DeleteModelRequest) Validate() error
Validate checks the field values on DeleteModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteModelRequest) ValidateAll ¶ added in v1.0.4
func (m *DeleteModelRequest) ValidateAll() error
ValidateAll checks the field values on DeleteModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteModelRequestMultiError, or nil if none found.
type DeleteModelRequestMultiError ¶ added in v1.0.4
type DeleteModelRequestMultiError []error
DeleteModelRequestMultiError is an error wrapping multiple validation errors returned by DeleteModelRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteModelRequestMultiError) AllErrors ¶ added in v1.0.4
func (m DeleteModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteModelRequestMultiError) Error ¶ added in v1.0.4
func (m DeleteModelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteModelRequestValidationError ¶ added in v1.0.4
type DeleteModelRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteModelRequestValidationError is the validation error returned by DeleteModelRequest.Validate if the designated constraints aren't met.
func (DeleteModelRequestValidationError) Cause ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteModelRequestValidationError) Error ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteModelRequestValidationError) ErrorName ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteModelRequestValidationError) Field ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) Field() string
Field function returns field value.
func (DeleteModelRequestValidationError) Key ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) Key() bool
Key function returns key value.
func (DeleteModelRequestValidationError) Reason ¶ added in v1.0.4
func (e DeleteModelRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteModelVersionRequest ¶ added in v1.0.4
type DeleteModelVersionRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model version id. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
DeleteModelVersionRequest represents request of DeleteModelVersion.
func (*DeleteModelVersionRequest) Descriptor
deprecated
added in
v1.0.4
func (*DeleteModelVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteModelVersionRequest) GetModelId ¶ added in v1.0.4
func (x *DeleteModelVersionRequest) GetModelId() string
func (*DeleteModelVersionRequest) GetSchedulerId ¶ added in v1.0.4
func (x *DeleteModelVersionRequest) GetSchedulerId() uint64
func (*DeleteModelVersionRequest) GetVersionId ¶ added in v1.0.8
func (x *DeleteModelVersionRequest) GetVersionId() string
func (*DeleteModelVersionRequest) ProtoMessage ¶ added in v1.0.4
func (*DeleteModelVersionRequest) ProtoMessage()
func (*DeleteModelVersionRequest) ProtoReflect ¶ added in v1.0.4
func (x *DeleteModelVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteModelVersionRequest) Reset ¶ added in v1.0.4
func (x *DeleteModelVersionRequest) Reset()
func (*DeleteModelVersionRequest) String ¶ added in v1.0.4
func (x *DeleteModelVersionRequest) String() string
func (*DeleteModelVersionRequest) Validate ¶ added in v1.0.4
func (m *DeleteModelVersionRequest) Validate() error
Validate checks the field values on DeleteModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteModelVersionRequest) ValidateAll ¶ added in v1.0.4
func (m *DeleteModelVersionRequest) ValidateAll() error
ValidateAll checks the field values on DeleteModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteModelVersionRequestMultiError, or nil if none found.
type DeleteModelVersionRequestMultiError ¶ added in v1.0.4
type DeleteModelVersionRequestMultiError []error
DeleteModelVersionRequestMultiError is an error wrapping multiple validation errors returned by DeleteModelVersionRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteModelVersionRequestMultiError) AllErrors ¶ added in v1.0.4
func (m DeleteModelVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteModelVersionRequestMultiError) Error ¶ added in v1.0.4
func (m DeleteModelVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteModelVersionRequestValidationError ¶ added in v1.0.4
type DeleteModelVersionRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteModelVersionRequestValidationError is the validation error returned by DeleteModelVersionRequest.Validate if the designated constraints aren't met.
func (DeleteModelVersionRequestValidationError) Cause ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteModelVersionRequestValidationError) Error ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteModelVersionRequestValidationError) ErrorName ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteModelVersionRequestValidationError) Field ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) Field() string
Field function returns field value.
func (DeleteModelVersionRequestValidationError) Key ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) Key() bool
Key function returns key value.
func (DeleteModelVersionRequestValidationError) Reason ¶ added in v1.0.4
func (e DeleteModelVersionRequestValidationError) Reason() string
Reason function returns reason value.
type GetModelRequest ¶ added in v1.0.4
type GetModelRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // contains filtered or unexported fields }
GetModelRequest represents request of GetModel.
func (*GetModelRequest) Descriptor
deprecated
added in
v1.0.4
func (*GetModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
func (*GetModelRequest) GetModelId ¶ added in v1.0.4
func (x *GetModelRequest) GetModelId() string
func (*GetModelRequest) GetSchedulerId ¶ added in v1.0.4
func (x *GetModelRequest) GetSchedulerId() uint64
func (*GetModelRequest) ProtoMessage ¶ added in v1.0.4
func (*GetModelRequest) ProtoMessage()
func (*GetModelRequest) ProtoReflect ¶ added in v1.0.4
func (x *GetModelRequest) ProtoReflect() protoreflect.Message
func (*GetModelRequest) Reset ¶ added in v1.0.4
func (x *GetModelRequest) Reset()
func (*GetModelRequest) String ¶ added in v1.0.4
func (x *GetModelRequest) String() string
func (*GetModelRequest) Validate ¶ added in v1.0.4
func (m *GetModelRequest) Validate() error
Validate checks the field values on GetModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetModelRequest) ValidateAll ¶ added in v1.0.4
func (m *GetModelRequest) ValidateAll() error
ValidateAll checks the field values on GetModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetModelRequestMultiError, or nil if none found.
type GetModelRequestMultiError ¶ added in v1.0.4
type GetModelRequestMultiError []error
GetModelRequestMultiError is an error wrapping multiple validation errors returned by GetModelRequest.ValidateAll() if the designated constraints aren't met.
func (GetModelRequestMultiError) AllErrors ¶ added in v1.0.4
func (m GetModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetModelRequestMultiError) Error ¶ added in v1.0.4
func (m GetModelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetModelRequestValidationError ¶ added in v1.0.4
type GetModelRequestValidationError struct {
// contains filtered or unexported fields
}
GetModelRequestValidationError is the validation error returned by GetModelRequest.Validate if the designated constraints aren't met.
func (GetModelRequestValidationError) Cause ¶ added in v1.0.4
func (e GetModelRequestValidationError) Cause() error
Cause function returns cause value.
func (GetModelRequestValidationError) Error ¶ added in v1.0.4
func (e GetModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetModelRequestValidationError) ErrorName ¶ added in v1.0.4
func (e GetModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetModelRequestValidationError) Field ¶ added in v1.0.4
func (e GetModelRequestValidationError) Field() string
Field function returns field value.
func (GetModelRequestValidationError) Key ¶ added in v1.0.4
func (e GetModelRequestValidationError) Key() bool
Key function returns key value.
func (GetModelRequestValidationError) Reason ¶ added in v1.0.4
func (e GetModelRequestValidationError) Reason() string
Reason function returns reason value.
type GetModelVersionRequest ¶ added in v1.0.4
type GetModelVersionRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model version id. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
GetModelVersionRequest represents request of GetModelVersion.
func (*GetModelVersionRequest) Descriptor
deprecated
added in
v1.0.4
func (*GetModelVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelVersionRequest.ProtoReflect.Descriptor instead.
func (*GetModelVersionRequest) GetModelId ¶ added in v1.0.4
func (x *GetModelVersionRequest) GetModelId() string
func (*GetModelVersionRequest) GetSchedulerId ¶ added in v1.0.4
func (x *GetModelVersionRequest) GetSchedulerId() uint64
func (*GetModelVersionRequest) GetVersionId ¶ added in v1.0.8
func (x *GetModelVersionRequest) GetVersionId() string
func (*GetModelVersionRequest) ProtoMessage ¶ added in v1.0.4
func (*GetModelVersionRequest) ProtoMessage()
func (*GetModelVersionRequest) ProtoReflect ¶ added in v1.0.4
func (x *GetModelVersionRequest) ProtoReflect() protoreflect.Message
func (*GetModelVersionRequest) Reset ¶ added in v1.0.4
func (x *GetModelVersionRequest) Reset()
func (*GetModelVersionRequest) String ¶ added in v1.0.4
func (x *GetModelVersionRequest) String() string
func (*GetModelVersionRequest) Validate ¶ added in v1.0.4
func (m *GetModelVersionRequest) Validate() error
Validate checks the field values on GetModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetModelVersionRequest) ValidateAll ¶ added in v1.0.4
func (m *GetModelVersionRequest) ValidateAll() error
ValidateAll checks the field values on GetModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetModelVersionRequestMultiError, or nil if none found.
type GetModelVersionRequestMultiError ¶ added in v1.0.4
type GetModelVersionRequestMultiError []error
GetModelVersionRequestMultiError is an error wrapping multiple validation errors returned by GetModelVersionRequest.ValidateAll() if the designated constraints aren't met.
func (GetModelVersionRequestMultiError) AllErrors ¶ added in v1.0.4
func (m GetModelVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetModelVersionRequestMultiError) Error ¶ added in v1.0.4
func (m GetModelVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetModelVersionRequestValidationError ¶ added in v1.0.4
type GetModelVersionRequestValidationError struct {
// contains filtered or unexported fields
}
GetModelVersionRequestValidationError is the validation error returned by GetModelVersionRequest.Validate if the designated constraints aren't met.
func (GetModelVersionRequestValidationError) Cause ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetModelVersionRequestValidationError) Error ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetModelVersionRequestValidationError) ErrorName ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetModelVersionRequestValidationError) Field ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) Field() string
Field function returns field value.
func (GetModelVersionRequestValidationError) Key ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) Key() bool
Key function returns key value.
func (GetModelVersionRequestValidationError) Reason ¶ added in v1.0.4
func (e GetModelVersionRequestValidationError) Reason() string
Reason function returns reason value.
type GetObjectStorageRequest ¶
type GetObjectStorageRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Source service hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Source service ip. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
GetObjectStorageRequest represents request of GetObjectStorage.
func (*GetObjectStorageRequest) Descriptor
deprecated
func (*GetObjectStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectStorageRequest.ProtoReflect.Descriptor instead.
func (*GetObjectStorageRequest) GetHostName ¶
func (x *GetObjectStorageRequest) GetHostName() string
func (*GetObjectStorageRequest) GetIp ¶
func (x *GetObjectStorageRequest) GetIp() string
func (*GetObjectStorageRequest) GetSourceType ¶
func (x *GetObjectStorageRequest) GetSourceType() SourceType
func (*GetObjectStorageRequest) ProtoMessage ¶
func (*GetObjectStorageRequest) ProtoMessage()
func (*GetObjectStorageRequest) ProtoReflect ¶
func (x *GetObjectStorageRequest) ProtoReflect() protoreflect.Message
func (*GetObjectStorageRequest) Reset ¶
func (x *GetObjectStorageRequest) Reset()
func (*GetObjectStorageRequest) String ¶
func (x *GetObjectStorageRequest) String() string
func (*GetObjectStorageRequest) Validate ¶
func (m *GetObjectStorageRequest) Validate() error
Validate checks the field values on GetObjectStorageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetObjectStorageRequest) ValidateAll ¶
func (m *GetObjectStorageRequest) ValidateAll() error
ValidateAll checks the field values on GetObjectStorageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetObjectStorageRequestMultiError, or nil if none found.
type GetObjectStorageRequestMultiError ¶
type GetObjectStorageRequestMultiError []error
GetObjectStorageRequestMultiError is an error wrapping multiple validation errors returned by GetObjectStorageRequest.ValidateAll() if the designated constraints aren't met.
func (GetObjectStorageRequestMultiError) AllErrors ¶
func (m GetObjectStorageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetObjectStorageRequestMultiError) Error ¶
func (m GetObjectStorageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetObjectStorageRequestValidationError ¶
type GetObjectStorageRequestValidationError struct {
// contains filtered or unexported fields
}
GetObjectStorageRequestValidationError is the validation error returned by GetObjectStorageRequest.Validate if the designated constraints aren't met.
func (GetObjectStorageRequestValidationError) Cause ¶
func (e GetObjectStorageRequestValidationError) Cause() error
Cause function returns cause value.
func (GetObjectStorageRequestValidationError) Error ¶
func (e GetObjectStorageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetObjectStorageRequestValidationError) ErrorName ¶
func (e GetObjectStorageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetObjectStorageRequestValidationError) Field ¶
func (e GetObjectStorageRequestValidationError) Field() string
Field function returns field value.
func (GetObjectStorageRequestValidationError) Key ¶
func (e GetObjectStorageRequestValidationError) Key() bool
Key function returns key value.
func (GetObjectStorageRequestValidationError) Reason ¶
func (e GetObjectStorageRequestValidationError) Reason() string
Reason function returns reason value.
type GetSchedulerRequest ¶
type GetSchedulerRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // ID of the cluster to which the scheduler belongs. SchedulerClusterId uint64 `protobuf:"varint,3,opt,name=scheduler_cluster_id,json=schedulerClusterId,proto3" json:"scheduler_cluster_id,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
GetSchedulerRequest represents request of GetScheduler.
func (*GetSchedulerRequest) Descriptor
deprecated
func (*GetSchedulerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchedulerRequest.ProtoReflect.Descriptor instead.
func (*GetSchedulerRequest) GetHostName ¶
func (x *GetSchedulerRequest) GetHostName() string
func (*GetSchedulerRequest) GetIp ¶
func (x *GetSchedulerRequest) GetIp() string
func (*GetSchedulerRequest) GetSchedulerClusterId ¶
func (x *GetSchedulerRequest) GetSchedulerClusterId() uint64
func (*GetSchedulerRequest) GetSourceType ¶
func (x *GetSchedulerRequest) GetSourceType() SourceType
func (*GetSchedulerRequest) ProtoMessage ¶
func (*GetSchedulerRequest) ProtoMessage()
func (*GetSchedulerRequest) ProtoReflect ¶
func (x *GetSchedulerRequest) ProtoReflect() protoreflect.Message
func (*GetSchedulerRequest) Reset ¶
func (x *GetSchedulerRequest) Reset()
func (*GetSchedulerRequest) String ¶
func (x *GetSchedulerRequest) String() string
func (*GetSchedulerRequest) Validate ¶
func (m *GetSchedulerRequest) Validate() error
Validate checks the field values on GetSchedulerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSchedulerRequest) ValidateAll ¶
func (m *GetSchedulerRequest) ValidateAll() error
ValidateAll checks the field values on GetSchedulerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSchedulerRequestMultiError, or nil if none found.
type GetSchedulerRequestMultiError ¶
type GetSchedulerRequestMultiError []error
GetSchedulerRequestMultiError is an error wrapping multiple validation errors returned by GetSchedulerRequest.ValidateAll() if the designated constraints aren't met.
func (GetSchedulerRequestMultiError) AllErrors ¶
func (m GetSchedulerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSchedulerRequestMultiError) Error ¶
func (m GetSchedulerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSchedulerRequestValidationError ¶
type GetSchedulerRequestValidationError struct {
// contains filtered or unexported fields
}
GetSchedulerRequestValidationError is the validation error returned by GetSchedulerRequest.Validate if the designated constraints aren't met.
func (GetSchedulerRequestValidationError) Cause ¶
func (e GetSchedulerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSchedulerRequestValidationError) Error ¶
func (e GetSchedulerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSchedulerRequestValidationError) ErrorName ¶
func (e GetSchedulerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSchedulerRequestValidationError) Field ¶
func (e GetSchedulerRequestValidationError) Field() string
Field function returns field value.
func (GetSchedulerRequestValidationError) Key ¶
func (e GetSchedulerRequestValidationError) Key() bool
Key function returns key value.
func (GetSchedulerRequestValidationError) Reason ¶
func (e GetSchedulerRequestValidationError) Reason() string
Reason function returns reason value.
type GetSeedPeerRequest ¶
type GetSeedPeerRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Seed peer hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // ID of the cluster to which the seed peer belongs. SeedPeerClusterId uint64 `protobuf:"varint,3,opt,name=seed_peer_cluster_id,json=seedPeerClusterId,proto3" json:"seed_peer_cluster_id,omitempty"` // Seed peer ip. Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
GetSeedPeerRequest represents request of GetSeedPeer.
func (*GetSeedPeerRequest) Descriptor
deprecated
func (*GetSeedPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSeedPeerRequest.ProtoReflect.Descriptor instead.
func (*GetSeedPeerRequest) GetHostName ¶
func (x *GetSeedPeerRequest) GetHostName() string
func (*GetSeedPeerRequest) GetIp ¶
func (x *GetSeedPeerRequest) GetIp() string
func (*GetSeedPeerRequest) GetSeedPeerClusterId ¶
func (x *GetSeedPeerRequest) GetSeedPeerClusterId() uint64
func (*GetSeedPeerRequest) GetSourceType ¶
func (x *GetSeedPeerRequest) GetSourceType() SourceType
func (*GetSeedPeerRequest) ProtoMessage ¶
func (*GetSeedPeerRequest) ProtoMessage()
func (*GetSeedPeerRequest) ProtoReflect ¶
func (x *GetSeedPeerRequest) ProtoReflect() protoreflect.Message
func (*GetSeedPeerRequest) Reset ¶
func (x *GetSeedPeerRequest) Reset()
func (*GetSeedPeerRequest) String ¶
func (x *GetSeedPeerRequest) String() string
func (*GetSeedPeerRequest) Validate ¶
func (m *GetSeedPeerRequest) Validate() error
Validate checks the field values on GetSeedPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSeedPeerRequest) ValidateAll ¶
func (m *GetSeedPeerRequest) ValidateAll() error
ValidateAll checks the field values on GetSeedPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSeedPeerRequestMultiError, or nil if none found.
type GetSeedPeerRequestMultiError ¶
type GetSeedPeerRequestMultiError []error
GetSeedPeerRequestMultiError is an error wrapping multiple validation errors returned by GetSeedPeerRequest.ValidateAll() if the designated constraints aren't met.
func (GetSeedPeerRequestMultiError) AllErrors ¶
func (m GetSeedPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSeedPeerRequestMultiError) Error ¶
func (m GetSeedPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSeedPeerRequestValidationError ¶
type GetSeedPeerRequestValidationError struct {
// contains filtered or unexported fields
}
GetSeedPeerRequestValidationError is the validation error returned by GetSeedPeerRequest.Validate if the designated constraints aren't met.
func (GetSeedPeerRequestValidationError) Cause ¶
func (e GetSeedPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSeedPeerRequestValidationError) Error ¶
func (e GetSeedPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSeedPeerRequestValidationError) ErrorName ¶
func (e GetSeedPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSeedPeerRequestValidationError) Field ¶
func (e GetSeedPeerRequestValidationError) Field() string
Field function returns field value.
func (GetSeedPeerRequestValidationError) Key ¶
func (e GetSeedPeerRequestValidationError) Key() bool
Key function returns key value.
func (GetSeedPeerRequestValidationError) Reason ¶
func (e GetSeedPeerRequestValidationError) Reason() string
Reason function returns reason value.
type KeepAliveRequest ¶
type KeepAliveRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Source service hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // ID of the cluster to which the source service belongs. ClusterId uint64 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Source service ip. Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
KeepAliveRequest represents request of KeepAlive.
func (*KeepAliveRequest) Descriptor
deprecated
func (*KeepAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveRequest.ProtoReflect.Descriptor instead.
func (*KeepAliveRequest) GetClusterId ¶
func (x *KeepAliveRequest) GetClusterId() uint64
func (*KeepAliveRequest) GetHostName ¶
func (x *KeepAliveRequest) GetHostName() string
func (*KeepAliveRequest) GetIp ¶
func (x *KeepAliveRequest) GetIp() string
func (*KeepAliveRequest) GetSourceType ¶
func (x *KeepAliveRequest) GetSourceType() SourceType
func (*KeepAliveRequest) ProtoMessage ¶
func (*KeepAliveRequest) ProtoMessage()
func (*KeepAliveRequest) ProtoReflect ¶
func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message
func (*KeepAliveRequest) Reset ¶
func (x *KeepAliveRequest) Reset()
func (*KeepAliveRequest) String ¶
func (x *KeepAliveRequest) String() string
func (*KeepAliveRequest) Validate ¶
func (m *KeepAliveRequest) Validate() error
Validate checks the field values on KeepAliveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KeepAliveRequest) ValidateAll ¶
func (m *KeepAliveRequest) ValidateAll() error
ValidateAll checks the field values on KeepAliveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KeepAliveRequestMultiError, or nil if none found.
type KeepAliveRequestMultiError ¶
type KeepAliveRequestMultiError []error
KeepAliveRequestMultiError is an error wrapping multiple validation errors returned by KeepAliveRequest.ValidateAll() if the designated constraints aren't met.
func (KeepAliveRequestMultiError) AllErrors ¶
func (m KeepAliveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeepAliveRequestMultiError) Error ¶
func (m KeepAliveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeepAliveRequestValidationError ¶
type KeepAliveRequestValidationError struct {
// contains filtered or unexported fields
}
KeepAliveRequestValidationError is the validation error returned by KeepAliveRequest.Validate if the designated constraints aren't met.
func (KeepAliveRequestValidationError) Cause ¶
func (e KeepAliveRequestValidationError) Cause() error
Cause function returns cause value.
func (KeepAliveRequestValidationError) Error ¶
func (e KeepAliveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (KeepAliveRequestValidationError) ErrorName ¶
func (e KeepAliveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (KeepAliveRequestValidationError) Field ¶
func (e KeepAliveRequestValidationError) Field() string
Field function returns field value.
func (KeepAliveRequestValidationError) Key ¶
func (e KeepAliveRequestValidationError) Key() bool
Key function returns key value.
func (KeepAliveRequestValidationError) Reason ¶
func (e KeepAliveRequestValidationError) Reason() string
Reason function returns reason value.
type ListApplicationsRequest ¶ added in v1.3.1
type ListApplicationsRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Source service hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Source service ip. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
ListApplicationsRequest represents request of ListApplications.
func (*ListApplicationsRequest) Descriptor
deprecated
added in
v1.3.1
func (*ListApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.
func (*ListApplicationsRequest) GetHostName ¶ added in v1.3.1
func (x *ListApplicationsRequest) GetHostName() string
func (*ListApplicationsRequest) GetIp ¶ added in v1.3.1
func (x *ListApplicationsRequest) GetIp() string
func (*ListApplicationsRequest) GetSourceType ¶ added in v1.3.1
func (x *ListApplicationsRequest) GetSourceType() SourceType
func (*ListApplicationsRequest) ProtoMessage ¶ added in v1.3.1
func (*ListApplicationsRequest) ProtoMessage()
func (*ListApplicationsRequest) ProtoReflect ¶ added in v1.3.1
func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
func (*ListApplicationsRequest) Reset ¶ added in v1.3.1
func (x *ListApplicationsRequest) Reset()
func (*ListApplicationsRequest) String ¶ added in v1.3.1
func (x *ListApplicationsRequest) String() string
func (*ListApplicationsRequest) Validate ¶ added in v1.3.1
func (m *ListApplicationsRequest) Validate() error
Validate checks the field values on ListApplicationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListApplicationsRequest) ValidateAll ¶ added in v1.3.1
func (m *ListApplicationsRequest) ValidateAll() error
ValidateAll checks the field values on ListApplicationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListApplicationsRequestMultiError, or nil if none found.
type ListApplicationsRequestMultiError ¶ added in v1.3.1
type ListApplicationsRequestMultiError []error
ListApplicationsRequestMultiError is an error wrapping multiple validation errors returned by ListApplicationsRequest.ValidateAll() if the designated constraints aren't met.
func (ListApplicationsRequestMultiError) AllErrors ¶ added in v1.3.1
func (m ListApplicationsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListApplicationsRequestMultiError) Error ¶ added in v1.3.1
func (m ListApplicationsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListApplicationsRequestValidationError ¶ added in v1.3.1
type ListApplicationsRequestValidationError struct {
// contains filtered or unexported fields
}
ListApplicationsRequestValidationError is the validation error returned by ListApplicationsRequest.Validate if the designated constraints aren't met.
func (ListApplicationsRequestValidationError) Cause ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListApplicationsRequestValidationError) Error ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListApplicationsRequestValidationError) ErrorName ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListApplicationsRequestValidationError) Field ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) Field() string
Field function returns field value.
func (ListApplicationsRequestValidationError) Key ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) Key() bool
Key function returns key value.
func (ListApplicationsRequestValidationError) Reason ¶ added in v1.3.1
func (e ListApplicationsRequestValidationError) Reason() string
Reason function returns reason value.
type ListApplicationsResponse ¶ added in v1.3.1
type ListApplicationsResponse struct { // Application configs. Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` // contains filtered or unexported fields }
ListApplicationsResponse represents response of ListApplications.
func (*ListApplicationsResponse) Descriptor
deprecated
added in
v1.3.1
func (*ListApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.
func (*ListApplicationsResponse) GetApplications ¶ added in v1.3.1
func (x *ListApplicationsResponse) GetApplications() []*Application
func (*ListApplicationsResponse) ProtoMessage ¶ added in v1.3.1
func (*ListApplicationsResponse) ProtoMessage()
func (*ListApplicationsResponse) ProtoReflect ¶ added in v1.3.1
func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
func (*ListApplicationsResponse) Reset ¶ added in v1.3.1
func (x *ListApplicationsResponse) Reset()
func (*ListApplicationsResponse) String ¶ added in v1.3.1
func (x *ListApplicationsResponse) String() string
func (*ListApplicationsResponse) Validate ¶ added in v1.3.1
func (m *ListApplicationsResponse) Validate() error
Validate checks the field values on ListApplicationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListApplicationsResponse) ValidateAll ¶ added in v1.3.1
func (m *ListApplicationsResponse) ValidateAll() error
ValidateAll checks the field values on ListApplicationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListApplicationsResponseMultiError, or nil if none found.
type ListApplicationsResponseMultiError ¶ added in v1.3.1
type ListApplicationsResponseMultiError []error
ListApplicationsResponseMultiError is an error wrapping multiple validation errors returned by ListApplicationsResponse.ValidateAll() if the designated constraints aren't met.
func (ListApplicationsResponseMultiError) AllErrors ¶ added in v1.3.1
func (m ListApplicationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListApplicationsResponseMultiError) Error ¶ added in v1.3.1
func (m ListApplicationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListApplicationsResponseValidationError ¶ added in v1.3.1
type ListApplicationsResponseValidationError struct {
// contains filtered or unexported fields
}
ListApplicationsResponseValidationError is the validation error returned by ListApplicationsResponse.Validate if the designated constraints aren't met.
func (ListApplicationsResponseValidationError) Cause ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListApplicationsResponseValidationError) Error ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListApplicationsResponseValidationError) ErrorName ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListApplicationsResponseValidationError) Field ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) Field() string
Field function returns field value.
func (ListApplicationsResponseValidationError) Key ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) Key() bool
Key function returns key value.
func (ListApplicationsResponseValidationError) Reason ¶ added in v1.3.1
func (e ListApplicationsResponseValidationError) Reason() string
Reason function returns reason value.
type ListBucketsRequest ¶
type ListBucketsRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Source service hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Source service ip. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
ListSchedulersRequest represents request of ListBuckets.
func (*ListBucketsRequest) Descriptor
deprecated
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) GetHostName ¶
func (x *ListBucketsRequest) GetHostName() string
func (*ListBucketsRequest) GetIp ¶
func (x *ListBucketsRequest) GetIp() string
func (*ListBucketsRequest) GetSourceType ¶
func (x *ListBucketsRequest) GetSourceType() SourceType
func (*ListBucketsRequest) ProtoMessage ¶
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) ProtoReflect ¶
func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
func (*ListBucketsRequest) Reset ¶
func (x *ListBucketsRequest) Reset()
func (*ListBucketsRequest) String ¶
func (x *ListBucketsRequest) String() string
func (*ListBucketsRequest) Validate ¶
func (m *ListBucketsRequest) Validate() error
Validate checks the field values on ListBucketsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBucketsRequest) ValidateAll ¶
func (m *ListBucketsRequest) ValidateAll() error
ValidateAll checks the field values on ListBucketsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBucketsRequestMultiError, or nil if none found.
type ListBucketsRequestMultiError ¶
type ListBucketsRequestMultiError []error
ListBucketsRequestMultiError is an error wrapping multiple validation errors returned by ListBucketsRequest.ValidateAll() if the designated constraints aren't met.
func (ListBucketsRequestMultiError) AllErrors ¶
func (m ListBucketsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBucketsRequestMultiError) Error ¶
func (m ListBucketsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBucketsRequestValidationError ¶
type ListBucketsRequestValidationError struct {
// contains filtered or unexported fields
}
ListBucketsRequestValidationError is the validation error returned by ListBucketsRequest.Validate if the designated constraints aren't met.
func (ListBucketsRequestValidationError) Cause ¶
func (e ListBucketsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBucketsRequestValidationError) Error ¶
func (e ListBucketsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBucketsRequestValidationError) ErrorName ¶
func (e ListBucketsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBucketsRequestValidationError) Field ¶
func (e ListBucketsRequestValidationError) Field() string
Field function returns field value.
func (ListBucketsRequestValidationError) Key ¶
func (e ListBucketsRequestValidationError) Key() bool
Key function returns key value.
func (ListBucketsRequestValidationError) Reason ¶
func (e ListBucketsRequestValidationError) Reason() string
Reason function returns reason value.
type ListBucketsResponse ¶
type ListBucketsResponse struct { // Bucket configs. Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
ListBucketsResponse represents response of ListBuckets.
func (*ListBucketsResponse) Descriptor
deprecated
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) GetBuckets ¶
func (x *ListBucketsResponse) GetBuckets() []*Bucket
func (*ListBucketsResponse) ProtoMessage ¶
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) ProtoReflect ¶
func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
func (*ListBucketsResponse) Reset ¶
func (x *ListBucketsResponse) Reset()
func (*ListBucketsResponse) String ¶
func (x *ListBucketsResponse) String() string
func (*ListBucketsResponse) Validate ¶
func (m *ListBucketsResponse) Validate() error
Validate checks the field values on ListBucketsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBucketsResponse) ValidateAll ¶
func (m *ListBucketsResponse) ValidateAll() error
ValidateAll checks the field values on ListBucketsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBucketsResponseMultiError, or nil if none found.
type ListBucketsResponseMultiError ¶
type ListBucketsResponseMultiError []error
ListBucketsResponseMultiError is an error wrapping multiple validation errors returned by ListBucketsResponse.ValidateAll() if the designated constraints aren't met.
func (ListBucketsResponseMultiError) AllErrors ¶
func (m ListBucketsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBucketsResponseMultiError) Error ¶
func (m ListBucketsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBucketsResponseValidationError ¶
type ListBucketsResponseValidationError struct {
// contains filtered or unexported fields
}
ListBucketsResponseValidationError is the validation error returned by ListBucketsResponse.Validate if the designated constraints aren't met.
func (ListBucketsResponseValidationError) Cause ¶
func (e ListBucketsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBucketsResponseValidationError) Error ¶
func (e ListBucketsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBucketsResponseValidationError) ErrorName ¶
func (e ListBucketsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBucketsResponseValidationError) Field ¶
func (e ListBucketsResponseValidationError) Field() string
Field function returns field value.
func (ListBucketsResponseValidationError) Key ¶
func (e ListBucketsResponseValidationError) Key() bool
Key function returns key value.
func (ListBucketsResponseValidationError) Reason ¶
func (e ListBucketsResponseValidationError) Reason() string
Reason function returns reason value.
type ListModelVersionsRequest ¶ added in v1.0.4
type ListModelVersionsRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,2,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // contains filtered or unexported fields }
ListModelVersionsRequest represents request of ListModelVersions.
func (*ListModelVersionsRequest) Descriptor
deprecated
added in
v1.0.4
func (*ListModelVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListModelVersionsRequest) GetModelId ¶ added in v1.0.4
func (x *ListModelVersionsRequest) GetModelId() string
func (*ListModelVersionsRequest) GetSchedulerId ¶ added in v1.0.4
func (x *ListModelVersionsRequest) GetSchedulerId() uint64
func (*ListModelVersionsRequest) ProtoMessage ¶ added in v1.0.4
func (*ListModelVersionsRequest) ProtoMessage()
func (*ListModelVersionsRequest) ProtoReflect ¶ added in v1.0.4
func (x *ListModelVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListModelVersionsRequest) Reset ¶ added in v1.0.4
func (x *ListModelVersionsRequest) Reset()
func (*ListModelVersionsRequest) String ¶ added in v1.0.4
func (x *ListModelVersionsRequest) String() string
func (*ListModelVersionsRequest) Validate ¶ added in v1.0.4
func (m *ListModelVersionsRequest) Validate() error
Validate checks the field values on ListModelVersionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListModelVersionsRequest) ValidateAll ¶ added in v1.0.4
func (m *ListModelVersionsRequest) ValidateAll() error
ValidateAll checks the field values on ListModelVersionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListModelVersionsRequestMultiError, or nil if none found.
type ListModelVersionsRequestMultiError ¶ added in v1.0.4
type ListModelVersionsRequestMultiError []error
ListModelVersionsRequestMultiError is an error wrapping multiple validation errors returned by ListModelVersionsRequest.ValidateAll() if the designated constraints aren't met.
func (ListModelVersionsRequestMultiError) AllErrors ¶ added in v1.0.4
func (m ListModelVersionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListModelVersionsRequestMultiError) Error ¶ added in v1.0.4
func (m ListModelVersionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListModelVersionsRequestValidationError ¶ added in v1.0.4
type ListModelVersionsRequestValidationError struct {
// contains filtered or unexported fields
}
ListModelVersionsRequestValidationError is the validation error returned by ListModelVersionsRequest.Validate if the designated constraints aren't met.
func (ListModelVersionsRequestValidationError) Cause ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListModelVersionsRequestValidationError) Error ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListModelVersionsRequestValidationError) ErrorName ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListModelVersionsRequestValidationError) Field ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) Field() string
Field function returns field value.
func (ListModelVersionsRequestValidationError) Key ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) Key() bool
Key function returns key value.
func (ListModelVersionsRequestValidationError) Reason ¶ added in v1.0.4
func (e ListModelVersionsRequestValidationError) Reason() string
Reason function returns reason value.
type ListModelVersionsResponse ¶ added in v1.0.4
type ListModelVersionsResponse struct { // Model version informations. ModelVersions []*ModelVersion `protobuf:"bytes,1,rep,name=model_versions,json=modelVersions,proto3" json:"model_versions,omitempty"` // contains filtered or unexported fields }
ListModelVersionsResponse represents response of ListModelVersions.
func (*ListModelVersionsResponse) Descriptor
deprecated
added in
v1.0.4
func (*ListModelVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListModelVersionsResponse) GetModelVersions ¶ added in v1.0.4
func (x *ListModelVersionsResponse) GetModelVersions() []*ModelVersion
func (*ListModelVersionsResponse) ProtoMessage ¶ added in v1.0.4
func (*ListModelVersionsResponse) ProtoMessage()
func (*ListModelVersionsResponse) ProtoReflect ¶ added in v1.0.4
func (x *ListModelVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListModelVersionsResponse) Reset ¶ added in v1.0.4
func (x *ListModelVersionsResponse) Reset()
func (*ListModelVersionsResponse) String ¶ added in v1.0.4
func (x *ListModelVersionsResponse) String() string
func (*ListModelVersionsResponse) Validate ¶ added in v1.0.4
func (m *ListModelVersionsResponse) Validate() error
Validate checks the field values on ListModelVersionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListModelVersionsResponse) ValidateAll ¶ added in v1.0.4
func (m *ListModelVersionsResponse) ValidateAll() error
ValidateAll checks the field values on ListModelVersionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListModelVersionsResponseMultiError, or nil if none found.
type ListModelVersionsResponseMultiError ¶ added in v1.0.4
type ListModelVersionsResponseMultiError []error
ListModelVersionsResponseMultiError is an error wrapping multiple validation errors returned by ListModelVersionsResponse.ValidateAll() if the designated constraints aren't met.
func (ListModelVersionsResponseMultiError) AllErrors ¶ added in v1.0.4
func (m ListModelVersionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListModelVersionsResponseMultiError) Error ¶ added in v1.0.4
func (m ListModelVersionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListModelVersionsResponseValidationError ¶ added in v1.0.4
type ListModelVersionsResponseValidationError struct {
// contains filtered or unexported fields
}
ListModelVersionsResponseValidationError is the validation error returned by ListModelVersionsResponse.Validate if the designated constraints aren't met.
func (ListModelVersionsResponseValidationError) Cause ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListModelVersionsResponseValidationError) Error ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListModelVersionsResponseValidationError) ErrorName ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListModelVersionsResponseValidationError) Field ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) Field() string
Field function returns field value.
func (ListModelVersionsResponseValidationError) Key ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) Key() bool
Key function returns key value.
func (ListModelVersionsResponseValidationError) Reason ¶ added in v1.0.4
func (e ListModelVersionsResponseValidationError) Reason() string
Reason function returns reason value.
type ListModelsRequest ¶ added in v1.0.4
type ListModelsRequest struct { // Scheduler id. SchedulerId uint64 `protobuf:"varint,1,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // contains filtered or unexported fields }
ListModelsRequest represents request of ListModels.
func (*ListModelsRequest) Descriptor
deprecated
added in
v1.0.4
func (*ListModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.
func (*ListModelsRequest) GetSchedulerId ¶ added in v1.0.4
func (x *ListModelsRequest) GetSchedulerId() uint64
func (*ListModelsRequest) ProtoMessage ¶ added in v1.0.4
func (*ListModelsRequest) ProtoMessage()
func (*ListModelsRequest) ProtoReflect ¶ added in v1.0.4
func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
func (*ListModelsRequest) Reset ¶ added in v1.0.4
func (x *ListModelsRequest) Reset()
func (*ListModelsRequest) String ¶ added in v1.0.4
func (x *ListModelsRequest) String() string
func (*ListModelsRequest) Validate ¶ added in v1.0.4
func (m *ListModelsRequest) Validate() error
Validate checks the field values on ListModelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListModelsRequest) ValidateAll ¶ added in v1.0.4
func (m *ListModelsRequest) ValidateAll() error
ValidateAll checks the field values on ListModelsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListModelsRequestMultiError, or nil if none found.
type ListModelsRequestMultiError ¶ added in v1.0.4
type ListModelsRequestMultiError []error
ListModelsRequestMultiError is an error wrapping multiple validation errors returned by ListModelsRequest.ValidateAll() if the designated constraints aren't met.
func (ListModelsRequestMultiError) AllErrors ¶ added in v1.0.4
func (m ListModelsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListModelsRequestMultiError) Error ¶ added in v1.0.4
func (m ListModelsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListModelsRequestValidationError ¶ added in v1.0.4
type ListModelsRequestValidationError struct {
// contains filtered or unexported fields
}
ListModelsRequestValidationError is the validation error returned by ListModelsRequest.Validate if the designated constraints aren't met.
func (ListModelsRequestValidationError) Cause ¶ added in v1.0.4
func (e ListModelsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListModelsRequestValidationError) Error ¶ added in v1.0.4
func (e ListModelsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListModelsRequestValidationError) ErrorName ¶ added in v1.0.4
func (e ListModelsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListModelsRequestValidationError) Field ¶ added in v1.0.4
func (e ListModelsRequestValidationError) Field() string
Field function returns field value.
func (ListModelsRequestValidationError) Key ¶ added in v1.0.4
func (e ListModelsRequestValidationError) Key() bool
Key function returns key value.
func (ListModelsRequestValidationError) Reason ¶ added in v1.0.4
func (e ListModelsRequestValidationError) Reason() string
Reason function returns reason value.
type ListModelsResponse ¶ added in v1.0.4
type ListModelsResponse struct { // Model informations. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
ListModelsResponse represents response of ListModels.
func (*ListModelsResponse) Descriptor
deprecated
added in
v1.0.4
func (*ListModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.
func (*ListModelsResponse) GetModels ¶ added in v1.0.4
func (x *ListModelsResponse) GetModels() []*Model
func (*ListModelsResponse) ProtoMessage ¶ added in v1.0.4
func (*ListModelsResponse) ProtoMessage()
func (*ListModelsResponse) ProtoReflect ¶ added in v1.0.4
func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
func (*ListModelsResponse) Reset ¶ added in v1.0.4
func (x *ListModelsResponse) Reset()
func (*ListModelsResponse) String ¶ added in v1.0.4
func (x *ListModelsResponse) String() string
func (*ListModelsResponse) Validate ¶ added in v1.0.4
func (m *ListModelsResponse) Validate() error
Validate checks the field values on ListModelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListModelsResponse) ValidateAll ¶ added in v1.0.4
func (m *ListModelsResponse) ValidateAll() error
ValidateAll checks the field values on ListModelsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListModelsResponseMultiError, or nil if none found.
type ListModelsResponseMultiError ¶ added in v1.0.4
type ListModelsResponseMultiError []error
ListModelsResponseMultiError is an error wrapping multiple validation errors returned by ListModelsResponse.ValidateAll() if the designated constraints aren't met.
func (ListModelsResponseMultiError) AllErrors ¶ added in v1.0.4
func (m ListModelsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListModelsResponseMultiError) Error ¶ added in v1.0.4
func (m ListModelsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListModelsResponseValidationError ¶ added in v1.0.4
type ListModelsResponseValidationError struct {
// contains filtered or unexported fields
}
ListModelsResponseValidationError is the validation error returned by ListModelsResponse.Validate if the designated constraints aren't met.
func (ListModelsResponseValidationError) Cause ¶ added in v1.0.4
func (e ListModelsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListModelsResponseValidationError) Error ¶ added in v1.0.4
func (e ListModelsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListModelsResponseValidationError) ErrorName ¶ added in v1.0.4
func (e ListModelsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListModelsResponseValidationError) Field ¶ added in v1.0.4
func (e ListModelsResponseValidationError) Field() string
Field function returns field value.
func (ListModelsResponseValidationError) Key ¶ added in v1.0.4
func (e ListModelsResponseValidationError) Key() bool
Key function returns key value.
func (ListModelsResponseValidationError) Reason ¶ added in v1.0.4
func (e ListModelsResponseValidationError) Reason() string
Reason function returns reason value.
type ListSchedulersRequest ¶
type ListSchedulersRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Source service hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Source service ip. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // Source service host information. HostInfo map[string]string `` /* 173-byte string literal not displayed */ // Dfdaemon version. Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // Dfdaemon commit. Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
ListSchedulersRequest represents request of ListSchedulers.
func (*ListSchedulersRequest) Descriptor
deprecated
func (*ListSchedulersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSchedulersRequest.ProtoReflect.Descriptor instead.
func (*ListSchedulersRequest) GetCommit ¶ added in v1.1.2
func (x *ListSchedulersRequest) GetCommit() string
func (*ListSchedulersRequest) GetHostInfo ¶
func (x *ListSchedulersRequest) GetHostInfo() map[string]string
func (*ListSchedulersRequest) GetHostName ¶
func (x *ListSchedulersRequest) GetHostName() string
func (*ListSchedulersRequest) GetIp ¶
func (x *ListSchedulersRequest) GetIp() string
func (*ListSchedulersRequest) GetSourceType ¶
func (x *ListSchedulersRequest) GetSourceType() SourceType
func (*ListSchedulersRequest) GetVersion ¶ added in v1.1.2
func (x *ListSchedulersRequest) GetVersion() string
func (*ListSchedulersRequest) ProtoMessage ¶
func (*ListSchedulersRequest) ProtoMessage()
func (*ListSchedulersRequest) ProtoReflect ¶
func (x *ListSchedulersRequest) ProtoReflect() protoreflect.Message
func (*ListSchedulersRequest) Reset ¶
func (x *ListSchedulersRequest) Reset()
func (*ListSchedulersRequest) String ¶
func (x *ListSchedulersRequest) String() string
func (*ListSchedulersRequest) Validate ¶
func (m *ListSchedulersRequest) Validate() error
Validate checks the field values on ListSchedulersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListSchedulersRequest) ValidateAll ¶
func (m *ListSchedulersRequest) ValidateAll() error
ValidateAll checks the field values on ListSchedulersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSchedulersRequestMultiError, or nil if none found.
type ListSchedulersRequestMultiError ¶
type ListSchedulersRequestMultiError []error
ListSchedulersRequestMultiError is an error wrapping multiple validation errors returned by ListSchedulersRequest.ValidateAll() if the designated constraints aren't met.
func (ListSchedulersRequestMultiError) AllErrors ¶
func (m ListSchedulersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSchedulersRequestMultiError) Error ¶
func (m ListSchedulersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListSchedulersRequestValidationError ¶
type ListSchedulersRequestValidationError struct {
// contains filtered or unexported fields
}
ListSchedulersRequestValidationError is the validation error returned by ListSchedulersRequest.Validate if the designated constraints aren't met.
func (ListSchedulersRequestValidationError) Cause ¶
func (e ListSchedulersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListSchedulersRequestValidationError) Error ¶
func (e ListSchedulersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListSchedulersRequestValidationError) ErrorName ¶
func (e ListSchedulersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListSchedulersRequestValidationError) Field ¶
func (e ListSchedulersRequestValidationError) Field() string
Field function returns field value.
func (ListSchedulersRequestValidationError) Key ¶
func (e ListSchedulersRequestValidationError) Key() bool
Key function returns key value.
func (ListSchedulersRequestValidationError) Reason ¶
func (e ListSchedulersRequestValidationError) Reason() string
Reason function returns reason value.
type ListSchedulersResponse ¶
type ListSchedulersResponse struct { // Schedulers to which the source service belongs. Schedulers []*Scheduler `protobuf:"bytes,1,rep,name=schedulers,proto3" json:"schedulers,omitempty"` // contains filtered or unexported fields }
ListSchedulersResponse represents response of ListSchedulers.
func (*ListSchedulersResponse) Descriptor
deprecated
func (*ListSchedulersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSchedulersResponse.ProtoReflect.Descriptor instead.
func (*ListSchedulersResponse) GetSchedulers ¶
func (x *ListSchedulersResponse) GetSchedulers() []*Scheduler
func (*ListSchedulersResponse) ProtoMessage ¶
func (*ListSchedulersResponse) ProtoMessage()
func (*ListSchedulersResponse) ProtoReflect ¶
func (x *ListSchedulersResponse) ProtoReflect() protoreflect.Message
func (*ListSchedulersResponse) Reset ¶
func (x *ListSchedulersResponse) Reset()
func (*ListSchedulersResponse) String ¶
func (x *ListSchedulersResponse) String() string
func (*ListSchedulersResponse) Validate ¶
func (m *ListSchedulersResponse) Validate() error
Validate checks the field values on ListSchedulersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListSchedulersResponse) ValidateAll ¶
func (m *ListSchedulersResponse) ValidateAll() error
ValidateAll checks the field values on ListSchedulersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSchedulersResponseMultiError, or nil if none found.
type ListSchedulersResponseMultiError ¶
type ListSchedulersResponseMultiError []error
ListSchedulersResponseMultiError is an error wrapping multiple validation errors returned by ListSchedulersResponse.ValidateAll() if the designated constraints aren't met.
func (ListSchedulersResponseMultiError) AllErrors ¶
func (m ListSchedulersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSchedulersResponseMultiError) Error ¶
func (m ListSchedulersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListSchedulersResponseValidationError ¶
type ListSchedulersResponseValidationError struct {
// contains filtered or unexported fields
}
ListSchedulersResponseValidationError is the validation error returned by ListSchedulersResponse.Validate if the designated constraints aren't met.
func (ListSchedulersResponseValidationError) Cause ¶
func (e ListSchedulersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListSchedulersResponseValidationError) Error ¶
func (e ListSchedulersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListSchedulersResponseValidationError) ErrorName ¶
func (e ListSchedulersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListSchedulersResponseValidationError) Field ¶
func (e ListSchedulersResponseValidationError) Field() string
Field function returns field value.
func (ListSchedulersResponseValidationError) Key ¶
func (e ListSchedulersResponseValidationError) Key() bool
Key function returns key value.
func (ListSchedulersResponseValidationError) Reason ¶
func (e ListSchedulersResponseValidationError) Reason() string
Reason function returns reason value.
type ManagerClient ¶
type ManagerClient interface { // Get SeedPeer and SeedPeer cluster configuration. GetSeedPeer(ctx context.Context, in *GetSeedPeerRequest, opts ...grpc.CallOption) (*SeedPeer, error) // Update SeedPeer configuration. UpdateSeedPeer(ctx context.Context, in *UpdateSeedPeerRequest, opts ...grpc.CallOption) (*SeedPeer, error) // Get Scheduler and Scheduler cluster configuration. GetScheduler(ctx context.Context, in *GetSchedulerRequest, opts ...grpc.CallOption) (*Scheduler, error) // Update scheduler configuration. UpdateScheduler(ctx context.Context, in *UpdateSchedulerRequest, opts ...grpc.CallOption) (*Scheduler, error) // List acitve schedulers configuration. ListSchedulers(ctx context.Context, in *ListSchedulersRequest, opts ...grpc.CallOption) (*ListSchedulersResponse, error) // Get ObjectStorage configuration. GetObjectStorage(ctx context.Context, in *GetObjectStorageRequest, opts ...grpc.CallOption) (*ObjectStorage, error) // List buckets configuration. ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) // List models information. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Get model information. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) // Create model information. CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) // Update model information. UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error) // Delete model information. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // List model versions information. ListModelVersions(ctx context.Context, in *ListModelVersionsRequest, opts ...grpc.CallOption) (*ListModelVersionsResponse, error) // Get model version information. GetModelVersion(ctx context.Context, in *GetModelVersionRequest, opts ...grpc.CallOption) (*ModelVersion, error) // Create model version information. CreateModelVersion(ctx context.Context, in *CreateModelVersionRequest, opts ...grpc.CallOption) (*ModelVersion, error) // Update model version information. UpdateModelVersion(ctx context.Context, in *UpdateModelVersionRequest, opts ...grpc.CallOption) (*ModelVersion, error) // Delete model version information. DeleteModelVersion(ctx context.Context, in *DeleteModelVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // List applications configuration. ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) // KeepAlive with manager. KeepAlive(ctx context.Context, opts ...grpc.CallOption) (Manager_KeepAliveClient, error) }
ManagerClient is the client API for Manager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewManagerClient ¶
func NewManagerClient(cc grpc.ClientConnInterface) ManagerClient
type ManagerServer ¶
type ManagerServer interface { // Get SeedPeer and SeedPeer cluster configuration. GetSeedPeer(context.Context, *GetSeedPeerRequest) (*SeedPeer, error) // Update SeedPeer configuration. UpdateSeedPeer(context.Context, *UpdateSeedPeerRequest) (*SeedPeer, error) // Get Scheduler and Scheduler cluster configuration. GetScheduler(context.Context, *GetSchedulerRequest) (*Scheduler, error) // Update scheduler configuration. UpdateScheduler(context.Context, *UpdateSchedulerRequest) (*Scheduler, error) // List acitve schedulers configuration. ListSchedulers(context.Context, *ListSchedulersRequest) (*ListSchedulersResponse, error) // Get ObjectStorage configuration. GetObjectStorage(context.Context, *GetObjectStorageRequest) (*ObjectStorage, error) // List buckets configuration. ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) // List models information. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Get model information. GetModel(context.Context, *GetModelRequest) (*Model, error) // Create model information. CreateModel(context.Context, *CreateModelRequest) (*Model, error) // Update model information. UpdateModel(context.Context, *UpdateModelRequest) (*Model, error) // Delete model information. DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) // List model versions information. ListModelVersions(context.Context, *ListModelVersionsRequest) (*ListModelVersionsResponse, error) // Get model version information. GetModelVersion(context.Context, *GetModelVersionRequest) (*ModelVersion, error) // Create model version information. CreateModelVersion(context.Context, *CreateModelVersionRequest) (*ModelVersion, error) // Update model version information. UpdateModelVersion(context.Context, *UpdateModelVersionRequest) (*ModelVersion, error) // Delete model version information. DeleteModelVersion(context.Context, *DeleteModelVersionRequest) (*emptypb.Empty, error) // List applications configuration. ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) // KeepAlive with manager. KeepAlive(Manager_KeepAliveServer) error }
ManagerServer is the server API for Manager service. All implementations should embed UnimplementedManagerServer for forward compatibility
type Manager_KeepAliveClient ¶
type Manager_KeepAliveClient interface { Send(*KeepAliveRequest) error CloseAndRecv() (*emptypb.Empty, error) grpc.ClientStream }
type Manager_KeepAliveServer ¶
type Manager_KeepAliveServer interface { SendAndClose(*emptypb.Empty) error Recv() (*KeepAliveRequest, error) grpc.ServerStream }
type Model ¶ added in v1.0.4
type Model struct { // Model id. ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Model version id. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Scheduler id. SchedulerId uint64 `protobuf:"varint,4,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,5,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // Model create time. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Model update time. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Model represents information of model.
func (*Model) Descriptor
deprecated
added in
v1.0.4
func (*Model) GetCreatedAt ¶ added in v1.0.6
func (x *Model) GetCreatedAt() *timestamppb.Timestamp
func (*Model) GetHostName ¶ added in v1.0.4
func (*Model) GetModelId ¶ added in v1.0.9
func (*Model) GetSchedulerId ¶ added in v1.0.4
func (*Model) GetUpdatedAt ¶ added in v1.0.6
func (x *Model) GetUpdatedAt() *timestamppb.Timestamp
func (*Model) GetVersionId ¶ added in v1.0.4
func (*Model) ProtoMessage ¶ added in v1.0.4
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶ added in v1.0.4
func (x *Model) ProtoReflect() protoreflect.Message
func (*Model) Validate ¶ added in v1.0.4
Validate checks the field values on Model with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Model) ValidateAll ¶ added in v1.0.4
ValidateAll checks the field values on Model with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModelMultiError, or nil if none found.
type ModelMultiError ¶ added in v1.0.4
type ModelMultiError []error
ModelMultiError is an error wrapping multiple validation errors returned by Model.ValidateAll() if the designated constraints aren't met.
func (ModelMultiError) AllErrors ¶ added in v1.0.4
func (m ModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModelMultiError) Error ¶ added in v1.0.4
func (m ModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModelValidationError ¶ added in v1.0.4
type ModelValidationError struct {
// contains filtered or unexported fields
}
ModelValidationError is the validation error returned by Model.Validate if the designated constraints aren't met.
func (ModelValidationError) Cause ¶ added in v1.0.4
func (e ModelValidationError) Cause() error
Cause function returns cause value.
func (ModelValidationError) Error ¶ added in v1.0.4
func (e ModelValidationError) Error() string
Error satisfies the builtin error interface
func (ModelValidationError) ErrorName ¶ added in v1.0.4
func (e ModelValidationError) ErrorName() string
ErrorName returns error name.
func (ModelValidationError) Field ¶ added in v1.0.4
func (e ModelValidationError) Field() string
Field function returns field value.
func (ModelValidationError) Key ¶ added in v1.0.4
func (e ModelValidationError) Key() bool
Key function returns key value.
func (ModelValidationError) Reason ¶ added in v1.0.4
func (e ModelValidationError) Reason() string
Reason function returns reason value.
type ModelVersion ¶ added in v1.0.4
type ModelVersion struct { // Model version id. VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Model version data. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Model version mae. Mae float64 `protobuf:"fixed64,3,opt,name=mae,proto3" json:"mae,omitempty"` // Model version mse. Mse float64 `protobuf:"fixed64,4,opt,name=mse,proto3" json:"mse,omitempty"` // Model version rmse. Rmse float64 `protobuf:"fixed64,5,opt,name=rmse,proto3" json:"rmse,omitempty"` // Model version r^2. R2 float64 `protobuf:"fixed64,6,opt,name=r2,proto3" json:"r2,omitempty"` // Model create time. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Model update time. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
ModelVersion represents information of model version.
func (*ModelVersion) Descriptor
deprecated
added in
v1.0.4
func (*ModelVersion) Descriptor() ([]byte, []int)
Deprecated: Use ModelVersion.ProtoReflect.Descriptor instead.
func (*ModelVersion) GetCreatedAt ¶ added in v1.0.6
func (x *ModelVersion) GetCreatedAt() *timestamppb.Timestamp
func (*ModelVersion) GetData ¶ added in v1.0.7
func (x *ModelVersion) GetData() []byte
func (*ModelVersion) GetMae ¶ added in v1.0.4
func (x *ModelVersion) GetMae() float64
func (*ModelVersion) GetMse ¶ added in v1.0.4
func (x *ModelVersion) GetMse() float64
func (*ModelVersion) GetR2 ¶ added in v1.0.4
func (x *ModelVersion) GetR2() float64
func (*ModelVersion) GetRmse ¶ added in v1.0.4
func (x *ModelVersion) GetRmse() float64
func (*ModelVersion) GetUpdatedAt ¶ added in v1.0.6
func (x *ModelVersion) GetUpdatedAt() *timestamppb.Timestamp
func (*ModelVersion) GetVersionId ¶ added in v1.0.9
func (x *ModelVersion) GetVersionId() string
func (*ModelVersion) ProtoMessage ¶ added in v1.0.4
func (*ModelVersion) ProtoMessage()
func (*ModelVersion) ProtoReflect ¶ added in v1.0.4
func (x *ModelVersion) ProtoReflect() protoreflect.Message
func (*ModelVersion) Reset ¶ added in v1.0.4
func (x *ModelVersion) Reset()
func (*ModelVersion) String ¶ added in v1.0.4
func (x *ModelVersion) String() string
func (*ModelVersion) Validate ¶ added in v1.0.4
func (m *ModelVersion) Validate() error
Validate checks the field values on ModelVersion with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ModelVersion) ValidateAll ¶ added in v1.0.4
func (m *ModelVersion) ValidateAll() error
ValidateAll checks the field values on ModelVersion with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ModelVersionMultiError, or nil if none found.
type ModelVersionMultiError ¶ added in v1.0.4
type ModelVersionMultiError []error
ModelVersionMultiError is an error wrapping multiple validation errors returned by ModelVersion.ValidateAll() if the designated constraints aren't met.
func (ModelVersionMultiError) AllErrors ¶ added in v1.0.4
func (m ModelVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModelVersionMultiError) Error ¶ added in v1.0.4
func (m ModelVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModelVersionValidationError ¶ added in v1.0.4
type ModelVersionValidationError struct {
// contains filtered or unexported fields
}
ModelVersionValidationError is the validation error returned by ModelVersion.Validate if the designated constraints aren't met.
func (ModelVersionValidationError) Cause ¶ added in v1.0.4
func (e ModelVersionValidationError) Cause() error
Cause function returns cause value.
func (ModelVersionValidationError) Error ¶ added in v1.0.4
func (e ModelVersionValidationError) Error() string
Error satisfies the builtin error interface
func (ModelVersionValidationError) ErrorName ¶ added in v1.0.4
func (e ModelVersionValidationError) ErrorName() string
ErrorName returns error name.
func (ModelVersionValidationError) Field ¶ added in v1.0.4
func (e ModelVersionValidationError) Field() string
Field function returns field value.
func (ModelVersionValidationError) Key ¶ added in v1.0.4
func (e ModelVersionValidationError) Key() bool
Key function returns key value.
func (ModelVersionValidationError) Reason ¶ added in v1.0.4
func (e ModelVersionValidationError) Reason() string
Reason function returns reason value.
type ObjectStorage ¶
type ObjectStorage struct { // name is object storage name of type, it can be s3, oss or obs. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Region is storage region. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Endpoint is datacenter endpoint. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // AccessKey is access key ID. AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // SecretKey is access key secret. SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // S3ForcePathStyle sets force path style for s3, true by default. // Set this to `true` to force the request to use path-style addressing, // i.e., `http://s3.amazonaws.com/BUCKET/KEY`. By default, the S3 client // will use virtual hosted bucket addressing when possible // (`http://BUCKET.s3.amazonaws.com/KEY`). // Refer to https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118. S3ForcePathStyle bool `protobuf:"varint,6,opt,name=s3_force_path_style,json=s3ForcePathStyle,proto3" json:"s3_force_path_style,omitempty"` // contains filtered or unexported fields }
ObjectStorage represents config of object storage.
func (*ObjectStorage) Descriptor
deprecated
func (*ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use ObjectStorage.ProtoReflect.Descriptor instead.
func (*ObjectStorage) GetAccessKey ¶
func (x *ObjectStorage) GetAccessKey() string
func (*ObjectStorage) GetEndpoint ¶
func (x *ObjectStorage) GetEndpoint() string
func (*ObjectStorage) GetName ¶
func (x *ObjectStorage) GetName() string
func (*ObjectStorage) GetRegion ¶
func (x *ObjectStorage) GetRegion() string
func (*ObjectStorage) GetS3ForcePathStyle ¶ added in v1.4.2
func (x *ObjectStorage) GetS3ForcePathStyle() bool
func (*ObjectStorage) GetSecretKey ¶
func (x *ObjectStorage) GetSecretKey() string
func (*ObjectStorage) ProtoMessage ¶
func (*ObjectStorage) ProtoMessage()
func (*ObjectStorage) ProtoReflect ¶
func (x *ObjectStorage) ProtoReflect() protoreflect.Message
func (*ObjectStorage) Reset ¶
func (x *ObjectStorage) Reset()
func (*ObjectStorage) String ¶
func (x *ObjectStorage) String() string
func (*ObjectStorage) Validate ¶
func (m *ObjectStorage) Validate() error
Validate checks the field values on ObjectStorage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ObjectStorage) ValidateAll ¶
func (m *ObjectStorage) ValidateAll() error
ValidateAll checks the field values on ObjectStorage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectStorageMultiError, or nil if none found.
type ObjectStorageMultiError ¶
type ObjectStorageMultiError []error
ObjectStorageMultiError is an error wrapping multiple validation errors returned by ObjectStorage.ValidateAll() if the designated constraints aren't met.
func (ObjectStorageMultiError) AllErrors ¶
func (m ObjectStorageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectStorageMultiError) Error ¶
func (m ObjectStorageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectStorageValidationError ¶
type ObjectStorageValidationError struct {
// contains filtered or unexported fields
}
ObjectStorageValidationError is the validation error returned by ObjectStorage.Validate if the designated constraints aren't met.
func (ObjectStorageValidationError) Cause ¶
func (e ObjectStorageValidationError) Cause() error
Cause function returns cause value.
func (ObjectStorageValidationError) Error ¶
func (e ObjectStorageValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectStorageValidationError) ErrorName ¶
func (e ObjectStorageValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectStorageValidationError) Field ¶
func (e ObjectStorageValidationError) Field() string
Field function returns field value.
func (ObjectStorageValidationError) Key ¶
func (e ObjectStorageValidationError) Key() bool
Key function returns key value.
func (ObjectStorageValidationError) Reason ¶
func (e ObjectStorageValidationError) Reason() string
Reason function returns reason value.
type Scheduler ¶
type Scheduler struct { // Scheduler id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Deprecated: Do not use. Vips string `protobuf:"bytes,3,opt,name=vips,proto3" json:"vips,omitempty"` // Scheduler idc. Idc string `protobuf:"bytes,4,opt,name=idc,proto3" json:"idc,omitempty"` // Scheduler location. Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,7,opt,name=ip,proto3" json:"ip,omitempty"` // Scheduler grpc port. Port int32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"` // Scheduler state. State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"` // ID of the cluster to which the scheduler belongs. SchedulerClusterId uint64 `protobuf:"varint,10,opt,name=scheduler_cluster_id,json=schedulerClusterId,proto3" json:"scheduler_cluster_id,omitempty"` // Cluster to which the scheduler belongs. SchedulerCluster *SchedulerCluster `protobuf:"bytes,11,opt,name=scheduler_cluster,json=schedulerCluster,proto3" json:"scheduler_cluster,omitempty"` // Seed peers to which the scheduler belongs. SeedPeers []*SeedPeer `protobuf:"bytes,13,rep,name=seed_peers,json=seedPeers,proto3" json:"seed_peers,omitempty"` // contains filtered or unexported fields }
SeedPeerCluster represents scheduler for network.
func (*Scheduler) Descriptor
deprecated
func (*Scheduler) GetHostName ¶
func (*Scheduler) GetLocation ¶
func (*Scheduler) GetSchedulerCluster ¶
func (x *Scheduler) GetSchedulerCluster() *SchedulerCluster
func (*Scheduler) GetSchedulerClusterId ¶
func (*Scheduler) GetSeedPeers ¶
func (*Scheduler) ProtoMessage ¶
func (*Scheduler) ProtoMessage()
func (*Scheduler) ProtoReflect ¶
func (x *Scheduler) ProtoReflect() protoreflect.Message
func (*Scheduler) Validate ¶
Validate checks the field values on Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Scheduler) ValidateAll ¶
ValidateAll checks the field values on Scheduler with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SchedulerMultiError, or nil if none found.
type SchedulerCluster ¶
type SchedulerCluster struct { // Cluster id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster biography. Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty"` // Cluster config. Config []byte `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` // Cluster client config. ClientConfig []byte `protobuf:"bytes,5,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"` // Cluster scopes. Scopes []byte `protobuf:"bytes,6,opt,name=scopes,proto3" json:"scopes,omitempty"` // Security group to which the scheduler cluster belongs. SecurityGroup *SecurityGroup `protobuf:"bytes,7,opt,name=security_group,json=securityGroup,proto3" json:"security_group,omitempty"` // contains filtered or unexported fields }
SeedPeerCluster represents cluster of scheduler.
func (*SchedulerCluster) Descriptor
deprecated
func (*SchedulerCluster) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerCluster.ProtoReflect.Descriptor instead.
func (*SchedulerCluster) GetBio ¶
func (x *SchedulerCluster) GetBio() string
func (*SchedulerCluster) GetClientConfig ¶
func (x *SchedulerCluster) GetClientConfig() []byte
func (*SchedulerCluster) GetConfig ¶
func (x *SchedulerCluster) GetConfig() []byte
func (*SchedulerCluster) GetId ¶
func (x *SchedulerCluster) GetId() uint64
func (*SchedulerCluster) GetName ¶
func (x *SchedulerCluster) GetName() string
func (*SchedulerCluster) GetScopes ¶
func (x *SchedulerCluster) GetScopes() []byte
func (*SchedulerCluster) GetSecurityGroup ¶
func (x *SchedulerCluster) GetSecurityGroup() *SecurityGroup
func (*SchedulerCluster) ProtoMessage ¶
func (*SchedulerCluster) ProtoMessage()
func (*SchedulerCluster) ProtoReflect ¶
func (x *SchedulerCluster) ProtoReflect() protoreflect.Message
func (*SchedulerCluster) Reset ¶
func (x *SchedulerCluster) Reset()
func (*SchedulerCluster) String ¶
func (x *SchedulerCluster) String() string
func (*SchedulerCluster) Validate ¶
func (m *SchedulerCluster) Validate() error
Validate checks the field values on SchedulerCluster with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SchedulerCluster) ValidateAll ¶
func (m *SchedulerCluster) ValidateAll() error
ValidateAll checks the field values on SchedulerCluster with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SchedulerClusterMultiError, or nil if none found.
type SchedulerClusterMultiError ¶
type SchedulerClusterMultiError []error
SchedulerClusterMultiError is an error wrapping multiple validation errors returned by SchedulerCluster.ValidateAll() if the designated constraints aren't met.
func (SchedulerClusterMultiError) AllErrors ¶
func (m SchedulerClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchedulerClusterMultiError) Error ¶
func (m SchedulerClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchedulerClusterValidationError ¶
type SchedulerClusterValidationError struct {
// contains filtered or unexported fields
}
SchedulerClusterValidationError is the validation error returned by SchedulerCluster.Validate if the designated constraints aren't met.
func (SchedulerClusterValidationError) Cause ¶
func (e SchedulerClusterValidationError) Cause() error
Cause function returns cause value.
func (SchedulerClusterValidationError) Error ¶
func (e SchedulerClusterValidationError) Error() string
Error satisfies the builtin error interface
func (SchedulerClusterValidationError) ErrorName ¶
func (e SchedulerClusterValidationError) ErrorName() string
ErrorName returns error name.
func (SchedulerClusterValidationError) Field ¶
func (e SchedulerClusterValidationError) Field() string
Field function returns field value.
func (SchedulerClusterValidationError) Key ¶
func (e SchedulerClusterValidationError) Key() bool
Key function returns key value.
func (SchedulerClusterValidationError) Reason ¶
func (e SchedulerClusterValidationError) Reason() string
Reason function returns reason value.
type SchedulerMultiError ¶
type SchedulerMultiError []error
SchedulerMultiError is an error wrapping multiple validation errors returned by Scheduler.ValidateAll() if the designated constraints aren't met.
func (SchedulerMultiError) AllErrors ¶
func (m SchedulerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchedulerMultiError) Error ¶
func (m SchedulerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchedulerValidationError ¶
type SchedulerValidationError struct {
// contains filtered or unexported fields
}
SchedulerValidationError is the validation error returned by Scheduler.Validate if the designated constraints aren't met.
func (SchedulerValidationError) Cause ¶
func (e SchedulerValidationError) Cause() error
Cause function returns cause value.
func (SchedulerValidationError) Error ¶
func (e SchedulerValidationError) Error() string
Error satisfies the builtin error interface
func (SchedulerValidationError) ErrorName ¶
func (e SchedulerValidationError) ErrorName() string
ErrorName returns error name.
func (SchedulerValidationError) Field ¶
func (e SchedulerValidationError) Field() string
Field function returns field value.
func (SchedulerValidationError) Key ¶
func (e SchedulerValidationError) Key() bool
Key function returns key value.
func (SchedulerValidationError) Reason ¶
func (e SchedulerValidationError) Reason() string
Reason function returns reason value.
type SecurityGroup ¶
type SecurityGroup struct { // Group id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Group name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Group biography. Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty"` // Group domain. Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` // Group proxy domain. ProxyDomain string `protobuf:"bytes,5,opt,name=proxy_domain,json=proxyDomain,proto3" json:"proxy_domain,omitempty"` // contains filtered or unexported fields }
SecurityGroup represents security group of cluster.
func (*SecurityGroup) Descriptor
deprecated
func (*SecurityGroup) Descriptor() ([]byte, []int)
Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.
func (*SecurityGroup) GetBio ¶
func (x *SecurityGroup) GetBio() string
func (*SecurityGroup) GetDomain ¶
func (x *SecurityGroup) GetDomain() string
func (*SecurityGroup) GetId ¶
func (x *SecurityGroup) GetId() uint64
func (*SecurityGroup) GetName ¶
func (x *SecurityGroup) GetName() string
func (*SecurityGroup) GetProxyDomain ¶
func (x *SecurityGroup) GetProxyDomain() string
func (*SecurityGroup) ProtoMessage ¶
func (*SecurityGroup) ProtoMessage()
func (*SecurityGroup) ProtoReflect ¶
func (x *SecurityGroup) ProtoReflect() protoreflect.Message
func (*SecurityGroup) Reset ¶
func (x *SecurityGroup) Reset()
func (*SecurityGroup) String ¶
func (x *SecurityGroup) String() string
func (*SecurityGroup) Validate ¶
func (m *SecurityGroup) Validate() error
Validate checks the field values on SecurityGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SecurityGroup) ValidateAll ¶
func (m *SecurityGroup) ValidateAll() error
ValidateAll checks the field values on SecurityGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecurityGroupMultiError, or nil if none found.
type SecurityGroupMultiError ¶
type SecurityGroupMultiError []error
SecurityGroupMultiError is an error wrapping multiple validation errors returned by SecurityGroup.ValidateAll() if the designated constraints aren't met.
func (SecurityGroupMultiError) AllErrors ¶
func (m SecurityGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecurityGroupMultiError) Error ¶
func (m SecurityGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecurityGroupValidationError ¶
type SecurityGroupValidationError struct {
// contains filtered or unexported fields
}
SecurityGroupValidationError is the validation error returned by SecurityGroup.Validate if the designated constraints aren't met.
func (SecurityGroupValidationError) Cause ¶
func (e SecurityGroupValidationError) Cause() error
Cause function returns cause value.
func (SecurityGroupValidationError) Error ¶
func (e SecurityGroupValidationError) Error() string
Error satisfies the builtin error interface
func (SecurityGroupValidationError) ErrorName ¶
func (e SecurityGroupValidationError) ErrorName() string
ErrorName returns error name.
func (SecurityGroupValidationError) Field ¶
func (e SecurityGroupValidationError) Field() string
Field function returns field value.
func (SecurityGroupValidationError) Key ¶
func (e SecurityGroupValidationError) Key() bool
Key function returns key value.
func (SecurityGroupValidationError) Reason ¶
func (e SecurityGroupValidationError) Reason() string
Reason function returns reason value.
type SeedPeer ¶
type SeedPeer struct { // Seed peer id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Seed peer hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Seed peer type. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Seed peer idc. Idc string `protobuf:"bytes,5,opt,name=idc,proto3" json:"idc,omitempty"` // Seed peer location. Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"` // Seed peer ip. Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` // Seed peer grpc port. Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` // Seed peer download port. DownloadPort int32 `protobuf:"varint,10,opt,name=download_port,json=downloadPort,proto3" json:"download_port,omitempty"` // Seed peer state. State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` // ID of the cluster to which the seed peer belongs. SeedPeerClusterId uint64 `protobuf:"varint,12,opt,name=seed_peer_cluster_id,json=seedPeerClusterId,proto3" json:"seed_peer_cluster_id,omitempty"` // Cluster to which the seed peer belongs. SeedPeerCluster *SeedPeerCluster `protobuf:"bytes,13,opt,name=seed_peer_cluster,json=seedPeerCluster,proto3" json:"seed_peer_cluster,omitempty"` // Schedulers included in seed peer. Schedulers []*Scheduler `protobuf:"bytes,14,rep,name=schedulers,proto3" json:"schedulers,omitempty"` // Seed peer object storage port. ObjectStoragePort int32 `protobuf:"varint,15,opt,name=object_storage_port,json=objectStoragePort,proto3" json:"object_storage_port,omitempty"` // contains filtered or unexported fields }
SeedPeer represents seed peer for network.
func (*SeedPeer) Descriptor
deprecated
func (*SeedPeer) GetDownloadPort ¶
func (*SeedPeer) GetHostName ¶
func (*SeedPeer) GetLocation ¶
func (*SeedPeer) GetObjectStoragePort ¶
func (*SeedPeer) GetSchedulers ¶
func (*SeedPeer) GetSeedPeerCluster ¶
func (x *SeedPeer) GetSeedPeerCluster() *SeedPeerCluster
func (*SeedPeer) GetSeedPeerClusterId ¶
func (*SeedPeer) ProtoMessage ¶
func (*SeedPeer) ProtoMessage()
func (*SeedPeer) ProtoReflect ¶
func (x *SeedPeer) ProtoReflect() protoreflect.Message
func (*SeedPeer) Validate ¶
Validate checks the field values on SeedPeer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SeedPeer) ValidateAll ¶
ValidateAll checks the field values on SeedPeer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SeedPeerMultiError, or nil if none found.
type SeedPeerCluster ¶
type SeedPeerCluster struct { // Cluster id. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster biography. Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty"` // Cluster configuration. Config []byte `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
SeedPeerCluster represents cluster of seed peer.
func (*SeedPeerCluster) Descriptor
deprecated
func (*SeedPeerCluster) Descriptor() ([]byte, []int)
Deprecated: Use SeedPeerCluster.ProtoReflect.Descriptor instead.
func (*SeedPeerCluster) GetBio ¶
func (x *SeedPeerCluster) GetBio() string
func (*SeedPeerCluster) GetConfig ¶
func (x *SeedPeerCluster) GetConfig() []byte
func (*SeedPeerCluster) GetId ¶
func (x *SeedPeerCluster) GetId() uint64
func (*SeedPeerCluster) GetName ¶
func (x *SeedPeerCluster) GetName() string
func (*SeedPeerCluster) ProtoMessage ¶
func (*SeedPeerCluster) ProtoMessage()
func (*SeedPeerCluster) ProtoReflect ¶
func (x *SeedPeerCluster) ProtoReflect() protoreflect.Message
func (*SeedPeerCluster) Reset ¶
func (x *SeedPeerCluster) Reset()
func (*SeedPeerCluster) String ¶
func (x *SeedPeerCluster) String() string
func (*SeedPeerCluster) Validate ¶
func (m *SeedPeerCluster) Validate() error
Validate checks the field values on SeedPeerCluster with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SeedPeerCluster) ValidateAll ¶
func (m *SeedPeerCluster) ValidateAll() error
ValidateAll checks the field values on SeedPeerCluster with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SeedPeerClusterMultiError, or nil if none found.
type SeedPeerClusterMultiError ¶
type SeedPeerClusterMultiError []error
SeedPeerClusterMultiError is an error wrapping multiple validation errors returned by SeedPeerCluster.ValidateAll() if the designated constraints aren't met.
func (SeedPeerClusterMultiError) AllErrors ¶
func (m SeedPeerClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SeedPeerClusterMultiError) Error ¶
func (m SeedPeerClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SeedPeerClusterValidationError ¶
type SeedPeerClusterValidationError struct {
// contains filtered or unexported fields
}
SeedPeerClusterValidationError is the validation error returned by SeedPeerCluster.Validate if the designated constraints aren't met.
func (SeedPeerClusterValidationError) Cause ¶
func (e SeedPeerClusterValidationError) Cause() error
Cause function returns cause value.
func (SeedPeerClusterValidationError) Error ¶
func (e SeedPeerClusterValidationError) Error() string
Error satisfies the builtin error interface
func (SeedPeerClusterValidationError) ErrorName ¶
func (e SeedPeerClusterValidationError) ErrorName() string
ErrorName returns error name.
func (SeedPeerClusterValidationError) Field ¶
func (e SeedPeerClusterValidationError) Field() string
Field function returns field value.
func (SeedPeerClusterValidationError) Key ¶
func (e SeedPeerClusterValidationError) Key() bool
Key function returns key value.
func (SeedPeerClusterValidationError) Reason ¶
func (e SeedPeerClusterValidationError) Reason() string
Reason function returns reason value.
type SeedPeerMultiError ¶
type SeedPeerMultiError []error
SeedPeerMultiError is an error wrapping multiple validation errors returned by SeedPeer.ValidateAll() if the designated constraints aren't met.
func (SeedPeerMultiError) AllErrors ¶
func (m SeedPeerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SeedPeerMultiError) Error ¶
func (m SeedPeerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SeedPeerValidationError ¶
type SeedPeerValidationError struct {
// contains filtered or unexported fields
}
SeedPeerValidationError is the validation error returned by SeedPeer.Validate if the designated constraints aren't met.
func (SeedPeerValidationError) Cause ¶
func (e SeedPeerValidationError) Cause() error
Cause function returns cause value.
func (SeedPeerValidationError) Error ¶
func (e SeedPeerValidationError) Error() string
Error satisfies the builtin error interface
func (SeedPeerValidationError) ErrorName ¶
func (e SeedPeerValidationError) ErrorName() string
ErrorName returns error name.
func (SeedPeerValidationError) Field ¶
func (e SeedPeerValidationError) Field() string
Field function returns field value.
func (SeedPeerValidationError) Key ¶
func (e SeedPeerValidationError) Key() bool
Key function returns key value.
func (SeedPeerValidationError) Reason ¶
func (e SeedPeerValidationError) Reason() string
Reason function returns reason value.
type SourceType ¶
type SourceType int32
Request source type.
const ( // Scheduler service. SourceType_SCHEDULER_SOURCE SourceType = 0 // Peer service. SourceType_PEER_SOURCE SourceType = 1 // SeedPeer service. SourceType_SEED_PEER_SOURCE SourceType = 2 )
func (SourceType) Descriptor ¶
func (SourceType) Descriptor() protoreflect.EnumDescriptor
func (SourceType) Enum ¶
func (x SourceType) Enum() *SourceType
func (SourceType) EnumDescriptor
deprecated
func (SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceType.Descriptor instead.
func (SourceType) Number ¶
func (x SourceType) Number() protoreflect.EnumNumber
func (SourceType) String ¶
func (x SourceType) String() string
func (SourceType) Type ¶
func (SourceType) Type() protoreflect.EnumType
type URLPriority ¶ added in v1.3.1
type URLPriority struct { // URL regex. Regex string `protobuf:"bytes,1,opt,name=regex,proto3" json:"regex,omitempty"` // URL priority value. Value v1.Priority `protobuf:"varint,2,opt,name=value,proto3,enum=common.Priority" json:"value,omitempty"` // contains filtered or unexported fields }
URLPriority represents config of url priority.
func (*URLPriority) Descriptor
deprecated
added in
v1.3.1
func (*URLPriority) Descriptor() ([]byte, []int)
Deprecated: Use URLPriority.ProtoReflect.Descriptor instead.
func (*URLPriority) GetRegex ¶ added in v1.3.1
func (x *URLPriority) GetRegex() string
func (*URLPriority) GetValue ¶ added in v1.3.1
func (x *URLPriority) GetValue() v1.Priority
func (*URLPriority) ProtoMessage ¶ added in v1.3.1
func (*URLPriority) ProtoMessage()
func (*URLPriority) ProtoReflect ¶ added in v1.3.1
func (x *URLPriority) ProtoReflect() protoreflect.Message
func (*URLPriority) Reset ¶ added in v1.3.1
func (x *URLPriority) Reset()
func (*URLPriority) String ¶ added in v1.3.1
func (x *URLPriority) String() string
func (*URLPriority) Validate ¶ added in v1.3.1
func (m *URLPriority) Validate() error
Validate checks the field values on URLPriority with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*URLPriority) ValidateAll ¶ added in v1.3.1
func (m *URLPriority) ValidateAll() error
ValidateAll checks the field values on URLPriority with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in URLPriorityMultiError, or nil if none found.
type URLPriorityMultiError ¶ added in v1.3.1
type URLPriorityMultiError []error
URLPriorityMultiError is an error wrapping multiple validation errors returned by URLPriority.ValidateAll() if the designated constraints aren't met.
func (URLPriorityMultiError) AllErrors ¶ added in v1.3.1
func (m URLPriorityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (URLPriorityMultiError) Error ¶ added in v1.3.1
func (m URLPriorityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type URLPriorityValidationError ¶ added in v1.3.1
type URLPriorityValidationError struct {
// contains filtered or unexported fields
}
URLPriorityValidationError is the validation error returned by URLPriority.Validate if the designated constraints aren't met.
func (URLPriorityValidationError) Cause ¶ added in v1.3.1
func (e URLPriorityValidationError) Cause() error
Cause function returns cause value.
func (URLPriorityValidationError) Error ¶ added in v1.3.1
func (e URLPriorityValidationError) Error() string
Error satisfies the builtin error interface
func (URLPriorityValidationError) ErrorName ¶ added in v1.3.1
func (e URLPriorityValidationError) ErrorName() string
ErrorName returns error name.
func (URLPriorityValidationError) Field ¶ added in v1.3.1
func (e URLPriorityValidationError) Field() string
Field function returns field value.
func (URLPriorityValidationError) Key ¶ added in v1.3.1
func (e URLPriorityValidationError) Key() bool
Key function returns key value.
func (URLPriorityValidationError) Reason ¶ added in v1.3.1
func (e URLPriorityValidationError) Reason() string
Reason function returns reason value.
type UnimplementedManagerServer ¶
type UnimplementedManagerServer struct { }
UnimplementedManagerServer should be embedded to have forward compatible implementations.
func (UnimplementedManagerServer) CreateModel ¶ added in v1.0.4
func (UnimplementedManagerServer) CreateModel(context.Context, *CreateModelRequest) (*Model, error)
func (UnimplementedManagerServer) CreateModelVersion ¶ added in v1.0.4
func (UnimplementedManagerServer) CreateModelVersion(context.Context, *CreateModelVersionRequest) (*ModelVersion, error)
func (UnimplementedManagerServer) DeleteModel ¶ added in v1.0.4
func (UnimplementedManagerServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error)
func (UnimplementedManagerServer) DeleteModelVersion ¶ added in v1.0.4
func (UnimplementedManagerServer) DeleteModelVersion(context.Context, *DeleteModelVersionRequest) (*emptypb.Empty, error)
func (UnimplementedManagerServer) GetModel ¶ added in v1.0.4
func (UnimplementedManagerServer) GetModel(context.Context, *GetModelRequest) (*Model, error)
func (UnimplementedManagerServer) GetModelVersion ¶ added in v1.0.4
func (UnimplementedManagerServer) GetModelVersion(context.Context, *GetModelVersionRequest) (*ModelVersion, error)
func (UnimplementedManagerServer) GetObjectStorage ¶
func (UnimplementedManagerServer) GetObjectStorage(context.Context, *GetObjectStorageRequest) (*ObjectStorage, error)
func (UnimplementedManagerServer) GetScheduler ¶
func (UnimplementedManagerServer) GetScheduler(context.Context, *GetSchedulerRequest) (*Scheduler, error)
func (UnimplementedManagerServer) GetSeedPeer ¶
func (UnimplementedManagerServer) GetSeedPeer(context.Context, *GetSeedPeerRequest) (*SeedPeer, error)
func (UnimplementedManagerServer) KeepAlive ¶
func (UnimplementedManagerServer) KeepAlive(Manager_KeepAliveServer) error
func (UnimplementedManagerServer) ListApplications ¶ added in v1.3.1
func (UnimplementedManagerServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
func (UnimplementedManagerServer) ListBuckets ¶
func (UnimplementedManagerServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
func (UnimplementedManagerServer) ListModelVersions ¶ added in v1.0.4
func (UnimplementedManagerServer) ListModelVersions(context.Context, *ListModelVersionsRequest) (*ListModelVersionsResponse, error)
func (UnimplementedManagerServer) ListModels ¶ added in v1.0.4
func (UnimplementedManagerServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
func (UnimplementedManagerServer) ListSchedulers ¶
func (UnimplementedManagerServer) ListSchedulers(context.Context, *ListSchedulersRequest) (*ListSchedulersResponse, error)
func (UnimplementedManagerServer) UpdateModel ¶ added in v1.0.4
func (UnimplementedManagerServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error)
func (UnimplementedManagerServer) UpdateModelVersion ¶ added in v1.0.4
func (UnimplementedManagerServer) UpdateModelVersion(context.Context, *UpdateModelVersionRequest) (*ModelVersion, error)
func (UnimplementedManagerServer) UpdateScheduler ¶
func (UnimplementedManagerServer) UpdateScheduler(context.Context, *UpdateSchedulerRequest) (*Scheduler, error)
func (UnimplementedManagerServer) UpdateSeedPeer ¶
func (UnimplementedManagerServer) UpdateSeedPeer(context.Context, *UpdateSeedPeerRequest) (*SeedPeer, error)
type UnsafeManagerServer ¶ added in v1.4.1
type UnsafeManagerServer interface {
// contains filtered or unexported methods
}
UnsafeManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagerServer will result in compilation errors.
type UpdateModelRequest ¶ added in v1.0.4
type UpdateModelRequest struct { // Model id. ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Model version id. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Scheduler id. SchedulerId uint64 `protobuf:"varint,4,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,5,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
UpdateModelRequest represents request of UpdateModel.
func (*UpdateModelRequest) Descriptor
deprecated
added in
v1.0.4
func (*UpdateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.
func (*UpdateModelRequest) GetHostName ¶ added in v1.0.4
func (x *UpdateModelRequest) GetHostName() string
func (*UpdateModelRequest) GetIp ¶ added in v1.0.4
func (x *UpdateModelRequest) GetIp() string
func (*UpdateModelRequest) GetModelId ¶ added in v1.0.4
func (x *UpdateModelRequest) GetModelId() string
func (*UpdateModelRequest) GetName ¶ added in v1.0.4
func (x *UpdateModelRequest) GetName() string
func (*UpdateModelRequest) GetSchedulerId ¶ added in v1.0.4
func (x *UpdateModelRequest) GetSchedulerId() uint64
func (*UpdateModelRequest) GetVersionId ¶ added in v1.0.4
func (x *UpdateModelRequest) GetVersionId() string
func (*UpdateModelRequest) ProtoMessage ¶ added in v1.0.4
func (*UpdateModelRequest) ProtoMessage()
func (*UpdateModelRequest) ProtoReflect ¶ added in v1.0.4
func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
func (*UpdateModelRequest) Reset ¶ added in v1.0.4
func (x *UpdateModelRequest) Reset()
func (*UpdateModelRequest) String ¶ added in v1.0.4
func (x *UpdateModelRequest) String() string
func (*UpdateModelRequest) Validate ¶ added in v1.0.4
func (m *UpdateModelRequest) Validate() error
Validate checks the field values on UpdateModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateModelRequest) ValidateAll ¶ added in v1.0.4
func (m *UpdateModelRequest) ValidateAll() error
ValidateAll checks the field values on UpdateModelRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateModelRequestMultiError, or nil if none found.
type UpdateModelRequestMultiError ¶ added in v1.0.4
type UpdateModelRequestMultiError []error
UpdateModelRequestMultiError is an error wrapping multiple validation errors returned by UpdateModelRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateModelRequestMultiError) AllErrors ¶ added in v1.0.4
func (m UpdateModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateModelRequestMultiError) Error ¶ added in v1.0.4
func (m UpdateModelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateModelRequestValidationError ¶ added in v1.0.4
type UpdateModelRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateModelRequestValidationError is the validation error returned by UpdateModelRequest.Validate if the designated constraints aren't met.
func (UpdateModelRequestValidationError) Cause ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateModelRequestValidationError) Error ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateModelRequestValidationError) ErrorName ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateModelRequestValidationError) Field ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) Field() string
Field function returns field value.
func (UpdateModelRequestValidationError) Key ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) Key() bool
Key function returns key value.
func (UpdateModelRequestValidationError) Reason ¶ added in v1.0.4
func (e UpdateModelRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateModelVersionRequest ¶ added in v1.0.4
type UpdateModelVersionRequest struct { // Model version id. VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Scheduler id. SchedulerId uint64 `protobuf:"varint,2,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` // Model id. ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` // Model version data. Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Model version mae. Mae float64 `protobuf:"fixed64,5,opt,name=mae,proto3" json:"mae,omitempty"` // Model version mse. Mse float64 `protobuf:"fixed64,6,opt,name=mse,proto3" json:"mse,omitempty"` // Model version rmse. Rmse float64 `protobuf:"fixed64,7,opt,name=rmse,proto3" json:"rmse,omitempty"` // Model version r^2. R2 float64 `protobuf:"fixed64,8,opt,name=r2,proto3" json:"r2,omitempty"` // contains filtered or unexported fields }
UpdateModelVersionRequest represents request of UpdateModelVersion.
func (*UpdateModelVersionRequest) Descriptor
deprecated
added in
v1.0.4
func (*UpdateModelVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateModelVersionRequest) GetData ¶ added in v1.0.7
func (x *UpdateModelVersionRequest) GetData() []byte
func (*UpdateModelVersionRequest) GetMae ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetMae() float64
func (*UpdateModelVersionRequest) GetModelId ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetModelId() string
func (*UpdateModelVersionRequest) GetMse ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetMse() float64
func (*UpdateModelVersionRequest) GetR2 ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetR2() float64
func (*UpdateModelVersionRequest) GetRmse ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetRmse() float64
func (*UpdateModelVersionRequest) GetSchedulerId ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) GetSchedulerId() uint64
func (*UpdateModelVersionRequest) GetVersionId ¶ added in v1.0.9
func (x *UpdateModelVersionRequest) GetVersionId() string
func (*UpdateModelVersionRequest) ProtoMessage ¶ added in v1.0.4
func (*UpdateModelVersionRequest) ProtoMessage()
func (*UpdateModelVersionRequest) ProtoReflect ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) ProtoReflect() protoreflect.Message
func (*UpdateModelVersionRequest) Reset ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) Reset()
func (*UpdateModelVersionRequest) String ¶ added in v1.0.4
func (x *UpdateModelVersionRequest) String() string
func (*UpdateModelVersionRequest) Validate ¶ added in v1.0.4
func (m *UpdateModelVersionRequest) Validate() error
Validate checks the field values on UpdateModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateModelVersionRequest) ValidateAll ¶ added in v1.0.4
func (m *UpdateModelVersionRequest) ValidateAll() error
ValidateAll checks the field values on UpdateModelVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateModelVersionRequestMultiError, or nil if none found.
type UpdateModelVersionRequestMultiError ¶ added in v1.0.4
type UpdateModelVersionRequestMultiError []error
UpdateModelVersionRequestMultiError is an error wrapping multiple validation errors returned by UpdateModelVersionRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateModelVersionRequestMultiError) AllErrors ¶ added in v1.0.4
func (m UpdateModelVersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateModelVersionRequestMultiError) Error ¶ added in v1.0.4
func (m UpdateModelVersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateModelVersionRequestValidationError ¶ added in v1.0.4
type UpdateModelVersionRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateModelVersionRequestValidationError is the validation error returned by UpdateModelVersionRequest.Validate if the designated constraints aren't met.
func (UpdateModelVersionRequestValidationError) Cause ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateModelVersionRequestValidationError) Error ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateModelVersionRequestValidationError) ErrorName ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateModelVersionRequestValidationError) Field ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) Field() string
Field function returns field value.
func (UpdateModelVersionRequestValidationError) Key ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) Key() bool
Key function returns key value.
func (UpdateModelVersionRequestValidationError) Reason ¶ added in v1.0.4
func (e UpdateModelVersionRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSchedulerRequest ¶
type UpdateSchedulerRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Scheduler hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // ID of the cluster to which the scheduler belongs. SchedulerClusterId uint64 `protobuf:"varint,3,opt,name=scheduler_cluster_id,json=schedulerClusterId,proto3" json:"scheduler_cluster_id,omitempty"` // Deprecated: Do not use. Vips string `protobuf:"bytes,4,opt,name=vips,proto3" json:"vips,omitempty"` // Scheduler idc. Idc string `protobuf:"bytes,5,opt,name=idc,proto3" json:"idc,omitempty"` // Scheduler location. Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // Deprecated: Remove net_config params. NetConfig []byte `protobuf:"bytes,7,opt,name=net_config,json=netConfig,proto3" json:"net_config,omitempty"` // Scheduler ip. Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` // Scheduler port. Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
UpdateSchedulerRequest represents request of UpdateScheduler.
func (*UpdateSchedulerRequest) Descriptor
deprecated
func (*UpdateSchedulerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSchedulerRequest.ProtoReflect.Descriptor instead.
func (*UpdateSchedulerRequest) GetHostName ¶
func (x *UpdateSchedulerRequest) GetHostName() string
func (*UpdateSchedulerRequest) GetIdc ¶
func (x *UpdateSchedulerRequest) GetIdc() string
func (*UpdateSchedulerRequest) GetIp ¶
func (x *UpdateSchedulerRequest) GetIp() string
func (*UpdateSchedulerRequest) GetLocation ¶
func (x *UpdateSchedulerRequest) GetLocation() string
func (*UpdateSchedulerRequest) GetNetConfig ¶
func (x *UpdateSchedulerRequest) GetNetConfig() []byte
func (*UpdateSchedulerRequest) GetPort ¶
func (x *UpdateSchedulerRequest) GetPort() int32
func (*UpdateSchedulerRequest) GetSchedulerClusterId ¶
func (x *UpdateSchedulerRequest) GetSchedulerClusterId() uint64
func (*UpdateSchedulerRequest) GetSourceType ¶
func (x *UpdateSchedulerRequest) GetSourceType() SourceType
func (*UpdateSchedulerRequest) GetVips ¶
func (x *UpdateSchedulerRequest) GetVips() string
func (*UpdateSchedulerRequest) ProtoMessage ¶
func (*UpdateSchedulerRequest) ProtoMessage()
func (*UpdateSchedulerRequest) ProtoReflect ¶
func (x *UpdateSchedulerRequest) ProtoReflect() protoreflect.Message
func (*UpdateSchedulerRequest) Reset ¶
func (x *UpdateSchedulerRequest) Reset()
func (*UpdateSchedulerRequest) String ¶
func (x *UpdateSchedulerRequest) String() string
func (*UpdateSchedulerRequest) Validate ¶
func (m *UpdateSchedulerRequest) Validate() error
Validate checks the field values on UpdateSchedulerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateSchedulerRequest) ValidateAll ¶
func (m *UpdateSchedulerRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSchedulerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSchedulerRequestMultiError, or nil if none found.
type UpdateSchedulerRequestMultiError ¶
type UpdateSchedulerRequestMultiError []error
UpdateSchedulerRequestMultiError is an error wrapping multiple validation errors returned by UpdateSchedulerRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSchedulerRequestMultiError) AllErrors ¶
func (m UpdateSchedulerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSchedulerRequestMultiError) Error ¶
func (m UpdateSchedulerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSchedulerRequestValidationError ¶
type UpdateSchedulerRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSchedulerRequestValidationError is the validation error returned by UpdateSchedulerRequest.Validate if the designated constraints aren't met.
func (UpdateSchedulerRequestValidationError) Cause ¶
func (e UpdateSchedulerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSchedulerRequestValidationError) Error ¶
func (e UpdateSchedulerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSchedulerRequestValidationError) ErrorName ¶
func (e UpdateSchedulerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSchedulerRequestValidationError) Field ¶
func (e UpdateSchedulerRequestValidationError) Field() string
Field function returns field value.
func (UpdateSchedulerRequestValidationError) Key ¶
func (e UpdateSchedulerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSchedulerRequestValidationError) Reason ¶
func (e UpdateSchedulerRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSeedPeerRequest ¶
type UpdateSeedPeerRequest struct { // Request source type. SourceType SourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=manager.SourceType" json:"source_type,omitempty"` // Seed peer hostname. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Seed peer type. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Seed peer idc. Idc string `protobuf:"bytes,5,opt,name=idc,proto3" json:"idc,omitempty"` // Seed peer location. Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"` // Seed peer ip. Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` // Seed peer port. Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` // Seed peer download port. DownloadPort int32 `protobuf:"varint,10,opt,name=download_port,json=downloadPort,proto3" json:"download_port,omitempty"` // ID of the cluster to which the seed peer belongs. SeedPeerClusterId uint64 `protobuf:"varint,11,opt,name=seed_peer_cluster_id,json=seedPeerClusterId,proto3" json:"seed_peer_cluster_id,omitempty"` // Seed peer object storage port. ObjectStoragePort int32 `protobuf:"varint,12,opt,name=object_storage_port,json=objectStoragePort,proto3" json:"object_storage_port,omitempty"` // contains filtered or unexported fields }
UpdateSeedPeerRequest represents request of UpdateSeedPeer.
func (*UpdateSeedPeerRequest) Descriptor
deprecated
func (*UpdateSeedPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSeedPeerRequest.ProtoReflect.Descriptor instead.
func (*UpdateSeedPeerRequest) GetDownloadPort ¶
func (x *UpdateSeedPeerRequest) GetDownloadPort() int32
func (*UpdateSeedPeerRequest) GetHostName ¶
func (x *UpdateSeedPeerRequest) GetHostName() string
func (*UpdateSeedPeerRequest) GetIdc ¶
func (x *UpdateSeedPeerRequest) GetIdc() string
func (*UpdateSeedPeerRequest) GetIp ¶
func (x *UpdateSeedPeerRequest) GetIp() string
func (*UpdateSeedPeerRequest) GetLocation ¶
func (x *UpdateSeedPeerRequest) GetLocation() string
func (*UpdateSeedPeerRequest) GetObjectStoragePort ¶
func (x *UpdateSeedPeerRequest) GetObjectStoragePort() int32
func (*UpdateSeedPeerRequest) GetPort ¶
func (x *UpdateSeedPeerRequest) GetPort() int32
func (*UpdateSeedPeerRequest) GetSeedPeerClusterId ¶
func (x *UpdateSeedPeerRequest) GetSeedPeerClusterId() uint64
func (*UpdateSeedPeerRequest) GetSourceType ¶
func (x *UpdateSeedPeerRequest) GetSourceType() SourceType
func (*UpdateSeedPeerRequest) GetType ¶
func (x *UpdateSeedPeerRequest) GetType() string
func (*UpdateSeedPeerRequest) ProtoMessage ¶
func (*UpdateSeedPeerRequest) ProtoMessage()
func (*UpdateSeedPeerRequest) ProtoReflect ¶
func (x *UpdateSeedPeerRequest) ProtoReflect() protoreflect.Message
func (*UpdateSeedPeerRequest) Reset ¶
func (x *UpdateSeedPeerRequest) Reset()
func (*UpdateSeedPeerRequest) String ¶
func (x *UpdateSeedPeerRequest) String() string
func (*UpdateSeedPeerRequest) Validate ¶
func (m *UpdateSeedPeerRequest) Validate() error
Validate checks the field values on UpdateSeedPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateSeedPeerRequest) ValidateAll ¶
func (m *UpdateSeedPeerRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSeedPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSeedPeerRequestMultiError, or nil if none found.
type UpdateSeedPeerRequestMultiError ¶
type UpdateSeedPeerRequestMultiError []error
UpdateSeedPeerRequestMultiError is an error wrapping multiple validation errors returned by UpdateSeedPeerRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSeedPeerRequestMultiError) AllErrors ¶
func (m UpdateSeedPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSeedPeerRequestMultiError) Error ¶
func (m UpdateSeedPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSeedPeerRequestValidationError ¶
type UpdateSeedPeerRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSeedPeerRequestValidationError is the validation error returned by UpdateSeedPeerRequest.Validate if the designated constraints aren't met.
func (UpdateSeedPeerRequestValidationError) Cause ¶
func (e UpdateSeedPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSeedPeerRequestValidationError) Error ¶
func (e UpdateSeedPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSeedPeerRequestValidationError) ErrorName ¶
func (e UpdateSeedPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSeedPeerRequestValidationError) Field ¶
func (e UpdateSeedPeerRequestValidationError) Field() string
Field function returns field value.
func (UpdateSeedPeerRequestValidationError) Key ¶
func (e UpdateSeedPeerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSeedPeerRequestValidationError) Reason ¶
func (e UpdateSeedPeerRequestValidationError) Reason() string
Reason function returns reason value.