Documentation ¶
Index ¶
- Constants
- func DoConnect(src, dst *Puppet) error
- func DoCreateHistoryStream(p *Puppet, who string, n int, live bool) (string, error)
- func DoDisconnect(src, dst *Puppet) error
- func DoFollow(srcPuppet, dstPuppet *Puppet, isFollow bool) error
- func DoHast(src, dst *Puppet, seqno string) (string, error)
- func DoIsFollowing(srcPuppet, dstPuppet *Puppet) error
- func DoIsNotFollowing(srcPuppet, dstPuppet *Puppet) error
- func DoLog(p *Puppet, n int) (string, error)
- func DoPost(p *Puppet) error
- func DoPublish(p *Puppet, post map[string]interface{}) error
- func DoWaitUntil(src, dst *Puppet, seqno string) (string, error)
- func DoWhoami(p *Puppet) (string, error)
- func Run(args Args, sbots []string)
- type Args
- type FixturesFeedInfo
- type Instruction
- type Latest
- type Process
- type Puppet
- type Simulator
- type Sleeper
- type TestError
- type Timer
- type Whoami
Constants ¶
View Source
const DefaultShsCaps = "1KHLiKZvAvjbY1ziZEHMXawbCEIM6qwjCDm3VYRan/s="
Variables ¶
This section is empty.
Functions ¶
func DoCreateHistoryStream ¶
func DoDisconnect ¶
func DoIsFollowing ¶
func DoIsNotFollowing ¶
Types ¶
type Args ¶
type Args struct { Caps string // global caps setting Hops int // global hops setting FixturesDir string // directory containing the spliced ssb-fixtures Testfile string // path to file containing sim statements Outdir string // directory where puppet logs & files will be dumped BasePort int // starting port used for instantiating the ports used by puppets Verbose bool // produce more output when running (echoes puppet output in realtime, in addition to TAP assertions) }
type FixturesFeedInfo ¶
type Instruction ¶
type Instruction struct {
// contains filtered or unexported fields
}
func (Instruction) Print ¶
func (instr Instruction) Print()
func (Instruction) TestAbort ¶
func (instr Instruction) TestAbort(err error)
func (Instruction) TestFailure ¶
func (instr Instruction) TestFailure(err error)
func (Instruction) TestSuccess ¶
func (instr Instruction) TestSuccess()
Click to show internal directories.
Click to hide internal directories.