Documentation ¶
Index ¶
- type CheckRestartE2ETest
- type ConsulE2ETest
- func (tc *ConsulE2ETest) AfterEach(f *framework.F)
- func (tc *ConsulE2ETest) BeforeAll(f *framework.F)
- func (tc *ConsulE2ETest) TestCanaryInplaceUpgrades(f *framework.F)
- func (tc *ConsulE2ETest) TestConsulRegisterOnUpdate(f *framework.F)
- func (tc *ConsulE2ETest) TestConsulRegistration(f *framework.F)
- type ConsulNamespacesE2ETest
- func (tc *ConsulNamespacesE2ETest) AfterAll(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) AfterEach(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) BeforeAll(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulConnectIngressGateway(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulConnectSidecars(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulConnectTerminatingGateway(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulRegisterGroupServices(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulRegisterTaskServices(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulScriptChecksGroup(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulScriptChecksTask(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestConsulTemplateKV(f *framework.F)
- func (tc *ConsulNamespacesE2ETest) TestNamespacesExist(f *framework.F)
- type OnUpdateChecksTest
- type ScriptChecksE2ETest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRestartE2ETest ¶ added in v1.0.4
func (*CheckRestartE2ETest) AfterEach ¶ added in v1.0.4
func (tc *CheckRestartE2ETest) AfterEach(f *framework.F)
func (*CheckRestartE2ETest) BeforeAll ¶ added in v1.0.4
func (tc *CheckRestartE2ETest) BeforeAll(f *framework.F)
func (*CheckRestartE2ETest) TestGroupCheckRestart ¶ added in v1.0.4
func (tc *CheckRestartE2ETest) TestGroupCheckRestart(f *framework.F)
TestGroupCheckRestart runs a job with a group service that will never become healthy. Both tasks should be restarted up to the 'restart' limit.
func (*CheckRestartE2ETest) TestTaskCheckRestart ¶ added in v1.0.4
func (tc *CheckRestartE2ETest) TestTaskCheckRestart(f *framework.F)
TestTaskCheckRestart runs a job with a task service that will never become healthy. Only the failed task should be restarted up to the 'restart' limit.
type ConsulE2ETest ¶
func (*ConsulE2ETest) AfterEach ¶
func (tc *ConsulE2ETest) AfterEach(f *framework.F)
func (*ConsulE2ETest) BeforeAll ¶
func (tc *ConsulE2ETest) BeforeAll(f *framework.F)
func (*ConsulE2ETest) TestCanaryInplaceUpgrades ¶
func (tc *ConsulE2ETest) TestCanaryInplaceUpgrades(f *framework.F)
TestCanaryInplaceUpgrades verifies setting and unsetting canary tags
func (*ConsulE2ETest) TestConsulRegisterOnUpdate ¶ added in v1.0.2
func (tc *ConsulE2ETest) TestConsulRegisterOnUpdate(f *framework.F)
func (*ConsulE2ETest) TestConsulRegistration ¶
func (tc *ConsulE2ETest) TestConsulRegistration(f *framework.F)
TestConsulRegistration asserts that a job registers services with tags in Consul.
type ConsulNamespacesE2ETest ¶ added in v1.1.0
func (*ConsulNamespacesE2ETest) AfterAll ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) AfterAll(f *framework.F)
func (*ConsulNamespacesE2ETest) AfterEach ¶ added in v1.3.0
func (tc *ConsulNamespacesE2ETest) AfterEach(f *framework.F)
func (*ConsulNamespacesE2ETest) BeforeAll ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) BeforeAll(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulConnectIngressGateway ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulConnectIngressGateway(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulConnectSidecars ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulConnectSidecars(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulConnectTerminatingGateway ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulConnectTerminatingGateway(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulRegisterGroupServices ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulRegisterGroupServices(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulRegisterTaskServices ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulRegisterTaskServices(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulScriptChecksGroup ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulScriptChecksGroup(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulScriptChecksTask ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulScriptChecksTask(f *framework.F)
func (*ConsulNamespacesE2ETest) TestConsulTemplateKV ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestConsulTemplateKV(f *framework.F)
func (*ConsulNamespacesE2ETest) TestNamespacesExist ¶ added in v1.1.0
func (tc *ConsulNamespacesE2ETest) TestNamespacesExist(f *framework.F)
type OnUpdateChecksTest ¶ added in v1.1.0
func (*OnUpdateChecksTest) AfterEach ¶ added in v1.1.0
func (tc *OnUpdateChecksTest) AfterEach(f *framework.F)
func (*OnUpdateChecksTest) BeforeAll ¶ added in v1.1.0
func (tc *OnUpdateChecksTest) BeforeAll(f *framework.F)
func (*OnUpdateChecksTest) TestOnUpdateCheck_IgnoreWarning_IgnoreErrors ¶ added in v1.1.0
func (tc *OnUpdateChecksTest) TestOnUpdateCheck_IgnoreWarning_IgnoreErrors(f *framework.F)
TestOnUpdateCheck_IgnoreWarning_IgnoreErrors ensures that deployments complete successfully with service checks that warn and error when on_update is specified to ignore either.
func (*OnUpdateChecksTest) TestOnUpdate_CheckRestart ¶ added in v1.1.0
func (tc *OnUpdateChecksTest) TestOnUpdate_CheckRestart(f *framework.F)
TestOnUpdate_CheckRestart ensures that a service check set to ignore warnings still follows the check_restart stanza if the task becomes unhealthy after a deployment is successful. on_update_check_restart has a script check that should report as a warning status for the deployment to become healthy. The script check then reports unhealthy and the check_restart policy should restart the task
type ScriptChecksE2ETest ¶ added in v0.10.0
func (*ScriptChecksE2ETest) AfterEach ¶ added in v0.10.0
func (tc *ScriptChecksE2ETest) AfterEach(f *framework.F)
func (*ScriptChecksE2ETest) BeforeAll ¶ added in v0.10.0
func (tc *ScriptChecksE2ETest) BeforeAll(f *framework.F)
func (*ScriptChecksE2ETest) TestGroupScriptCheck ¶ added in v0.10.0
func (tc *ScriptChecksE2ETest) TestGroupScriptCheck(f *framework.F)
TestGroupScriptCheck runs a job with a single task group with several services and associated script checks. It updates, stops, etc. the job to verify that script checks are re-registered as expected.
func (*ScriptChecksE2ETest) TestTaskScriptCheck ¶ added in v0.10.0
func (tc *ScriptChecksE2ETest) TestTaskScriptCheck(f *framework.F)
TestTaskScriptCheck runs a job with a single task with several services and associated script checks. It updates, stops, etc. the job to verify that script checks are re-registered as expected.