Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { environs.ConnectorInfo // ProxyToApplication returns a proxy to the application with the given // port. ProxyToApplication(ctx context.Context, appName, remotePort string) (proxy.Proxier, error) }
Provider represents an underlying cloud provider.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service defines a service for interacting with the underlying proxy provider.
func NewService ¶
func NewService(providerGetter providertracker.ProviderGetter[Provider]) *Service
NewService returns a new Service for interacting with the underlying state.
func (*Service) GetConnectionProxyInfo ¶
GetConnectionProxyInfo returns the proxy information for the controller. If the provider does not support the environs.ConnectorInfo then it will return errors.ProxyNotSupported, if the connection proxy info is not located it will return errors.ProxyNotFound.
Click to show internal directories.
Click to hide internal directories.