package
1.14.3
Repository: https://github.com/elastic/ecctl.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ActionConfirm asks you to confirm before performing an action.
AddKindFlag adds a kind string flag to the specified command, with the resource kinds autocompletion function.
AddTrackFlags adds flags which control the tracking frequency to the passed command reference.
AdminReqDescription adds a text about required admin permissions to a string.
ConflictingFlags checks if both flags have been specified, and if so returns an error.
DeprecatedDescription adds a text about deprecation to a string.
GetInsecurePassword retrieves an insecure password from a CLI command.
GetTrackSettings obtains the currently set tracking settings, the first return value being the MaxPollRetries and the second one the poll frequency.
InsecureOrSecurePassword checks if an insecure password has been set and gets a password in a secure or insecure way.
MustUseAFlag checks if one or another flags are used, and if not returns an error.
NewTrackParams creates a TrackParams structure from the config.
PasswordVerify retrieves a password from terminal input and verifies a match.
Track will either print and track the parameter specified Response.

# Constants

DefaultECERegion is the region for ECE.
DeprecatedText is an additional helper text for commands.
PlanRetriesFlagMessage is the message to be used by the --retries flag.
PlatformAdminRequired is an additional helper text for commands.
TrackFlagMessage is the message to be used by the --track flag.

# Variables

AllKinds is StatelessKinds appending StatefulKinds.
AllKindsCompFunc is the bash autocompletion function for all kinds.
DefaultTestFrequency provides sane defaults for testing Plan change tracking.
DefaultTrackFrequencyConfig provides sane defaults for Plan change tracking.
StatefulKinds declares the stateful deployment resource kinds (Elasticsearch).
StatelessKinds declares the stateless deployment resource kinds.
StatelessKindsCompFunc is the bash autocompletion function for stateless kinds.

# Structs

TrackParams is consumed by Track.
TrackParamsConfig is used to create TrackParams which print the output / track.