Documentation ¶
Index ¶
- Constants
- type Executor
- type Suite
- func (s *Suite) CreateNginxInstance(ctx context.Context, name string) *instance.Instance
- func (s *Suite) CreateNginxInstanceWithVolume(ctx context.Context, name string) *instance.Instance
- func (s *Suite) RetryOperation(operation func() error, maxRetries int) error
- func (s *Suite) SetupTest()
- func (s *Suite) TearDownTest()
Constants ¶
View Source
const ( NginxHTMLPath = "/usr/share/nginx/html" NginxPort = 80 NginxCommand = "nginx -g daemon off" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
type Suite struct { suite.Suite Knuu *knuu.Knuu Executor Executor // contains filtered or unexported fields }
func (*Suite) CreateNginxInstance ¶
func (*Suite) CreateNginxInstanceWithVolume ¶
func (*Suite) RetryOperation ¶
func (*Suite) SetupTest ¶
func (s *Suite) SetupTest()
SetupTest is a test setup function that is called before each test is run.
func (*Suite) TearDownTest ¶
func (s *Suite) TearDownTest()
TearDownTest is a test teardown function that is called after each test is run.
Click to show internal directories.
Click to hide internal directories.