Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Messager ¶
type Messager interface { // PostInstallMessage returns a message that gets printed to console after successful installation PostInstallMessage() string }
Messager provides methods for various informational messages
type Modules ¶
type Modules interface { // ProcessModes returns a list of modes gravity process can run in ProcessModes() []string // InstallModes returns a list of modes gravity install supports InstallModes() []string // DefaultAuthPreference returns default authentication preference based on process mode DefaultAuthPreference(processMode string) (services.AuthPreference, error) // ProxyFeatures returns additional features Teleport proxy supports based on process mode ProxyFeatures(processMode string) []string // SupportedConnectors returns a list of supported auth connector kinds SupportedConnectors() []string // Version returns the tool version Version() proto.Version // TeleRepository returns the default repository for tele package cache TeleRepository() string }
Modules allows to customize certain behavioral aspects of Gravity
type Resources ¶
type Resources interface { // SupportedResources returns a list of resources that can be created/viewed SupportedResources() []string // SupportedResourcesToRemove returns a list of resources that can be removed SupportedResourcesToRemove() []string // CanonicalKind translates the specified kind to canonical form. // Returns an empty string if no canonical form exists CanonicalKind(kind string) string }
Resources defines the interface to query tool resource support
Click to show internal directories.
Click to hide internal directories.