Documentation
¶
Index ¶
Constants ¶
View Source
const ( CNRAddress = "https://quay.io" CNROrganization = "giantswarm" ChartChannel = "stable" ChartName = "e2e-app-chart" ChartNamespace = "e2e-app" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type ClusterState ¶
type ClusterState struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*ClusterState, error)
func (*ClusterState) CheckTestAppIsInstalled ¶
func (c *ClusterState) CheckTestAppIsInstalled(ctx context.Context) error
func (*ClusterState) InstallTestApp ¶
func (c *ClusterState) InstallTestApp(ctx context.Context) error
type Config ¶
type Config struct {
K8sClient k8sclient.Interface
LegacyFramework LegacyFramework
Logger micrologger.Logger
Provider provider.Interface
}
type Interface ¶
type Interface interface {
// Test executes the cluster state test using the configured provider
// implementation. The provider implementation has to be aware of the guest
// cluster it has to act against. The test processes the following steps to
// ensure the cluster state persists when rebooting and replacing the
// master node.
//
// - Install test app.
// - Check test app is installed.
// - Reboot master node.
// - Wait for API to be down.
// - Wait for cluster to be ready.
// - Check test app is installed.
// - Replace master node.
// - Wait for API to be down.
// - Wait for cluster to be ready.
// - Check test app is installed.
//
Test(ctx context.Context) error
}
type LegacyFramework ¶
Click to show internal directories.
Click to hide internal directories.