exec

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: EPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrMsgAnotherUserConnected    = "Another user is already connected to this microservice. Only one user can connect at a time."
	ErrMsgTimeoutWaitingForAgent  = "Timeout waiting for agent connection. Please ensure the microservice/agent is running and try again."
	ErrMsgAuthenticationFailed    = "Authentication failed. Please check your credentials and try again."
	ErrMsgMicroserviceNotRunning  = "Microservice is not running. Please start the microservice first."
	ErrMsgExecNotEnabled          = "Microservice exec is not enabled. Please enable exec for this microservice."
	ErrMsgNoAvailableExecSession  = "" /* 249-byte string literal not displayed */
	ErrMsgInsufficientPermissions = "Insufficient permissions. Required roles: SRE for Node Exec or Developer for Microservice Exec."
	ErrMsgOnlySREAccess           = "Only SRE can access system microservices. Please contact your administrator."
	ErrMsgConnectionLost          = "Connection lost unexpectedly"
	ErrMsgMessageTooLarge         = "Message too large"
	ErrMsgServerError             = "Server error occurred"
	ErrMsgFailedToConnect         = "Failed to connect to server"
	ErrMsgConnectionClosed        = "Connection was closed"
)

Error message constants to avoid duplication

Variables

This section is empty.

Functions

func NewExecutor

func NewExecutor(opt *Options) (execute.Executor, error)

Types

type Options

type Options struct {
	Resource  string
	Name      string
	Namespace string
}

Jump to

Keyboard shortcuts

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