Documentation ¶
Index ¶
- func NewSshCopyInstruction(s *ssh.Client) func(string, string) (Instruction, error)
- func NewSshRunInstruction(s *ssh.Client) func(string) (Instruction, error)
- func ValidateCopy(line string) (string, string, error)
- type BlockType
- type Instruction
- type LocalCopyInstruction
- type LocalRunInstruction
- type N0deploy
- type Parser
- type SshCopyInstruction
- type SshRunInstruction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSshCopyInstruction ¶
func NewSshRunInstruction ¶
func NewSshRunInstruction(s *ssh.Client) func(string) (Instruction, error)
Types ¶
type Instruction ¶
func NewLocalCopyInstruction ¶
func NewLocalCopyInstruction(src, dst string) (Instruction, error)
func NewLocalRunInstruction ¶
func NewLocalRunInstruction(line string) (Instruction, error)
type LocalCopyInstruction ¶
type LocalCopyInstruction struct {
// contains filtered or unexported fields
}
func (LocalCopyInstruction) String ¶
func (i LocalCopyInstruction) String() string
type LocalRunInstruction ¶
type LocalRunInstruction struct {
// contains filtered or unexported fields
}
func (LocalRunInstruction) String ¶
func (i LocalRunInstruction) String() string
type N0deploy ¶
type N0deploy struct { Bootstrap []Instruction Deploy []Instruction }
type Parser ¶
type Parser struct { NewRunInstruction func(command string) (Instruction, error) NewCopyInstruction func(src, dst string) (Instruction, error) }
func NewLocalParser ¶
func NewLocalParser() *Parser
func NewSshParser ¶
type SshCopyInstruction ¶
type SshCopyInstruction struct {
// contains filtered or unexported fields
}
func (SshCopyInstruction) String ¶
func (i SshCopyInstruction) String() string
type SshRunInstruction ¶
type SshRunInstruction struct {
// contains filtered or unexported fields
}
func (SshRunInstruction) String ¶
func (i SshRunInstruction) String() string
Click to show internal directories.
Click to hide internal directories.