Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetPassword() string
- func (x *Config) GetPort() int32
- func (x *Config) GetReadDeadLine() *duration.Duration
- func (x *Config) GetRegexPrompt() string
- func (x *Config) GetScreenLength() string
- func (x *Config) GetScreenLengthCommand() string
- func (x *Config) GetSshKeyPath() string
- func (x *Config) GetTimeout() *duration.Duration
- func (x *Config) GetTtl() *duration.Duration
- func (x *Config) GetType() string
- func (x *Config) GetUser() string
- func (x *Config) GetWriteDeadLine() *duration.Duration
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (x *Payload) GetCommand() string
- func (x *Payload) GetConfigure() string
- func (x *Payload) GetLookfor() string
- func (*Payload) ProtoMessage()
- func (x *Payload) ProtoReflect() protoreflect.Message
- func (x *Payload) Reset()
- func (x *Payload) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetConfig() *Config
- func (x *Task) GetHost() string
- func (x *Task) GetPayload() []*Payload
- func (x *Task) GetType() Type
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "GET", 1: "SET", } Type_value = map[string]int32{ "GET": 0, "SET": 1, } )
Enum value maps for Type.
View Source
var File_git_liero_se_opentelco_go_dnc_proto_ssh_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` ScreenLength string `protobuf:"bytes,4,opt,name=screen_length,json=screenLength,proto3" json:"screen_length,omitempty"` RegexPrompt string `protobuf:"bytes,5,opt,name=regex_prompt,json=regexPrompt,proto3" json:"regex_prompt,omitempty"` ScreenLengthCommand string `protobuf:"bytes,6,opt,name=screen_length_command,json=screenLengthCommand,proto3" json:"screen_length_command,omitempty"` Ttl *duration.Duration `protobuf:"bytes,7,opt,name=ttl,proto3" json:"ttl,omitempty"` ReadDeadLine *duration.Duration `protobuf:"bytes,8,opt,name=read_dead_line,json=readDeadLine,proto3" json:"read_dead_line,omitempty"` WriteDeadLine *duration.Duration `protobuf:"bytes,9,opt,name=write_dead_line,json=writeDeadLine,proto3" json:"write_dead_line,omitempty"` Timeout *duration.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"` Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` SshKeyPath string `protobuf:"bytes,12,opt,name=ssh_key_path,json=sshKeyPath,proto3" json:"ssh_key_path,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetPassword ¶
func (*Config) GetReadDeadLine ¶
func (*Config) GetRegexPrompt ¶
func (*Config) GetScreenLength ¶
func (*Config) GetScreenLengthCommand ¶
func (*Config) GetSshKeyPath ¶
func (*Config) GetTimeout ¶
func (*Config) GetWriteDeadLine ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Payload ¶
type Payload struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Configure string `protobuf:"bytes,2,opt,name=configure,proto3" json:"configure,omitempty"` Lookfor string `protobuf:"bytes,3,opt,name=lookfor,proto3" json:"lookfor,omitempty"` // contains filtered or unexported fields }
func (*Payload) Descriptor
deprecated
func (*Payload) GetCommand ¶
func (*Payload) GetConfigure ¶
func (*Payload) GetLookfor ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
type Task ¶
type Task struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=dnc.ssh.Type" json:"type,omitempty"` Payload []*Payload `protobuf:"bytes,2,rep,name=payload,proto3" json:"payload,omitempty"` // speicfic config for command Config *Config `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetPayload ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.