Documentation ¶
Index ¶
- func PromptCommandLine(message, prompt string) (string, error)
- type Prompt
- func (*Prompt) Descriptor() ([]byte, []int)
- func (m *Prompt) GetMessage() string
- func (m *Prompt) GetPrompt() string
- func (*Prompt) ProtoMessage()
- func (m *Prompt) Reset()
- func (m *Prompt) String() string
- func (m *Prompt) XXX_DiscardUnknown()
- func (m *Prompt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Prompt) XXX_Merge(src proto.Message)
- func (m *Prompt) XXX_Size() int
- func (m *Prompt) XXX_Unmarshal(b []byte) error
- type PromptKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptCommandLine ¶
Types ¶
type Prompt ¶
type Prompt struct { Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` Prompt string `protobuf:"bytes,2,opt,name=prompt" json:"prompt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Prompt) Descriptor ¶
func (*Prompt) GetMessage ¶
func (*Prompt) ProtoMessage ¶
func (*Prompt) ProtoMessage()
func (*Prompt) XXX_DiscardUnknown ¶
func (m *Prompt) XXX_DiscardUnknown()
func (*Prompt) XXX_Marshal ¶
func (*Prompt) XXX_Unmarshal ¶
type PromptKind ¶
type PromptKind uint8
const ( PromptKindSecret PromptKind = iota PromptKindEcho PromptKindBinary )
func Classify ¶
func Classify(prompt string) PromptKind
Click to show internal directories.
Click to hide internal directories.