package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewMockInterface creates a new mock instance.
ValidateApplicationName checks if the given string is a valid Application name, and returns an error if it is not.
ValidateKubernetesNamespace checks if the input string is a valid Kubernetes namespace name, and returns an error if it is not.
ValidateKubernetesNamespaceOrDefault checks if the input is an empty string, and if so, returns nil, otherwise it calls ValidateKubernetesNamespace and returns the result.
ValidateResourceName checks if the given string is a valid resource name, and returns an error if it is not.
ValidateResourceNameOrDefault checks if the input string is empty, and if it is, returns nil, otherwise it calls the ValidateResourceName function to check if the input string is valid.
ValidateUUIDv4 checks if the input string is a valid UUIDv4 and returns an error if it is not.
YesOrNoPrompt takes in a prompt message, a default string and a prompter interface, and returns a boolean value and an error if one occurs.

# Constants

ConfirmNo can be used with YesOrNoPrompt to create a confirmation dialog.
ConfirmYes can be used with YesOrNoPrompt to create a confirmation dialog.
ErrExitConsoleMessage is the message that is displayed when the user exits the console.

# Structs

ErrExitConsole represents interrupt commands being entered.
ErrUnsupportedModel represents error when invalid bubble tea model is used for operations.
Impl implements BubbleTeaPrompter.
MockInterface is a mock of Interface interface.
MockInterfaceGetListInputCall wrap *gomock.Call.
MockInterfaceGetTextInputCall wrap *gomock.Call.
MockInterfaceMockRecorder is the mock recorder for MockInterface.
MockInterfaceRunProgramCall wrap *gomock.Call.

# Interfaces

Interface contains operation to prompt the user interactively.

# Type aliases

TextInputOptions contains options for 'Interface.GetTextInput'.