Documentation ¶
Index ¶
- Constants
- func CreateNamespace(ctx context.Context, k8sClient client.Client, name string) error
- func CreateRolloutManager(ctx context.Context, k8sClient client.Client, name, namespace string, ...) (rmv1alpha1.RolloutManager, error)
- func CreateRolloutManagerWithMetadata(ctx context.Context, k8sClient client.Client, name, namespace string, ...) (rmv1alpha1.RolloutManager, error)
- func CreateService(ctx context.Context, k8sClient client.Client, name, namespace string, ...) (corev1.Service, error)
- func ValidateArgoRolloutManagerResources(ctx context.Context, rolloutsManager rmv1alpha1.RolloutManager, ...)
- func ValidateArgoRolloutsResources(ctx context.Context, k8sClient client.Client, nsName string, ...)
Constants ¶
View Source
const ( RolloutsActiveServiceName = "rollout-bluegreen-active" RolloutsPreviewServiceName = "rollout-bluegreen-preview" RolloutsName = "simple-rollout" )
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶
Create namespace for tests having a specific label for identification
func CreateRolloutManager ¶
func CreateRolloutManager(ctx context.Context, k8sClient client.Client, name, namespace string, namespaceScoped bool) (rmv1alpha1.RolloutManager, error)
Create RolloutManager CR
func CreateRolloutManagerWithMetadata ¶
func CreateRolloutManagerWithMetadata(ctx context.Context, k8sClient client.Client, name, namespace string, namespaceScoped bool, additionalMetadata *rmv1alpha1.ResourceMetadata) (rmv1alpha1.RolloutManager, error)
Create RolloutManager CR
func CreateService ¶
func CreateService(ctx context.Context, k8sClient client.Client, name, namespace string, nodePort int32) (corev1.Service, error)
Create Service used by Rollout
func ValidateArgoRolloutManagerResources ¶
func ValidateArgoRolloutManagerResources(ctx context.Context, rolloutsManager rmv1alpha1.RolloutManager, k8sClient client.Client, namespaceScoped bool)
Check resources created after creating of RolloutManager CR and verify that they are healthy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.