Documentation ¶
Index ¶
- Variables
- func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
- type Bucket
- type BucketValidationError
- 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
- 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) 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
- 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) 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
- 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) 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
- 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 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
- 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
- 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 ListSchedulersRequest
- func (*ListSchedulersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSchedulersRequest) GetHostInfo() map[string]string
- func (x *ListSchedulersRequest) GetHostName() string
- func (x *ListSchedulersRequest) GetIp() string
- func (x *ListSchedulersRequest) GetSourceType() SourceType
- func (*ListSchedulersRequest) ProtoMessage()
- func (x *ListSchedulersRequest) ProtoReflect() protoreflect.Message
- func (x *ListSchedulersRequest) Reset()
- func (x *ListSchedulersRequest) String() string
- func (m *ListSchedulersRequest) Validate() error
- 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
- 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 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) 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
- 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) GetNetConfig() []byte
- func (x *Scheduler) GetNetTopology() 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
- 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
- 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 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
- 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) GetNetTopology() 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
- 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 (x *SeedPeerCluster) GetScopes() []byte
- func (x *SeedPeerCluster) GetSecurityGroup() *SecurityGroup
- func (*SeedPeerCluster) ProtoMessage()
- func (x *SeedPeerCluster) ProtoReflect() protoreflect.Message
- func (x *SeedPeerCluster) Reset()
- func (x *SeedPeerCluster) String() string
- func (m *SeedPeerCluster) Validate() error
- 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 SeedPeerValidationError
- type SourceType
- type UnimplementedManagerServer
- 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) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
- func (*UnimplementedManagerServer) ListSchedulers(context.Context, *ListSchedulersRequest) (*ListSchedulersResponse, error)
- func (*UnimplementedManagerServer) UpdateScheduler(context.Context, *UpdateSchedulerRequest) (*Scheduler, error)
- func (*UnimplementedManagerServer) UpdateSeedPeer(context.Context, *UpdateSeedPeerRequest) (*SeedPeer, error)
- 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) GetNetTopology() string
- 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
- 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) GetNetTopology() 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
- 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_rpc_manager_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterManagerServer ¶
func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
Types ¶
type Bucket ¶ added in v2.0.4
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
added in
v2.0.4
func (*Bucket) ProtoMessage ¶ added in v2.0.4
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶ added in v2.0.4
func (x *Bucket) ProtoReflect() protoreflect.Message
type BucketValidationError ¶ added in v2.0.4
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 ¶ added in v2.0.4
func (e BucketValidationError) Cause() error
Cause function returns cause value.
func (BucketValidationError) Error ¶ added in v2.0.4
func (e BucketValidationError) Error() string
Error satisfies the builtin error interface
func (BucketValidationError) ErrorName ¶ added in v2.0.4
func (e BucketValidationError) ErrorName() string
ErrorName returns error name.
func (BucketValidationError) Field ¶ added in v2.0.4
func (e BucketValidationError) Field() string
Field function returns field value.
func (BucketValidationError) Key ¶ added in v2.0.4
func (e BucketValidationError) Key() bool
Key function returns key value.
func (BucketValidationError) Reason ¶ added in v2.0.4
func (e BucketValidationError) Reason() string
Reason function returns reason value.
type GetObjectStorageRequest ¶ added in v2.0.4
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
added in
v2.0.4
func (*GetObjectStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectStorageRequest.ProtoReflect.Descriptor instead.
func (*GetObjectStorageRequest) GetHostName ¶ added in v2.0.4
func (x *GetObjectStorageRequest) GetHostName() string
func (*GetObjectStorageRequest) GetIp ¶ added in v2.0.4
func (x *GetObjectStorageRequest) GetIp() string
func (*GetObjectStorageRequest) GetSourceType ¶ added in v2.0.4
func (x *GetObjectStorageRequest) GetSourceType() SourceType
func (*GetObjectStorageRequest) ProtoMessage ¶ added in v2.0.4
func (*GetObjectStorageRequest) ProtoMessage()
func (*GetObjectStorageRequest) ProtoReflect ¶ added in v2.0.4
func (x *GetObjectStorageRequest) ProtoReflect() protoreflect.Message
func (*GetObjectStorageRequest) Reset ¶ added in v2.0.4
func (x *GetObjectStorageRequest) Reset()
func (*GetObjectStorageRequest) String ¶ added in v2.0.4
func (x *GetObjectStorageRequest) String() string
func (*GetObjectStorageRequest) Validate ¶ added in v2.0.4
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, an error is returned.
type GetObjectStorageRequestValidationError ¶ added in v2.0.4
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 ¶ added in v2.0.4
func (e GetObjectStorageRequestValidationError) Cause() error
Cause function returns cause value.
func (GetObjectStorageRequestValidationError) Error ¶ added in v2.0.4
func (e GetObjectStorageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetObjectStorageRequestValidationError) ErrorName ¶ added in v2.0.4
func (e GetObjectStorageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetObjectStorageRequestValidationError) Field ¶ added in v2.0.4
func (e GetObjectStorageRequestValidationError) Field() string
Field function returns field value.
func (GetObjectStorageRequestValidationError) Key ¶ added in v2.0.4
func (e GetObjectStorageRequestValidationError) Key() bool
Key function returns key value.
func (GetObjectStorageRequestValidationError) Reason ¶ added in v2.0.4
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"` // 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) 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, an error is returned.
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 ¶ added in v2.0.3
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 host_name. 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"` // contains filtered or unexported fields }
GetSeedPeerRequest represents request of GetSeedPeer.
func (*GetSeedPeerRequest) Descriptor
deprecated
added in
v2.0.3
func (*GetSeedPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSeedPeerRequest.ProtoReflect.Descriptor instead.
func (*GetSeedPeerRequest) GetHostName ¶ added in v2.0.3
func (x *GetSeedPeerRequest) GetHostName() string
func (*GetSeedPeerRequest) GetSeedPeerClusterId ¶ added in v2.0.3
func (x *GetSeedPeerRequest) GetSeedPeerClusterId() uint64
func (*GetSeedPeerRequest) GetSourceType ¶ added in v2.0.3
func (x *GetSeedPeerRequest) GetSourceType() SourceType
func (*GetSeedPeerRequest) ProtoMessage ¶ added in v2.0.3
func (*GetSeedPeerRequest) ProtoMessage()
func (*GetSeedPeerRequest) ProtoReflect ¶ added in v2.0.3
func (x *GetSeedPeerRequest) ProtoReflect() protoreflect.Message
func (*GetSeedPeerRequest) Reset ¶ added in v2.0.3
func (x *GetSeedPeerRequest) Reset()
func (*GetSeedPeerRequest) String ¶ added in v2.0.3
func (x *GetSeedPeerRequest) String() string
func (*GetSeedPeerRequest) Validate ¶ added in v2.0.3
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, an error is returned.
type GetSeedPeerRequestValidationError ¶ added in v2.0.3
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 ¶ added in v2.0.3
func (e GetSeedPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSeedPeerRequestValidationError) Error ¶ added in v2.0.3
func (e GetSeedPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSeedPeerRequestValidationError) ErrorName ¶ added in v2.0.3
func (e GetSeedPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSeedPeerRequestValidationError) Field ¶ added in v2.0.3
func (e GetSeedPeerRequestValidationError) Field() string
Field function returns field value.
func (GetSeedPeerRequestValidationError) Key ¶ added in v2.0.3
func (e GetSeedPeerRequestValidationError) Key() bool
Key function returns key value.
func (GetSeedPeerRequestValidationError) Reason ¶ added in v2.0.3
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"` // 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) 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, an error is returned.
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 ListBucketsRequest ¶ added in v2.0.4
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
added in
v2.0.4
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) GetHostName ¶ added in v2.0.4
func (x *ListBucketsRequest) GetHostName() string
func (*ListBucketsRequest) GetIp ¶ added in v2.0.4
func (x *ListBucketsRequest) GetIp() string
func (*ListBucketsRequest) GetSourceType ¶ added in v2.0.4
func (x *ListBucketsRequest) GetSourceType() SourceType
func (*ListBucketsRequest) ProtoMessage ¶ added in v2.0.4
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) ProtoReflect ¶ added in v2.0.4
func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
func (*ListBucketsRequest) Reset ¶ added in v2.0.4
func (x *ListBucketsRequest) Reset()
func (*ListBucketsRequest) String ¶ added in v2.0.4
func (x *ListBucketsRequest) String() string
func (*ListBucketsRequest) Validate ¶ added in v2.0.4
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, an error is returned.
type ListBucketsRequestValidationError ¶ added in v2.0.4
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 ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBucketsRequestValidationError) Error ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBucketsRequestValidationError) ErrorName ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBucketsRequestValidationError) Field ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) Field() string
Field function returns field value.
func (ListBucketsRequestValidationError) Key ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) Key() bool
Key function returns key value.
func (ListBucketsRequestValidationError) Reason ¶ added in v2.0.4
func (e ListBucketsRequestValidationError) Reason() string
Reason function returns reason value.
type ListBucketsResponse ¶ added in v2.0.4
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
added in
v2.0.4
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) GetBuckets ¶ added in v2.0.4
func (x *ListBucketsResponse) GetBuckets() []*Bucket
func (*ListBucketsResponse) ProtoMessage ¶ added in v2.0.4
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) ProtoReflect ¶ added in v2.0.4
func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
func (*ListBucketsResponse) Reset ¶ added in v2.0.4
func (x *ListBucketsResponse) Reset()
func (*ListBucketsResponse) String ¶ added in v2.0.4
func (x *ListBucketsResponse) String() string
func (*ListBucketsResponse) Validate ¶ added in v2.0.4
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, an error is returned.
type ListBucketsResponseValidationError ¶ added in v2.0.4
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 ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBucketsResponseValidationError) Error ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBucketsResponseValidationError) ErrorName ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBucketsResponseValidationError) Field ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) Field() string
Field function returns field value.
func (ListBucketsResponseValidationError) Key ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) Key() bool
Key function returns key value.
func (ListBucketsResponseValidationError) Reason ¶ added in v2.0.4
func (e ListBucketsResponseValidationError) 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 infomation. HostInfo map[string]string `` /* 173-byte string literal not displayed */ // 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) 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) 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, an error is returned.
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, an error is returned.
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) // 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://godoc.org/google.golang.org/grpc#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) // KeepAlive with manager. KeepAlive(Manager_KeepAliveServer) error }
ManagerServer is the server API for Manager service.
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 ObjectStorage ¶ added in v2.0.4
type ObjectStorage struct { // Object storage name of type. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Storage region. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Datacenter endpoint. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Access key id. AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // Access key secret. SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // contains filtered or unexported fields }
ObjectStorage represents config of object storage.
func (*ObjectStorage) Descriptor
deprecated
added in
v2.0.4
func (*ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use ObjectStorage.ProtoReflect.Descriptor instead.
func (*ObjectStorage) GetAccessKey ¶ added in v2.0.4
func (x *ObjectStorage) GetAccessKey() string
func (*ObjectStorage) GetEndpoint ¶ added in v2.0.4
func (x *ObjectStorage) GetEndpoint() string
func (*ObjectStorage) GetName ¶ added in v2.0.4
func (x *ObjectStorage) GetName() string
func (*ObjectStorage) GetRegion ¶ added in v2.0.4
func (x *ObjectStorage) GetRegion() string
func (*ObjectStorage) GetSecretKey ¶ added in v2.0.4
func (x *ObjectStorage) GetSecretKey() string
func (*ObjectStorage) ProtoMessage ¶ added in v2.0.4
func (*ObjectStorage) ProtoMessage()
func (*ObjectStorage) ProtoReflect ¶ added in v2.0.4
func (x *ObjectStorage) ProtoReflect() protoreflect.Message
func (*ObjectStorage) Reset ¶ added in v2.0.4
func (x *ObjectStorage) Reset()
func (*ObjectStorage) String ¶ added in v2.0.4
func (x *ObjectStorage) String() string
func (*ObjectStorage) Validate ¶ added in v2.0.4
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, an error is returned.
type ObjectStorageValidationError ¶ added in v2.0.4
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 ¶ added in v2.0.4
func (e ObjectStorageValidationError) Cause() error
Cause function returns cause value.
func (ObjectStorageValidationError) Error ¶ added in v2.0.4
func (e ObjectStorageValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectStorageValidationError) ErrorName ¶ added in v2.0.4
func (e ObjectStorageValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectStorageValidationError) Field ¶ added in v2.0.4
func (e ObjectStorageValidationError) Field() string
Field function returns field value.
func (ObjectStorageValidationError) Key ¶ added in v2.0.4
func (e ObjectStorageValidationError) Key() bool
Key function returns key value.
func (ObjectStorageValidationError) Reason ¶ added in v2.0.4
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"` // Deprecated: Use net_topology instead. NetConfig []byte `protobuf:"bytes,6,opt,name=net_config,json=netConfig,proto3" json:"net_config,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"` // Scheduler network topology. NetTopology string `protobuf:"bytes,14,opt,name=net_topology,json=netTopology,proto3" json:"net_topology,omitempty"` // contains filtered or unexported fields }
SeedPeerCluster represents scheduler for network.
func (*Scheduler) Descriptor
deprecated
func (*Scheduler) GetHostName ¶
func (*Scheduler) GetLocation ¶
func (*Scheduler) GetNetConfig ¶
func (*Scheduler) GetNetTopology ¶ added in v2.0.3
func (*Scheduler) GetSchedulerCluster ¶
func (x *Scheduler) GetSchedulerCluster() *SchedulerCluster
func (*Scheduler) GetSchedulerClusterId ¶
func (*Scheduler) GetSeedPeers ¶ added in v2.0.3
func (*Scheduler) ProtoMessage ¶
func (*Scheduler) ProtoMessage()
func (*Scheduler) ProtoReflect ¶
func (x *Scheduler) ProtoReflect() protoreflect.Message
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 ¶ added in v2.0.3
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, an error is returned.
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 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, an error is returned.
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 ¶ added in v2.0.3
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 network topology. NetTopology string `protobuf:"bytes,6,opt,name=net_topology,json=netTopology,proto3" json:"net_topology,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
added in
v2.0.3
func (*SeedPeer) GetDownloadPort ¶ added in v2.0.3
func (*SeedPeer) GetHostName ¶ added in v2.0.3
func (*SeedPeer) GetLocation ¶ added in v2.0.3
func (*SeedPeer) GetNetTopology ¶ added in v2.0.3
func (*SeedPeer) GetObjectStoragePort ¶ added in v2.0.4
func (*SeedPeer) GetSchedulers ¶ added in v2.0.3
func (*SeedPeer) GetSeedPeerCluster ¶ added in v2.0.3
func (x *SeedPeer) GetSeedPeerCluster() *SeedPeerCluster
func (*SeedPeer) GetSeedPeerClusterId ¶ added in v2.0.3
func (*SeedPeer) ProtoMessage ¶ added in v2.0.3
func (*SeedPeer) ProtoMessage()
func (*SeedPeer) ProtoReflect ¶ added in v2.0.3
func (x *SeedPeer) ProtoReflect() protoreflect.Message
type SeedPeerCluster ¶ added in v2.0.3
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"` // Cluster scopes. Scopes []byte `protobuf:"bytes,5,opt,name=scopes,proto3" json:"scopes,omitempty"` // Security group to which the seed peer cluster belongs. SecurityGroup *SecurityGroup `protobuf:"bytes,6,opt,name=security_group,json=securityGroup,proto3" json:"security_group,omitempty"` // contains filtered or unexported fields }
SeedPeerCluster represents cluster of seed peer.
func (*SeedPeerCluster) Descriptor
deprecated
added in
v2.0.3
func (*SeedPeerCluster) Descriptor() ([]byte, []int)
Deprecated: Use SeedPeerCluster.ProtoReflect.Descriptor instead.
func (*SeedPeerCluster) GetBio ¶ added in v2.0.3
func (x *SeedPeerCluster) GetBio() string
func (*SeedPeerCluster) GetConfig ¶ added in v2.0.3
func (x *SeedPeerCluster) GetConfig() []byte
func (*SeedPeerCluster) GetId ¶ added in v2.0.3
func (x *SeedPeerCluster) GetId() uint64
func (*SeedPeerCluster) GetName ¶ added in v2.0.3
func (x *SeedPeerCluster) GetName() string
func (*SeedPeerCluster) GetScopes ¶ added in v2.0.3
func (x *SeedPeerCluster) GetScopes() []byte
func (*SeedPeerCluster) GetSecurityGroup ¶ added in v2.0.3
func (x *SeedPeerCluster) GetSecurityGroup() *SecurityGroup
func (*SeedPeerCluster) ProtoMessage ¶ added in v2.0.3
func (*SeedPeerCluster) ProtoMessage()
func (*SeedPeerCluster) ProtoReflect ¶ added in v2.0.3
func (x *SeedPeerCluster) ProtoReflect() protoreflect.Message
func (*SeedPeerCluster) Reset ¶ added in v2.0.3
func (x *SeedPeerCluster) Reset()
func (*SeedPeerCluster) String ¶ added in v2.0.3
func (x *SeedPeerCluster) String() string
func (*SeedPeerCluster) Validate ¶ added in v2.0.3
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, an error is returned.
type SeedPeerClusterValidationError ¶ added in v2.0.3
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 ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) Cause() error
Cause function returns cause value.
func (SeedPeerClusterValidationError) Error ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) Error() string
Error satisfies the builtin error interface
func (SeedPeerClusterValidationError) ErrorName ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) ErrorName() string
ErrorName returns error name.
func (SeedPeerClusterValidationError) Field ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) Field() string
Field function returns field value.
func (SeedPeerClusterValidationError) Key ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) Key() bool
Key function returns key value.
func (SeedPeerClusterValidationError) Reason ¶ added in v2.0.3
func (e SeedPeerClusterValidationError) Reason() string
Reason function returns reason value.
type SeedPeerValidationError ¶ added in v2.0.3
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 ¶ added in v2.0.3
func (e SeedPeerValidationError) Cause() error
Cause function returns cause value.
func (SeedPeerValidationError) Error ¶ added in v2.0.3
func (e SeedPeerValidationError) Error() string
Error satisfies the builtin error interface
func (SeedPeerValidationError) ErrorName ¶ added in v2.0.3
func (e SeedPeerValidationError) ErrorName() string
ErrorName returns error name.
func (SeedPeerValidationError) Field ¶ added in v2.0.3
func (e SeedPeerValidationError) Field() string
Field function returns field value.
func (SeedPeerValidationError) Key ¶ added in v2.0.3
func (e SeedPeerValidationError) Key() bool
Key function returns key value.
func (SeedPeerValidationError) Reason ¶ added in v2.0.3
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 UnimplementedManagerServer ¶
type UnimplementedManagerServer struct { }
UnimplementedManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedManagerServer) GetObjectStorage ¶ added in v2.0.4
func (*UnimplementedManagerServer) GetObjectStorage(context.Context, *GetObjectStorageRequest) (*ObjectStorage, error)
func (*UnimplementedManagerServer) GetScheduler ¶
func (*UnimplementedManagerServer) GetScheduler(context.Context, *GetSchedulerRequest) (*Scheduler, error)
func (*UnimplementedManagerServer) GetSeedPeer ¶ added in v2.0.3
func (*UnimplementedManagerServer) GetSeedPeer(context.Context, *GetSeedPeerRequest) (*SeedPeer, error)
func (*UnimplementedManagerServer) KeepAlive ¶
func (*UnimplementedManagerServer) KeepAlive(Manager_KeepAliveServer) error
func (*UnimplementedManagerServer) ListBuckets ¶ added in v2.0.4
func (*UnimplementedManagerServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
func (*UnimplementedManagerServer) ListSchedulers ¶
func (*UnimplementedManagerServer) ListSchedulers(context.Context, *ListSchedulersRequest) (*ListSchedulersResponse, error)
func (*UnimplementedManagerServer) UpdateScheduler ¶
func (*UnimplementedManagerServer) UpdateScheduler(context.Context, *UpdateSchedulerRequest) (*Scheduler, error)
func (*UnimplementedManagerServer) UpdateSeedPeer ¶ added in v2.0.3
func (*UnimplementedManagerServer) UpdateSeedPeer(context.Context, *UpdateSeedPeerRequest) (*SeedPeer, error)
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: Use net_topology instead. 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"` // Scheduler network topology. NetTopology string `protobuf:"bytes,10,opt,name=net_topology,json=netTopology,proto3" json:"net_topology,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) GetNetTopology ¶ added in v2.0.3
func (x *UpdateSchedulerRequest) GetNetTopology() string
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, an error is returned.
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 ¶ added in v2.0.3
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 network topology. NetTopology string `protobuf:"bytes,6,opt,name=net_topology,json=netTopology,proto3" json:"net_topology,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
added in
v2.0.3
func (*UpdateSeedPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSeedPeerRequest.ProtoReflect.Descriptor instead.
func (*UpdateSeedPeerRequest) GetDownloadPort ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetDownloadPort() int32
func (*UpdateSeedPeerRequest) GetHostName ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetHostName() string
func (*UpdateSeedPeerRequest) GetIdc ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetIdc() string
func (*UpdateSeedPeerRequest) GetIp ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetIp() string
func (*UpdateSeedPeerRequest) GetLocation ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetLocation() string
func (*UpdateSeedPeerRequest) GetNetTopology ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetNetTopology() string
func (*UpdateSeedPeerRequest) GetObjectStoragePort ¶ added in v2.0.4
func (x *UpdateSeedPeerRequest) GetObjectStoragePort() int32
func (*UpdateSeedPeerRequest) GetPort ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetPort() int32
func (*UpdateSeedPeerRequest) GetSeedPeerClusterId ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetSeedPeerClusterId() uint64
func (*UpdateSeedPeerRequest) GetSourceType ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetSourceType() SourceType
func (*UpdateSeedPeerRequest) GetType ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) GetType() string
func (*UpdateSeedPeerRequest) ProtoMessage ¶ added in v2.0.3
func (*UpdateSeedPeerRequest) ProtoMessage()
func (*UpdateSeedPeerRequest) ProtoReflect ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) ProtoReflect() protoreflect.Message
func (*UpdateSeedPeerRequest) Reset ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) Reset()
func (*UpdateSeedPeerRequest) String ¶ added in v2.0.3
func (x *UpdateSeedPeerRequest) String() string
func (*UpdateSeedPeerRequest) Validate ¶ added in v2.0.3
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, an error is returned.
type UpdateSeedPeerRequestValidationError ¶ added in v2.0.3
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 ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSeedPeerRequestValidationError) Error ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSeedPeerRequestValidationError) ErrorName ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSeedPeerRequestValidationError) Field ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) Field() string
Field function returns field value.
func (UpdateSeedPeerRequestValidationError) Key ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSeedPeerRequestValidationError) Reason ¶ added in v2.0.3
func (e UpdateSeedPeerRequestValidationError) Reason() string
Reason function returns reason value.