Documentation
¶
Index ¶
- func FluxControllerClusterDeletePolicyRetain(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func FluxControllerPluginDeletePolicyRetain(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func FluxControllerPluginDeletionLifecycle(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func FluxControllerPluginDependencies(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func FluxControllerPodInfoByPlugin(ctx context.Context, adminClient, remoteClient client.Client, ...)
- func FluxControllerUIOnlyPlugin(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func FluxObjectLevelWorkloadIdentity(ctx context.Context, adminClient, remoteClient client.Client, ...)
- func PluginImageReplication(ctx context.Context, adminClient, remoteClient client.Client, ...)
- func PluginImageReplicationFailure(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
- func WorkerlessClusterBlocksPlugin(ctx context.Context, adminClient client.Client, env *shared.TestEnv, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FluxControllerClusterDeletePolicyRetain ¶ added in v0.16.0
func FluxControllerClusterDeletePolicyRetain(ctx context.Context, adminClient client.Client, env *shared.TestEnv, remoteClusterName, teamName string)
FluxControllerClusterDeletePolicyRetain tests that the helm release is left behind when deleting the Cluster.
func FluxControllerPluginDeletePolicyRetain ¶ added in v0.8.0
func FluxControllerPluginDeletePolicyRetain(ctx context.Context, adminClient client.Client, env *shared.TestEnv, remoteClusterName, teamName string)
FluxControllerPluginDeletePolicyRetain tests that the helm release is left behind when deleting the Plugin.
func FluxControllerPluginDeletionLifecycle ¶ added in v0.14.0
func FluxControllerPluginDeletionLifecycle(ctx context.Context, adminClient client.Client, env *shared.TestEnv, remoteClusterName, teamName string)
FluxControllerPluginDeletionLifecycle verifies that the Plugin controller holds its finalizer while Flux is uninstalling the HelmRelease and surfaces the uninstall failure as a status condition when Flux reports an error.
func FluxControllerPluginDependencies ¶ added in v0.7.0
func FluxControllerPluginDependencies(ctx context.Context, adminClient client.Client, env *shared.TestEnv, remoteClusterName, teamName string)
FluxControllerPluginDependencies is a scenario in which leafPreset depends on both midPreset and globalPlugin, and midPreset depends on globalPlugin.
func FluxControllerUIOnlyPlugin ¶ added in v0.7.0
func FluxObjectLevelWorkloadIdentity ¶ added in v0.17.0
func FluxObjectLevelWorkloadIdentity(ctx context.Context, adminClient, remoteClient client.Client, env *shared.TestEnv, oidcClusterName, teamName string)
FluxObjectLevelWorkloadIdentity checks that an OIDC-onboarded cluster gets a Flux access ConfigMap and that its Plugin installs through it.
func PluginImageReplication ¶ added in v0.12.0
func PluginImageReplication(ctx context.Context, adminClient, remoteClient client.Client, env *shared.TestEnv, remoteClusterName string)
PluginImageReplication verifies that the Plugin controller pre-replicates container images via the registry mirror before applying the HelmRelease.
func PluginImageReplicationFailure ¶ added in v0.12.0
func PluginImageReplicationFailure(ctx context.Context, adminClient client.Client, env *shared.TestEnv, remoteClusterName string)
PluginImageReplicationFailure verifies that the Plugin controller sets HelmReleaseCreated=False with ImageReplicationFailed when the primaryMirror is unreachable.
func WorkerlessClusterBlocksPlugin ¶ added in v0.17.0
func WorkerlessClusterBlocksPlugin(ctx context.Context, adminClient client.Client, env *shared.TestEnv, workerlessClusterName, teamName string)
WorkerlessClusterBlocksPlugin verifies that a Plugin targeting a workerless cluster has HelmReleaseCreated=False with reason ClusterPayloadNotSchedulable.
Types ¶
This section is empty.