Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionConfig ¶
type ConnectionConfig struct { // ServerAddress with the dns/IP of the playground gRPC server. ServerAddress string // ServerPort with the port of the playground gRPC server. ServerPort int // UseTLS indicates that a TLS connection is expected with the Playground API. UseTLS bool // SkipCertValidation flag that enables ignoring the validation step of the certificate presented by the server. SkipCertValidation bool // CatalogAddress with the dns/IP of the catalog-manager gRPC server. CatalogAddress string // CatalogPort with the port of the catalog-manager gRPC server. CatalogPort int // ClientCA with a valid client CA ClientCA string }
ConnectionConfig contains the configuration elements related to the connection with the Playground API.
type Installation ¶
type Installation struct { Name string ConnectionConfig *ConnectionConfig }
Installation structure representing a target environment where the user is able to interact with using the plaground CLI.
type PlaygroundConfig ¶
type PlaygroundConfig struct { CurrentInstallation *string Installations []*Installation }
PlaygroundConfig with a simplified configuration structure for the playground.
func (PlaygroundConfig) GetSelectedConnectionConfig ¶
func (pc PlaygroundConfig) GetSelectedConnectionConfig() *ConnectionConfig
GetSelectedConnectionConfig retrieves the selected configuration from the playground configuration.
Click to show internal directories.
Click to hide internal directories.