Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpdateCallback ¶ added in v0.5.1
func GetUpdateCallback() func()
GetUpdateCallback returns a callback function that updates chaos
func RunEnumeration ¶
func RunEnumeration(opts *Options)
RunEnumeration runs the enumeration for Chaos client
Types ¶
type DNSRecordType ¶ added in v0.1.5
type DNSRecordType int
const ( A DNSRecordType = iota AAAA CNAME NS ANYRECORDTYPE )
type DNSStatusCode ¶ added in v0.1.5
type DNSStatusCode int
const ( NOERROR DNSStatusCode = iota NXDOMAIN SERVFAIL REFUSED ANYDNSCODE )
type Filter ¶ added in v0.1.5
type Filter struct { DNSStatusCode DNSStatusCode DNSRecordType DNSRecordType FilterWildcard bool Response bool ResponseOnly bool HTTPUrl bool HTTPTitle bool HTTPStatusCode bool HTTPStatusCodeValue int HTTPContentLength bool }
type Options ¶
type Options struct { APIKey string Domain string Count bool Silent bool Output string DomainsFile string JSONOutput bool DNSStatusCode string DNSRecordType string FilterWildcard bool Response bool ResponseOnly bool HTTPUrl bool HTTPTitle bool HTTPStatusCode bool HTTPStatusCodeFilter int HTTPContentLength bool BBQ bool Version bool Verbose bool DisableUpdateCheck bool OnResult func(result interface{}) // contains filtered or unexported fields }
Options contains configuration options for chaos client.
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line options for application
Click to show internal directories.
Click to hide internal directories.