Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetPassword() string
- func (m *Config) GetPort() int32
- func (m *Config) GetReadDeadLine() *duration.Duration
- func (m *Config) GetRegexPrompt() string
- func (m *Config) GetScreenLength() string
- func (m *Config) GetScreenLengthCommand() string
- func (m *Config) GetSshKeyPath() string
- func (m *Config) GetTimeout() *duration.Duration
- func (m *Config) GetTtl() *duration.Duration
- func (m *Config) GetType() string
- func (m *Config) GetUser() string
- func (m *Config) GetWriteDeadLine() *duration.Duration
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetCommand() string
- func (m *Payload) GetConfigure() string
- func (m *Payload) GetLookfor() string
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) String() string
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type Task
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) GetConfig() *Config
- func (m *Task) GetHost() string
- func (m *Task) GetPayload() []*Payload
- func (m *Task) GetType() Type
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) String() string
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Type_name = map[int32]string{
0: "GET",
1: "SET",
}
View Source
var Type_value = map[string]int32{
"GET": 0,
"SET": 1,
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
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) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Payload) Descriptor ¶
func (*Payload) GetCommand ¶
func (*Payload) GetConfigure ¶
func (*Payload) GetLookfor ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type Task ¶
type Task struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=dnc.telnet.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Task) Descriptor ¶
func (*Task) GetPayload ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.