Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDirective ¶
type MockDirective struct { ValidateErr error ValueOpts directive.ValueOptions }
MockDirective is a mock directive.
func (*MockDirective) GetDebugVals ¶
func (m *MockDirective) GetDebugVals() directive.DebugValues
GetDebugVals returns the directive arguments as key/value pairs. This should be something like param1="test", param2="test". This is not necessarily unique, and is primarily intended for display.
func (*MockDirective) GetName ¶
func (m *MockDirective) GetName() string
GetName returns the directive name.
func (*MockDirective) GetValueOptions ¶
func (m *MockDirective) GetValueOptions() directive.ValueOptions
func (*MockDirective) Validate ¶
func (m *MockDirective) Validate() error
Validate validates the directive. This is a cursory validation to see if the values "look correct."
Click to show internal directories.
Click to hide internal directories.