Documentation
¶
Index ¶
- func DecodeTestJSONFileToString(fileName string) (string, bool, error)
- type Controller
- type Option
- func WithConsoleClient(client console.Client) Option
- func WithConsoleToken(token string) Option
- func WithConsoleURL(url string) Option
- func WithOutputDir(dir string) Option
- func WithOutputFormat(format string) Option
- func WithSentinelRun(id string) Option
- func WithTestDir(dir string) Option
- func WithTimeout(timeout string) Option
- type TestCase
- type TestEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
func NewSentinelRunController ¶
func NewSentinelRunController(options ...Option) (Controller, error)
type Option ¶
type Option func(*sentinelRunController)
func WithConsoleClient ¶
func WithConsoleToken ¶
func WithConsoleURL ¶
func WithOutputDir ¶
func WithOutputFormat ¶
func WithSentinelRun ¶
func WithTestDir ¶
func WithTimeout ¶
type TestCase ¶
type TestCase struct {
Configurations []client.TestCaseConfigurationFragment `json:"configurations,omitempty"`
Defaults *client.SentinelCheckIntegrationTestDefaultConfigurationFragment `json:"defaults,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.