Documentation ¶
Index ¶
- type AgeSorter
- type SecretConfigNamesToSecrets
- type Verifier
- type Verifiers
- func (v Verifiers) AfterCompleted(ctx context.Context)
- func (v Verifiers) AfterPrepared(ctx context.Context)
- func (v Verifiers) Before(ctx context.Context)
- func (v Verifiers) Cleanup(ctx context.Context)
- func (v Verifiers) ExpectCompletingStatus(g Gomega)
- func (v Verifiers) ExpectPreparingStatus(g Gomega)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretConfigNamesToSecrets ¶
SecretConfigNamesToSecrets is a map for secret config names to a list of corev1.Secret objects.
func GroupByName ¶
func GroupByName(allSecrets []corev1.Secret) SecretConfigNamesToSecrets
GroupByName groups all secrets by name.
type Verifier ¶
type Verifier interface { // Before is called before the rotation is started. Before(ctx context.Context) // ExpectPreparingStatus is called while waiting for the Preparing status. ExpectPreparingStatus(g Gomega) // AfterPrepared is called when the Shoot is in Prepared status. AfterPrepared(ctx context.Context) // ExpectCompletingStatus is called while waiting for the Completing status. ExpectCompletingStatus(g Gomega) // AfterCompleted is called when the Shoot is in Completed status. AfterCompleted(ctx context.Context) }
Verifier does some assertions in different phases of the credentials rotation test.
type Verifiers ¶
type Verifiers []Verifier
Verifiers combines multiple Verifier instances and calls them sequentially
func (Verifiers) AfterCompleted ¶
AfterCompleted is called when the Shoot is in Completed status.
func (Verifiers) AfterPrepared ¶
AfterPrepared is called when the Shoot is in Prepared status.
func (Verifiers) ExpectCompletingStatus ¶
func (v Verifiers) ExpectCompletingStatus(g Gomega)
ExpectCompletingStatus is called while waiting for the Completing status.
func (Verifiers) ExpectPreparingStatus ¶
func (v Verifiers) ExpectPreparingStatus(g Gomega)
ExpectPreparingStatus is called while waiting for the Preparing status.
Click to show internal directories.
Click to hide internal directories.