Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyDescWorkstation = "telepresence:workstation" KeyDescTrafficManager = "telepresence:traffic-manager" // Not quite a real API key description, but the bogus name that we catalog the key under // when the user explicitly uses --apikey to pass us a key to use in order to create the // other keys. KeyDescRoot = "" )
API key descriptions to use when requesting API keys from Ambassador Cloud.
View Source
const ( ApiKeyHeader = "X-Ambassador-Api-Key" InstallIDHeader = "X-Ambassador-Install-ID" TrafficManagerIDHeader = "X-Telepresence-ManagerID" )
View Source
const ( TrafficManagerConnName = "traffic-manager" UnauthdTrafficManagerConnName = "traffic-manager-unauth" UserdConnName = "userd" )
Variables ¶
This section is empty.
Functions ¶
func KeyDescAgent ¶
func KeyDescAgent(spec *manager.InterceptSpec) string
func WithSystemAPool ¶ added in v2.6.0
Types ¶
type ClientProvider ¶ added in v2.6.0
type ClientProvider[T Closeable] interface { HeaderProvider GetCloudConfig(ctx context.Context) (*manager.AmbassadorCloudConfig, error) BuildClient(ctx context.Context, conn *grpc.ClientConn) (T, error) }
func GetSystemAPoolProvider ¶ added in v2.7.2
func GetSystemAPoolProvider[T Closeable](ctx context.Context, poolName string) ClientProvider[T]
type HeaderProvider ¶ added in v2.6.0
type SessionClient ¶ added in v2.8.0
type SessionClient interface { userdaemon.SystemAClient systema.SystemACRUDClient systema.UserDaemonSystemAProxyClient Closeable }
Click to show internal directories.
Click to hide internal directories.