clitest

package
v0.4.2-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package clitest provides constants and errors kind reused by the cli implementation and the e2e test infrastructure.

Index

Constants

View Source
const (
	// CloudDisablingMessage is the message displayed in the warning when disabling
	// the cloud features.
	CloudDisablingMessage = "disabling the cloud features"

	// CloudNoMembershipMessage is the message displayed when the user is not member
	// of any organization.
	CloudNoMembershipMessage = "You are not member of any organization"

	// CloudSyncDriftFailedMessage is the message displayed when a drift sync fails.
	CloudSyncDriftFailedMessage = "failed to sync the drift status"
)
View Source
const (
	// ErrCloud indicates the cloud feature is unprocessable for any reason.
	// Depending on the uimode (human x automation) the cli can fatal or skip the
	// cloud integration.
	ErrCloud errors.Kind = "unprocessable cloud feature"

	// ErrCloudOnboardingIncomplete indicates the onboarding process is incomplete.
	ErrCloudOnboardingIncomplete errors.Kind = "cloud commands cannot be used until onboarding is complete"

	// ErrCloudStacksWithoutID indicates that some stacks are missing the ID field.
	ErrCloudStacksWithoutID errors.Kind = "all the cloud sync features requires that selected stacks contain an ID field"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL