Documentation ¶
Index ¶
- Variables
- type JobConfig
- func (*JobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *JobConfig) GetAccessToken() string
- func (x *JobConfig) GetEnabled() bool
- func (x *JobConfig) GetExecutorIp() string
- func (x *JobConfig) GetExecutorPort() int32
- func (x *JobConfig) GetRegistryKey() string
- func (x *JobConfig) GetServerAddr() string
- func (x *JobConfig) GetTimeout() *durationpb.Duration
- func (*JobConfig) ProtoMessage()
- func (x *JobConfig) ProtoReflect() protoreflect.Message
- func (x *JobConfig) Reset()
- func (x *JobConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_job_job_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type JobConfig ¶
type JobConfig struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // 执行器调度开关(是否允许调度执行) ServerAddr string `protobuf:"bytes,2,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"` AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` ExecutorIp *string `protobuf:"bytes,5,opt,name=executor_ip,json=executorIp,proto3,oneof" json:"executor_ip,omitempty"` ExecutorPort *int32 `protobuf:"varint,6,opt,name=executor_port,json=executorPort,proto3,oneof" json:"executor_port,omitempty"` RegistryKey *string `protobuf:"bytes,7,opt,name=registry_key,json=registryKey,proto3,oneof" json:"registry_key,omitempty"` // contains filtered or unexported fields }
func (*JobConfig) Descriptor
deprecated
func (*JobConfig) GetAccessToken ¶
func (*JobConfig) GetEnabled ¶
func (*JobConfig) GetExecutorIp ¶
func (*JobConfig) GetExecutorPort ¶
func (*JobConfig) GetRegistryKey ¶
func (*JobConfig) GetServerAddr ¶
func (*JobConfig) GetTimeout ¶
func (x *JobConfig) GetTimeout() *durationpb.Duration
func (*JobConfig) ProtoMessage ¶
func (*JobConfig) ProtoMessage()
func (*JobConfig) ProtoReflect ¶
func (x *JobConfig) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.