Documentation
¶
Index ¶
- Variables
- func RegisterTerminalServiceServer(s grpc.ServiceRegistrar, srv TerminalServiceServer)
- func RegisterTshdEventsServiceServer(s grpc.ServiceRegistrar, srv TshdEventsServiceServer)
- type ACL
- func (*ACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL) GetAccessRequests() *ResourceAccess
- func (x *ACL) GetApps() *ResourceAccess
- func (x *ACL) GetAuthConnectors() *ResourceAccess
- func (x *ACL) GetDbs() *ResourceAccess
- func (x *ACL) GetEvents() *ResourceAccess
- func (x *ACL) GetKubeservers() *ResourceAccess
- func (x *ACL) GetRoles() *ResourceAccess
- func (x *ACL) GetServers() *ResourceAccess
- func (x *ACL) GetSessions() *ResourceAccess
- func (x *ACL) GetTokens() *ResourceAccess
- func (x *ACL) GetTrustedClusters() *ResourceAccess
- func (x *ACL) GetUsers() *ResourceAccess
- func (*ACL) ProtoMessage()
- func (x *ACL) ProtoReflect() protoreflect.Message
- func (x *ACL) Reset()
- func (x *ACL) String() string
- type AccessRequest
- func (*AccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccessRequest) GetCreated() *timestamppb.Timestamp
- func (x *AccessRequest) GetExpires() *timestamppb.Timestamp
- func (x *AccessRequest) GetId() string
- func (x *AccessRequest) GetRequestReason() string
- func (x *AccessRequest) GetResolveReason() string
- func (x *AccessRequest) GetResourceIds() []*ResourceID
- func (x *AccessRequest) GetReviews() []*AccessRequestReview
- func (x *AccessRequest) GetRoles() []string
- func (x *AccessRequest) GetState() string
- func (x *AccessRequest) GetSuggestedReviewers() []string
- func (x *AccessRequest) GetThresholdNames() []string
- func (x *AccessRequest) GetUser() string
- func (*AccessRequest) ProtoMessage()
- func (x *AccessRequest) ProtoReflect() protoreflect.Message
- func (x *AccessRequest) Reset()
- func (x *AccessRequest) String() string
- type AccessRequestReview
- func (*AccessRequestReview) Descriptor() ([]byte, []int)deprecated
- func (x *AccessRequestReview) GetAuthor() string
- func (x *AccessRequestReview) GetCreated() *timestamppb.Timestamp
- func (x *AccessRequestReview) GetReason() string
- func (x *AccessRequestReview) GetRoles() []string
- func (x *AccessRequestReview) GetState() string
- func (*AccessRequestReview) ProtoMessage()
- func (x *AccessRequestReview) ProtoReflect() protoreflect.Message
- func (x *AccessRequestReview) Reset()
- func (x *AccessRequestReview) String() string
- type AddClusterRequest
- type App
- func (*App) Descriptor() ([]byte, []int)deprecated
- func (x *App) GetAppUri() string
- func (x *App) GetAwsConsole() bool
- func (x *App) GetAwsRoles() []*App_AWSRole
- func (x *App) GetDescription() string
- func (x *App) GetFqdn() string
- func (x *App) GetLabels() []*Label
- func (x *App) GetName() string
- func (x *App) GetPublicAddr() string
- func (x *App) GetUri() string
- func (*App) ProtoMessage()
- func (x *App) ProtoReflect() protoreflect.Message
- func (x *App) Reset()
- func (x *App) String() string
- type App_AWSRole
- type AssumeRoleRequest
- func (*AssumeRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssumeRoleRequest) GetAccessRequestIds() []string
- func (x *AssumeRoleRequest) GetDropRequestIds() []string
- func (x *AssumeRoleRequest) GetRootClusterUri() string
- func (*AssumeRoleRequest) ProtoMessage()
- func (x *AssumeRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AssumeRoleRequest) Reset()
- func (x *AssumeRoleRequest) String() string
- type AuthProvider
- func (*AuthProvider) Descriptor() ([]byte, []int)deprecated
- func (x *AuthProvider) GetDisplayName() string
- func (x *AuthProvider) GetName() string
- func (x *AuthProvider) GetType() string
- func (*AuthProvider) ProtoMessage()
- func (x *AuthProvider) ProtoReflect() protoreflect.Message
- func (x *AuthProvider) Reset()
- func (x *AuthProvider) String() string
- type AuthSettings
- func (*AuthSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AuthSettings) GetAllowPasswordless() bool
- func (x *AuthSettings) GetAuthProviders() []*AuthProvider
- func (x *AuthSettings) GetAuthType() string
- func (x *AuthSettings) GetHasMessageOfTheDay() bool
- func (x *AuthSettings) GetLocalAuthEnabled() bool
- func (x *AuthSettings) GetLocalConnectorName() string
- func (x *AuthSettings) GetPreferredMfa() string
- func (x *AuthSettings) GetSecondFactor() string
- func (*AuthSettings) ProtoMessage()
- func (x *AuthSettings) ProtoReflect() protoreflect.Message
- func (x *AuthSettings) Reset()
- func (x *AuthSettings) String() string
- type CannotProxyGatewayConnection
- func (*CannotProxyGatewayConnection) Descriptor() ([]byte, []int)deprecated
- func (x *CannotProxyGatewayConnection) GetError() string
- func (x *CannotProxyGatewayConnection) GetGatewayUri() string
- func (x *CannotProxyGatewayConnection) GetTargetUri() string
- func (*CannotProxyGatewayConnection) ProtoMessage()
- func (x *CannotProxyGatewayConnection) ProtoReflect() protoreflect.Message
- func (x *CannotProxyGatewayConnection) Reset()
- func (x *CannotProxyGatewayConnection) String() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetConnected() bool
- func (x *Cluster) GetFeatures() *Features
- func (x *Cluster) GetLeaf() bool
- func (x *Cluster) GetLoggedInUser() *LoggedInUser
- func (x *Cluster) GetName() string
- func (x *Cluster) GetProxyHost() string
- func (x *Cluster) GetUri() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type CreateAccessRequestRequest
- func (*CreateAccessRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRequestRequest) GetReason() string
- func (x *CreateAccessRequestRequest) GetResourceIds() []*ResourceID
- func (x *CreateAccessRequestRequest) GetRoles() []string
- func (x *CreateAccessRequestRequest) GetRootClusterUri() string
- func (x *CreateAccessRequestRequest) GetSuggestedReviewers() []string
- func (*CreateAccessRequestRequest) ProtoMessage()
- func (x *CreateAccessRequestRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRequestRequest) Reset()
- func (x *CreateAccessRequestRequest) String() string
- type CreateAccessRequestResponse
- func (*CreateAccessRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRequestResponse) GetRequest() *AccessRequest
- func (*CreateAccessRequestResponse) ProtoMessage()
- func (x *CreateAccessRequestResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRequestResponse) Reset()
- func (x *CreateAccessRequestResponse) String() string
- type CreateGatewayRequest
- func (*CreateGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGatewayRequest) GetLocalPort() string
- func (x *CreateGatewayRequest) GetTargetSubresourceName() string
- func (x *CreateGatewayRequest) GetTargetUri() string
- func (x *CreateGatewayRequest) GetTargetUser() string
- func (*CreateGatewayRequest) ProtoMessage()
- func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGatewayRequest) Reset()
- func (x *CreateGatewayRequest) String() string
- type CredentialInfo
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetAddr() string
- func (x *Database) GetDesc() string
- func (x *Database) GetHostname() string
- func (x *Database) GetLabels() []*Label
- func (x *Database) GetName() string
- func (x *Database) GetProtocol() string
- func (x *Database) GetType() string
- func (x *Database) GetUri() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type DeleteAccessRequestRequest
- func (*DeleteAccessRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessRequestRequest) GetAccessRequestId() string
- func (x *DeleteAccessRequestRequest) GetRootClusterUri() string
- func (*DeleteAccessRequestRequest) ProtoMessage()
- func (x *DeleteAccessRequestRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessRequestRequest) Reset()
- func (x *DeleteAccessRequestRequest) String() string
- type EmptyResponse
- type Features
- type FileTransferDirection
- func (FileTransferDirection) Descriptor() protoreflect.EnumDescriptor
- func (x FileTransferDirection) Enum() *FileTransferDirection
- func (FileTransferDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileTransferDirection) Number() protoreflect.EnumNumber
- func (x FileTransferDirection) String() string
- func (FileTransferDirection) Type() protoreflect.EnumType
- type FileTransferProgress
- func (*FileTransferProgress) Descriptor() ([]byte, []int)deprecated
- func (x *FileTransferProgress) GetPercentage() uint32
- func (*FileTransferProgress) ProtoMessage()
- func (x *FileTransferProgress) ProtoReflect() protoreflect.Message
- func (x *FileTransferProgress) Reset()
- func (x *FileTransferProgress) String() string
- type FileTransferRequest
- func (*FileTransferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileTransferRequest) GetClusterUri() string
- func (x *FileTransferRequest) GetDestination() string
- func (x *FileTransferRequest) GetDirection() FileTransferDirection
- func (x *FileTransferRequest) GetHostname() string
- func (x *FileTransferRequest) GetLogin() string
- func (x *FileTransferRequest) GetSource() string
- func (*FileTransferRequest) ProtoMessage()
- func (x *FileTransferRequest) ProtoReflect() protoreflect.Message
- func (x *FileTransferRequest) Reset()
- func (x *FileTransferRequest) String() string
- type Gateway
- func (*Gateway) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway) GetCliCommand() string
- func (x *Gateway) GetLocalAddress() string
- func (x *Gateway) GetLocalPort() string
- func (x *Gateway) GetProtocol() string
- func (x *Gateway) GetTargetName() string
- func (x *Gateway) GetTargetSubresourceName() string
- func (x *Gateway) GetTargetUri() string
- func (x *Gateway) GetTargetUser() string
- func (x *Gateway) GetUri() string
- func (*Gateway) ProtoMessage()
- func (x *Gateway) ProtoReflect() protoreflect.Message
- func (x *Gateway) Reset()
- func (x *Gateway) String() string
- type GatewayCertExpired
- func (*GatewayCertExpired) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayCertExpired) GetGatewayUri() string
- func (x *GatewayCertExpired) GetTargetUri() string
- func (*GatewayCertExpired) ProtoMessage()
- func (x *GatewayCertExpired) ProtoReflect() protoreflect.Message
- func (x *GatewayCertExpired) Reset()
- func (x *GatewayCertExpired) String() string
- type GetAccessRequestRequest
- func (*GetAccessRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessRequestRequest) GetAccessRequestId() string
- func (x *GetAccessRequestRequest) GetClusterUri() string
- func (*GetAccessRequestRequest) ProtoMessage()
- func (x *GetAccessRequestRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessRequestRequest) Reset()
- func (x *GetAccessRequestRequest) String() string
- type GetAccessRequestResponse
- func (*GetAccessRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessRequestResponse) GetRequest() *AccessRequest
- func (*GetAccessRequestResponse) ProtoMessage()
- func (x *GetAccessRequestResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccessRequestResponse) Reset()
- func (x *GetAccessRequestResponse) String() string
- type GetAccessRequestsRequest
- func (*GetAccessRequestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessRequestsRequest) GetClusterUri() string
- func (*GetAccessRequestsRequest) ProtoMessage()
- func (x *GetAccessRequestsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessRequestsRequest) Reset()
- func (x *GetAccessRequestsRequest) String() string
- type GetAccessRequestsResponse
- func (*GetAccessRequestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessRequestsResponse) GetRequests() []*AccessRequest
- func (*GetAccessRequestsResponse) ProtoMessage()
- func (x *GetAccessRequestsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccessRequestsResponse) Reset()
- func (x *GetAccessRequestsResponse) String() string
- type GetAllDatabasesRequest
- func (*GetAllDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllDatabasesRequest) GetClusterUri() string
- func (*GetAllDatabasesRequest) ProtoMessage()
- func (x *GetAllDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllDatabasesRequest) Reset()
- func (x *GetAllDatabasesRequest) String() string
- type GetAllDatabasesResponse
- func (*GetAllDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllDatabasesResponse) GetDatabases() []*Database
- func (*GetAllDatabasesResponse) ProtoMessage()
- func (x *GetAllDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllDatabasesResponse) Reset()
- func (x *GetAllDatabasesResponse) String() string
- type GetAllKubesRequest
- func (*GetAllKubesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllKubesRequest) GetClusterUri() string
- func (*GetAllKubesRequest) ProtoMessage()
- func (x *GetAllKubesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllKubesRequest) Reset()
- func (x *GetAllKubesRequest) String() string
- type GetAllKubesResponse
- func (*GetAllKubesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllKubesResponse) GetKubes() []*Kube
- func (*GetAllKubesResponse) ProtoMessage()
- func (x *GetAllKubesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllKubesResponse) Reset()
- func (x *GetAllKubesResponse) String() string
- type GetAllServersRequest
- func (*GetAllServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllServersRequest) GetClusterUri() string
- func (*GetAllServersRequest) ProtoMessage()
- func (x *GetAllServersRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllServersRequest) Reset()
- func (x *GetAllServersRequest) String() string
- type GetAllServersResponse
- func (*GetAllServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllServersResponse) GetServers() []*Server
- func (*GetAllServersResponse) ProtoMessage()
- func (x *GetAllServersResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllServersResponse) Reset()
- func (x *GetAllServersResponse) String() string
- type GetAuthSettingsRequest
- func (*GetAuthSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthSettingsRequest) GetClusterUri() string
- func (*GetAuthSettingsRequest) ProtoMessage()
- func (x *GetAuthSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthSettingsRequest) Reset()
- func (x *GetAuthSettingsRequest) String() string
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterRequest) GetClusterUri() string
- func (*GetClusterRequest) ProtoMessage()
- func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterRequest) Reset()
- func (x *GetClusterRequest) String() string
- type GetDatabasesRequest
- func (*GetDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabasesRequest) GetClusterUri() string
- func (x *GetDatabasesRequest) GetLimit() int32
- func (x *GetDatabasesRequest) GetQuery() string
- func (x *GetDatabasesRequest) GetSearch() string
- func (x *GetDatabasesRequest) GetSearchAsRoles() string
- func (x *GetDatabasesRequest) GetSortBy() string
- func (x *GetDatabasesRequest) GetStartKey() string
- func (*GetDatabasesRequest) ProtoMessage()
- func (x *GetDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabasesRequest) Reset()
- func (x *GetDatabasesRequest) String() string
- type GetDatabasesResponse
- func (*GetDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabasesResponse) GetAgents() []*Database
- func (x *GetDatabasesResponse) GetStartKey() string
- func (x *GetDatabasesResponse) GetTotalCount() int32
- func (*GetDatabasesResponse) ProtoMessage()
- func (x *GetDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDatabasesResponse) Reset()
- func (x *GetDatabasesResponse) String() string
- type GetKubesRequest
- func (*GetKubesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKubesRequest) GetClusterUri() string
- func (x *GetKubesRequest) GetLimit() int32
- func (x *GetKubesRequest) GetQuery() string
- func (x *GetKubesRequest) GetSearch() string
- func (x *GetKubesRequest) GetSearchAsRoles() string
- func (x *GetKubesRequest) GetSortBy() string
- func (x *GetKubesRequest) GetStartKey() string
- func (*GetKubesRequest) ProtoMessage()
- func (x *GetKubesRequest) ProtoReflect() protoreflect.Message
- func (x *GetKubesRequest) Reset()
- func (x *GetKubesRequest) String() string
- type GetKubesResponse
- func (*GetKubesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKubesResponse) GetAgents() []*Kube
- func (x *GetKubesResponse) GetStartKey() string
- func (x *GetKubesResponse) GetTotalCount() int32
- func (*GetKubesResponse) ProtoMessage()
- func (x *GetKubesResponse) ProtoReflect() protoreflect.Message
- func (x *GetKubesResponse) Reset()
- func (x *GetKubesResponse) String() string
- type GetRequestableRolesRequest
- func (*GetRequestableRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequestableRolesRequest) GetClusterUri() string
- func (x *GetRequestableRolesRequest) GetResourceIds() []*ResourceID
- func (*GetRequestableRolesRequest) ProtoMessage()
- func (x *GetRequestableRolesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequestableRolesRequest) Reset()
- func (x *GetRequestableRolesRequest) String() string
- type GetRequestableRolesResponse
- func (*GetRequestableRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequestableRolesResponse) GetApplicableRoles() []string
- func (x *GetRequestableRolesResponse) GetRoles() []string
- func (*GetRequestableRolesResponse) ProtoMessage()
- func (x *GetRequestableRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRequestableRolesResponse) Reset()
- func (x *GetRequestableRolesResponse) String() string
- type GetServersRequest
- func (*GetServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServersRequest) GetClusterUri() string
- func (x *GetServersRequest) GetLimit() int32
- func (x *GetServersRequest) GetQuery() string
- func (x *GetServersRequest) GetSearch() string
- func (x *GetServersRequest) GetSearchAsRoles() string
- func (x *GetServersRequest) GetSortBy() string
- func (x *GetServersRequest) GetStartKey() string
- func (*GetServersRequest) ProtoMessage()
- func (x *GetServersRequest) ProtoReflect() protoreflect.Message
- func (x *GetServersRequest) Reset()
- func (x *GetServersRequest) String() string
- type GetServersResponse
- func (*GetServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServersResponse) GetAgents() []*Server
- func (x *GetServersResponse) GetStartKey() string
- func (x *GetServersResponse) GetTotalCount() int32
- func (*GetServersResponse) ProtoMessage()
- func (x *GetServersResponse) ProtoReflect() protoreflect.Message
- func (x *GetServersResponse) Reset()
- func (x *GetServersResponse) String() string
- type Kube
- type Label
- type ListAppsRequest
- type ListAppsResponse
- type ListClustersRequest
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*Cluster
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (x *ListClustersResponse) String() string
- type ListDatabaseUsersRequest
- func (*ListDatabaseUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabaseUsersRequest) GetDbUri() string
- func (*ListDatabaseUsersRequest) ProtoMessage()
- func (x *ListDatabaseUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabaseUsersRequest) Reset()
- func (x *ListDatabaseUsersRequest) String() string
- type ListDatabaseUsersResponse
- func (*ListDatabaseUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabaseUsersResponse) GetUsers() []string
- func (*ListDatabaseUsersResponse) ProtoMessage()
- func (x *ListDatabaseUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabaseUsersResponse) Reset()
- func (x *ListDatabaseUsersResponse) String() string
- type ListGatewaysRequest
- func (*ListGatewaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGatewaysRequest) GetClusterIds() []string
- func (*ListGatewaysRequest) ProtoMessage()
- func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message
- func (x *ListGatewaysRequest) Reset()
- func (x *ListGatewaysRequest) String() string
- type ListGatewaysResponse
- func (*ListGatewaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGatewaysResponse) GetGateways() []*Gateway
- func (*ListGatewaysResponse) ProtoMessage()
- func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message
- func (x *ListGatewaysResponse) Reset()
- func (x *ListGatewaysResponse) String() string
- type ListLeafClustersRequest
- func (*ListLeafClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLeafClustersRequest) GetClusterUri() string
- func (*ListLeafClustersRequest) ProtoMessage()
- func (x *ListLeafClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListLeafClustersRequest) Reset()
- func (x *ListLeafClustersRequest) String() string
- type LoggedInUser
- func (*LoggedInUser) Descriptor() ([]byte, []int)deprecated
- func (x *LoggedInUser) GetAcl() *ACL
- func (x *LoggedInUser) GetActiveRequests() []string
- func (x *LoggedInUser) GetName() string
- func (x *LoggedInUser) GetRoles() []string
- func (x *LoggedInUser) GetSshLogins() []string
- func (*LoggedInUser) ProtoMessage()
- func (x *LoggedInUser) ProtoReflect() protoreflect.Message
- func (x *LoggedInUser) Reset()
- func (x *LoggedInUser) String() string
- type LoginPasswordlessRequest
- func (*LoginPasswordlessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessRequest) GetCredential() *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse
- func (x *LoginPasswordlessRequest) GetInit() *LoginPasswordlessRequest_LoginPasswordlessRequestInit
- func (x *LoginPasswordlessRequest) GetPin() *LoginPasswordlessRequest_LoginPasswordlessPINResponse
- func (m *LoginPasswordlessRequest) GetRequest() isLoginPasswordlessRequest_Request
- func (*LoginPasswordlessRequest) ProtoMessage()
- func (x *LoginPasswordlessRequest) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessRequest) Reset()
- func (x *LoginPasswordlessRequest) String() string
- type LoginPasswordlessRequest_Credential
- type LoginPasswordlessRequest_Init
- type LoginPasswordlessRequest_LoginPasswordlessCredentialResponse
- func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) GetIndex() int64
- func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoMessage()
- func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Reset()
- func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) String() string
- type LoginPasswordlessRequest_LoginPasswordlessPINResponse
- func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) GetPin() string
- func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoMessage()
- func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) Reset()
- func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) String() string
- type LoginPasswordlessRequest_LoginPasswordlessRequestInit
- func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) GetClusterUri() string
- func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoMessage()
- func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) Reset()
- func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) String() string
- type LoginPasswordlessRequest_Pin
- type LoginPasswordlessResponse
- func (*LoginPasswordlessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessResponse) GetCredentials() []*CredentialInfo
- func (x *LoginPasswordlessResponse) GetPrompt() PasswordlessPrompt
- func (*LoginPasswordlessResponse) ProtoMessage()
- func (x *LoginPasswordlessResponse) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessResponse) Reset()
- func (x *LoginPasswordlessResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetClusterUri() string
- func (x *LoginRequest) GetLocal() *LoginRequest_LocalParams
- func (m *LoginRequest) GetParams() isLoginRequest_Params
- func (x *LoginRequest) GetSso() *LoginRequest_SsoParams
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginRequest_Local
- type LoginRequest_LocalParams
- func (*LoginRequest_LocalParams) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest_LocalParams) GetPassword() string
- func (x *LoginRequest_LocalParams) GetToken() string
- func (x *LoginRequest_LocalParams) GetUser() string
- func (*LoginRequest_LocalParams) ProtoMessage()
- func (x *LoginRequest_LocalParams) ProtoReflect() protoreflect.Message
- func (x *LoginRequest_LocalParams) Reset()
- func (x *LoginRequest_LocalParams) String() string
- type LoginRequest_Sso
- type LoginRequest_SsoParams
- func (*LoginRequest_SsoParams) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest_SsoParams) GetProviderName() string
- func (x *LoginRequest_SsoParams) GetProviderType() string
- func (*LoginRequest_SsoParams) ProtoMessage()
- func (x *LoginRequest_SsoParams) ProtoReflect() protoreflect.Message
- func (x *LoginRequest_SsoParams) Reset()
- func (x *LoginRequest_SsoParams) String() string
- type LogoutRequest
- type PasswordlessPrompt
- func (PasswordlessPrompt) Descriptor() protoreflect.EnumDescriptor
- func (x PasswordlessPrompt) Enum() *PasswordlessPrompt
- func (PasswordlessPrompt) EnumDescriptor() ([]byte, []int)deprecated
- func (x PasswordlessPrompt) Number() protoreflect.EnumNumber
- func (x PasswordlessPrompt) String() string
- func (PasswordlessPrompt) Type() protoreflect.EnumType
- type ReloginRequest
- func (*ReloginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReloginRequest) GetGatewayCertExpired() *GatewayCertExpired
- func (m *ReloginRequest) GetReason() isReloginRequest_Reason
- func (x *ReloginRequest) GetRootClusterUri() string
- func (*ReloginRequest) ProtoMessage()
- func (x *ReloginRequest) ProtoReflect() protoreflect.Message
- func (x *ReloginRequest) Reset()
- func (x *ReloginRequest) String() string
- type ReloginRequest_GatewayCertExpired
- type ReloginResponse
- type RemoveClusterRequest
- func (*RemoveClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClusterRequest) GetClusterUri() string
- func (*RemoveClusterRequest) ProtoMessage()
- func (x *RemoveClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveClusterRequest) Reset()
- func (x *RemoveClusterRequest) String() string
- type RemoveGatewayRequest
- func (*RemoveGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGatewayRequest) GetGatewayUri() string
- func (*RemoveGatewayRequest) ProtoMessage()
- func (x *RemoveGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGatewayRequest) Reset()
- func (x *RemoveGatewayRequest) String() string
- type ResourceAccess
- func (*ResourceAccess) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceAccess) GetCreate() bool
- func (x *ResourceAccess) GetDelete() bool
- func (x *ResourceAccess) GetEdit() bool
- func (x *ResourceAccess) GetList() bool
- func (x *ResourceAccess) GetRead() bool
- func (*ResourceAccess) ProtoMessage()
- func (x *ResourceAccess) ProtoReflect() protoreflect.Message
- func (x *ResourceAccess) Reset()
- func (x *ResourceAccess) String() string
- type ResourceID
- func (*ResourceID) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceID) GetClusterName() string
- func (x *ResourceID) GetKind() string
- func (x *ResourceID) GetName() string
- func (*ResourceID) ProtoMessage()
- func (x *ResourceID) ProtoReflect() protoreflect.Message
- func (x *ResourceID) Reset()
- func (x *ResourceID) String() string
- type RestartGatewayRequest
- func (*RestartGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartGatewayRequest) GetGatewayUri() string
- func (*RestartGatewayRequest) ProtoMessage()
- func (x *RestartGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *RestartGatewayRequest) Reset()
- func (x *RestartGatewayRequest) String() string
- type ReviewAccessRequestRequest
- func (*ReviewAccessRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReviewAccessRequestRequest) GetAccessRequestId() string
- func (x *ReviewAccessRequestRequest) GetReason() string
- func (x *ReviewAccessRequestRequest) GetRoles() []string
- func (x *ReviewAccessRequestRequest) GetRootClusterUri() string
- func (x *ReviewAccessRequestRequest) GetState() string
- func (*ReviewAccessRequestRequest) ProtoMessage()
- func (x *ReviewAccessRequestRequest) ProtoReflect() protoreflect.Message
- func (x *ReviewAccessRequestRequest) Reset()
- func (x *ReviewAccessRequestRequest) String() string
- type ReviewAccessRequestResponse
- func (*ReviewAccessRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReviewAccessRequestResponse) GetRequest() *AccessRequest
- func (*ReviewAccessRequestResponse) ProtoMessage()
- func (x *ReviewAccessRequestResponse) ProtoReflect() protoreflect.Message
- func (x *ReviewAccessRequestResponse) Reset()
- func (x *ReviewAccessRequestResponse) String() string
- type SendNotificationRequest
- func (*SendNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendNotificationRequest) GetCannotProxyGatewayConnection() *CannotProxyGatewayConnection
- func (m *SendNotificationRequest) GetSubject() isSendNotificationRequest_Subject
- func (*SendNotificationRequest) ProtoMessage()
- func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendNotificationRequest) Reset()
- func (x *SendNotificationRequest) String() string
- type SendNotificationRequest_CannotProxyGatewayConnection
- type SendNotificationResponse
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAddr() string
- func (x *Server) GetHostname() string
- func (x *Server) GetLabels() []*Label
- func (x *Server) GetName() string
- func (x *Server) GetTunnel() bool
- func (x *Server) GetUri() string
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type SetGatewayLocalPortRequest
- func (*SetGatewayLocalPortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetGatewayLocalPortRequest) GetGatewayUri() string
- func (x *SetGatewayLocalPortRequest) GetLocalPort() string
- func (*SetGatewayLocalPortRequest) ProtoMessage()
- func (x *SetGatewayLocalPortRequest) ProtoReflect() protoreflect.Message
- func (x *SetGatewayLocalPortRequest) Reset()
- func (x *SetGatewayLocalPortRequest) String() string
- type SetGatewayTargetSubresourceNameRequest
- func (*SetGatewayTargetSubresourceNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetGatewayTargetSubresourceNameRequest) GetGatewayUri() string
- func (x *SetGatewayTargetSubresourceNameRequest) GetTargetSubresourceName() string
- func (*SetGatewayTargetSubresourceNameRequest) ProtoMessage()
- func (x *SetGatewayTargetSubresourceNameRequest) ProtoReflect() protoreflect.Message
- func (x *SetGatewayTargetSubresourceNameRequest) Reset()
- func (x *SetGatewayTargetSubresourceNameRequest) String() string
- type TerminalServiceClient
- type TerminalServiceServer
- type TerminalService_LoginPasswordlessClient
- type TerminalService_LoginPasswordlessServer
- type TerminalService_TransferFileClient
- type TerminalService_TransferFileServer
- type TshdEventsServiceClient
- type TshdEventsServiceServer
- type UnimplementedTerminalServiceServer
- func (UnimplementedTerminalServiceServer) AddCluster(context.Context, *AddClusterRequest) (*Cluster, error)
- func (UnimplementedTerminalServiceServer) AssumeRole(context.Context, *AssumeRoleRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) CreateAccessRequest(context.Context, *CreateAccessRequestRequest) (*CreateAccessRequestResponse, error)
- func (UnimplementedTerminalServiceServer) CreateGateway(context.Context, *CreateGatewayRequest) (*Gateway, error)
- func (UnimplementedTerminalServiceServer) DeleteAccessRequest(context.Context, *DeleteAccessRequestRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) GetAccessRequest(context.Context, *GetAccessRequestRequest) (*GetAccessRequestResponse, error)
- func (UnimplementedTerminalServiceServer) GetAccessRequests(context.Context, *GetAccessRequestsRequest) (*GetAccessRequestsResponse, error)
- func (UnimplementedTerminalServiceServer) GetAllDatabases(context.Context, *GetAllDatabasesRequest) (*GetAllDatabasesResponse, error)
- func (UnimplementedTerminalServiceServer) GetAllKubes(context.Context, *GetAllKubesRequest) (*GetAllKubesResponse, error)
- func (UnimplementedTerminalServiceServer) GetAllServers(context.Context, *GetAllServersRequest) (*GetAllServersResponse, error)
- func (UnimplementedTerminalServiceServer) GetAuthSettings(context.Context, *GetAuthSettingsRequest) (*AuthSettings, error)
- func (UnimplementedTerminalServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
- func (UnimplementedTerminalServiceServer) GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error)
- func (UnimplementedTerminalServiceServer) GetKubes(context.Context, *GetKubesRequest) (*GetKubesResponse, error)
- func (UnimplementedTerminalServiceServer) GetRequestableRoles(context.Context, *GetRequestableRolesRequest) (*GetRequestableRolesResponse, error)
- func (UnimplementedTerminalServiceServer) GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
- func (UnimplementedTerminalServiceServer) ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
- func (UnimplementedTerminalServiceServer) ListDatabaseUsers(context.Context, *ListDatabaseUsersRequest) (*ListDatabaseUsersResponse, error)
- func (UnimplementedTerminalServiceServer) ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error)
- func (UnimplementedTerminalServiceServer) ListLeafClusters(context.Context, *ListLeafClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedTerminalServiceServer) ListRootClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedTerminalServiceServer) Login(context.Context, *LoginRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) LoginPasswordless(TerminalService_LoginPasswordlessServer) error
- func (UnimplementedTerminalServiceServer) Logout(context.Context, *LogoutRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) RemoveCluster(context.Context, *RemoveClusterRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) RemoveGateway(context.Context, *RemoveGatewayRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) RestartGateway(context.Context, *RestartGatewayRequest) (*EmptyResponse, error)
- func (UnimplementedTerminalServiceServer) ReviewAccessRequest(context.Context, *ReviewAccessRequestRequest) (*ReviewAccessRequestResponse, error)
- func (UnimplementedTerminalServiceServer) SetGatewayLocalPort(context.Context, *SetGatewayLocalPortRequest) (*Gateway, error)
- func (UnimplementedTerminalServiceServer) SetGatewayTargetSubresourceName(context.Context, *SetGatewayTargetSubresourceNameRequest) (*Gateway, error)
- func (UnimplementedTerminalServiceServer) TransferFile(*FileTransferRequest, TerminalService_TransferFileServer) error
- func (UnimplementedTerminalServiceServer) UpdateTshdEventsServerAddress(context.Context, *UpdateTshdEventsServerAddressRequest) (*UpdateTshdEventsServerAddressResponse, error)
- type UnimplementedTshdEventsServiceServer
- type UnsafeTerminalServiceServer
- type UnsafeTshdEventsServiceServer
- type UpdateTshdEventsServerAddressRequest
- func (*UpdateTshdEventsServerAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTshdEventsServerAddressRequest) GetAddress() string
- func (*UpdateTshdEventsServerAddressRequest) ProtoMessage()
- func (x *UpdateTshdEventsServerAddressRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTshdEventsServerAddressRequest) Reset()
- func (x *UpdateTshdEventsServerAddressRequest) String() string
- type UpdateTshdEventsServerAddressResponse
- func (*UpdateTshdEventsServerAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTshdEventsServerAddressResponse) ProtoMessage()
- func (x *UpdateTshdEventsServerAddressResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTshdEventsServerAddressResponse) Reset()
- func (x *UpdateTshdEventsServerAddressResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PasswordlessPrompt_name = map[int32]string{ 0: "PASSWORDLESS_PROMPT_UNSPECIFIED", 1: "PASSWORDLESS_PROMPT_PIN", 2: "PASSWORDLESS_PROMPT_TAP", 3: "PASSWORDLESS_PROMPT_CREDENTIAL", } PasswordlessPrompt_value = map[string]int32{ "PASSWORDLESS_PROMPT_UNSPECIFIED": 0, "PASSWORDLESS_PROMPT_PIN": 1, "PASSWORDLESS_PROMPT_TAP": 2, "PASSWORDLESS_PROMPT_CREDENTIAL": 3, } )
Enum value maps for PasswordlessPrompt.
var ( FileTransferDirection_name = map[int32]string{ 0: "FILE_TRANSFER_DIRECTION_UNSPECIFIED", 1: "FILE_TRANSFER_DIRECTION_DOWNLOAD", 2: "FILE_TRANSFER_DIRECTION_UPLOAD", } FileTransferDirection_value = map[string]int32{ "FILE_TRANSFER_DIRECTION_UNSPECIFIED": 0, "FILE_TRANSFER_DIRECTION_DOWNLOAD": 1, "FILE_TRANSFER_DIRECTION_UPLOAD": 2, } )
Enum value maps for FileTransferDirection.
var File_v1_access_request_proto protoreflect.FileDescriptor
var File_v1_app_proto protoreflect.FileDescriptor
var File_v1_auth_settings_proto protoreflect.FileDescriptor
var File_v1_cluster_proto protoreflect.FileDescriptor
var File_v1_database_proto protoreflect.FileDescriptor
var File_v1_gateway_proto protoreflect.FileDescriptor
var File_v1_kube_proto protoreflect.FileDescriptor
var File_v1_label_proto protoreflect.FileDescriptor
var File_v1_server_proto protoreflect.FileDescriptor
var File_v1_service_proto protoreflect.FileDescriptor
var File_v1_tshd_events_service_proto protoreflect.FileDescriptor
var TerminalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "teleport.terminal.v1.TerminalService", HandlerType: (*TerminalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateTshdEventsServerAddress", Handler: _TerminalService_UpdateTshdEventsServerAddress_Handler, }, { MethodName: "ListRootClusters", Handler: _TerminalService_ListRootClusters_Handler, }, { MethodName: "ListLeafClusters", Handler: _TerminalService_ListLeafClusters_Handler, }, { MethodName: "GetAllDatabases", Handler: _TerminalService_GetAllDatabases_Handler, }, { MethodName: "GetDatabases", Handler: _TerminalService_GetDatabases_Handler, }, { MethodName: "ListDatabaseUsers", Handler: _TerminalService_ListDatabaseUsers_Handler, }, { MethodName: "GetAllServers", Handler: _TerminalService_GetAllServers_Handler, }, { MethodName: "GetServers", Handler: _TerminalService_GetServers_Handler, }, { MethodName: "GetAccessRequests", Handler: _TerminalService_GetAccessRequests_Handler, }, { MethodName: "GetAccessRequest", Handler: _TerminalService_GetAccessRequest_Handler, }, { MethodName: "DeleteAccessRequest", Handler: _TerminalService_DeleteAccessRequest_Handler, }, { MethodName: "CreateAccessRequest", Handler: _TerminalService_CreateAccessRequest_Handler, }, { MethodName: "ReviewAccessRequest", Handler: _TerminalService_ReviewAccessRequest_Handler, }, { MethodName: "GetRequestableRoles", Handler: _TerminalService_GetRequestableRoles_Handler, }, { MethodName: "AssumeRole", Handler: _TerminalService_AssumeRole_Handler, }, { MethodName: "GetAllKubes", Handler: _TerminalService_GetAllKubes_Handler, }, { MethodName: "GetKubes", Handler: _TerminalService_GetKubes_Handler, }, { MethodName: "ListApps", Handler: _TerminalService_ListApps_Handler, }, { MethodName: "AddCluster", Handler: _TerminalService_AddCluster_Handler, }, { MethodName: "RemoveCluster", Handler: _TerminalService_RemoveCluster_Handler, }, { MethodName: "ListGateways", Handler: _TerminalService_ListGateways_Handler, }, { MethodName: "CreateGateway", Handler: _TerminalService_CreateGateway_Handler, }, { MethodName: "RemoveGateway", Handler: _TerminalService_RemoveGateway_Handler, }, { MethodName: "RestartGateway", Handler: _TerminalService_RestartGateway_Handler, }, { MethodName: "SetGatewayTargetSubresourceName", Handler: _TerminalService_SetGatewayTargetSubresourceName_Handler, }, { MethodName: "SetGatewayLocalPort", Handler: _TerminalService_SetGatewayLocalPort_Handler, }, { MethodName: "GetAuthSettings", Handler: _TerminalService_GetAuthSettings_Handler, }, { MethodName: "GetCluster", Handler: _TerminalService_GetCluster_Handler, }, { MethodName: "Login", Handler: _TerminalService_Login_Handler, }, { MethodName: "Logout", Handler: _TerminalService_Logout_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "LoginPasswordless", Handler: _TerminalService_LoginPasswordless_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "TransferFile", Handler: _TerminalService_TransferFile_Handler, ServerStreams: true, }, }, Metadata: "v1/service.proto", }
TerminalService_ServiceDesc is the grpc.ServiceDesc for TerminalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TshdEventsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "teleport.terminal.v1.TshdEventsService", HandlerType: (*TshdEventsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Relogin", Handler: _TshdEventsService_Relogin_Handler, }, { MethodName: "SendNotification", Handler: _TshdEventsService_SendNotification_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/tshd_events_service.proto", }
TshdEventsService_ServiceDesc is the grpc.ServiceDesc for TshdEventsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTerminalServiceServer ¶
func RegisterTerminalServiceServer(s grpc.ServiceRegistrar, srv TerminalServiceServer)
func RegisterTshdEventsServiceServer ¶
func RegisterTshdEventsServiceServer(s grpc.ServiceRegistrar, srv TshdEventsServiceServer)
Types ¶
type ACL ¶
type ACL struct { // sessions defines access to recorded sessions Sessions *ResourceAccess `protobuf:"bytes,1,opt,name=sessions,proto3" json:"sessions,omitempty"` // auth_connectors defines access to auth.connectors AuthConnectors *ResourceAccess `protobuf:"bytes,2,opt,name=auth_connectors,json=authConnectors,proto3" json:"auth_connectors,omitempty"` // Roles defines access to roles Roles *ResourceAccess `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"` // Users defines access to users. Users *ResourceAccess `protobuf:"bytes,4,opt,name=users,proto3" json:"users,omitempty"` // trusted_clusters defines access to trusted clusters TrustedClusters *ResourceAccess `protobuf:"bytes,5,opt,name=trusted_clusters,json=trustedClusters,proto3" json:"trusted_clusters,omitempty"` // Events defines access to audit logs Events *ResourceAccess `protobuf:"bytes,6,opt,name=events,proto3" json:"events,omitempty"` // Tokens defines access to tokens. Tokens *ResourceAccess `protobuf:"bytes,7,opt,name=tokens,proto3" json:"tokens,omitempty"` // Servers defines access to servers. Servers *ResourceAccess `protobuf:"bytes,8,opt,name=servers,proto3" json:"servers,omitempty"` // apps defines access to application servers Apps *ResourceAccess `protobuf:"bytes,9,opt,name=apps,proto3" json:"apps,omitempty"` // dbs defines access to database servers. Dbs *ResourceAccess `protobuf:"bytes,10,opt,name=dbs,proto3" json:"dbs,omitempty"` // kubeservers defines access to kubernetes servers. Kubeservers *ResourceAccess `protobuf:"bytes,11,opt,name=kubeservers,proto3" json:"kubeservers,omitempty"` // access_requests defines access to access requests AccessRequests *ResourceAccess `protobuf:"bytes,12,opt,name=access_requests,json=accessRequests,proto3" json:"access_requests,omitempty"` // contains filtered or unexported fields }
ACL is the access control list of the user
func (*ACL) Descriptor
deprecated
func (*ACL) GetAccessRequests ¶
func (x *ACL) GetAccessRequests() *ResourceAccess
func (*ACL) GetApps ¶
func (x *ACL) GetApps() *ResourceAccess
func (*ACL) GetAuthConnectors ¶
func (x *ACL) GetAuthConnectors() *ResourceAccess
func (*ACL) GetDbs ¶
func (x *ACL) GetDbs() *ResourceAccess
func (*ACL) GetEvents ¶
func (x *ACL) GetEvents() *ResourceAccess
func (*ACL) GetKubeservers ¶
func (x *ACL) GetKubeservers() *ResourceAccess
func (*ACL) GetRoles ¶
func (x *ACL) GetRoles() *ResourceAccess
func (*ACL) GetServers ¶
func (x *ACL) GetServers() *ResourceAccess
func (*ACL) GetSessions ¶
func (x *ACL) GetSessions() *ResourceAccess
func (*ACL) GetTokens ¶
func (x *ACL) GetTokens() *ResourceAccess
func (*ACL) GetTrustedClusters ¶
func (x *ACL) GetTrustedClusters() *ResourceAccess
func (*ACL) GetUsers ¶
func (x *ACL) GetUsers() *ResourceAccess
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type AccessRequest ¶
type AccessRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the request state of Access Request. option of PENDING, APPROVED, DENIED, NONE State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` ResolveReason string `protobuf:"bytes,3,opt,name=resolve_reason,json=resolveReason,proto3" json:"resolve_reason,omitempty"` RequestReason string `protobuf:"bytes,4,opt,name=request_reason,json=requestReason,proto3" json:"request_reason,omitempty"` // user is the user who submitted the Access Request User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` // a list of roles requested in the AccessRequest Roles []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"` Expires *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires,proto3" json:"expires,omitempty"` Reviews []*AccessRequestReview `protobuf:"bytes,9,rep,name=reviews,proto3" json:"reviews,omitempty"` SuggestedReviewers []string `protobuf:"bytes,10,rep,name=suggested_reviewers,json=suggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` // thresholds specifies minimum amount of approvers or deniers. Defaults to 'default' ThresholdNames []string `protobuf:"bytes,11,rep,name=threshold_names,json=thresholdNames,proto3" json:"threshold_names,omitempty"` // a list of resourceIDs requested in the AccessRequest ResourceIds []*ResourceID `protobuf:"bytes,12,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` // contains filtered or unexported fields }
func (*AccessRequest) Descriptor
deprecated
func (*AccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccessRequest.ProtoReflect.Descriptor instead.
func (*AccessRequest) GetCreated ¶
func (x *AccessRequest) GetCreated() *timestamppb.Timestamp
func (*AccessRequest) GetExpires ¶
func (x *AccessRequest) GetExpires() *timestamppb.Timestamp
func (*AccessRequest) GetId ¶
func (x *AccessRequest) GetId() string
func (*AccessRequest) GetRequestReason ¶
func (x *AccessRequest) GetRequestReason() string
func (*AccessRequest) GetResolveReason ¶
func (x *AccessRequest) GetResolveReason() string
func (*AccessRequest) GetResourceIds ¶
func (x *AccessRequest) GetResourceIds() []*ResourceID
func (*AccessRequest) GetReviews ¶
func (x *AccessRequest) GetReviews() []*AccessRequestReview
func (*AccessRequest) GetRoles ¶
func (x *AccessRequest) GetRoles() []string
func (*AccessRequest) GetState ¶
func (x *AccessRequest) GetState() string
func (*AccessRequest) GetSuggestedReviewers ¶
func (x *AccessRequest) GetSuggestedReviewers() []string
func (*AccessRequest) GetThresholdNames ¶
func (x *AccessRequest) GetThresholdNames() []string
func (*AccessRequest) GetUser ¶
func (x *AccessRequest) GetUser() string
func (*AccessRequest) ProtoMessage ¶
func (*AccessRequest) ProtoMessage()
func (*AccessRequest) ProtoReflect ¶
func (x *AccessRequest) ProtoReflect() protoreflect.Message
func (*AccessRequest) Reset ¶
func (x *AccessRequest) Reset()
func (*AccessRequest) String ¶
func (x *AccessRequest) String() string
type AccessRequestReview ¶
type AccessRequestReview struct { // author is the creator of the AccessRequestReview. Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"` // list of roles approved Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // the state of the review, either APPROVED or DENIED State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // reason is why the request was approved or denied Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*AccessRequestReview) Descriptor
deprecated
func (*AccessRequestReview) Descriptor() ([]byte, []int)
Deprecated: Use AccessRequestReview.ProtoReflect.Descriptor instead.
func (*AccessRequestReview) GetAuthor ¶
func (x *AccessRequestReview) GetAuthor() string
func (*AccessRequestReview) GetCreated ¶
func (x *AccessRequestReview) GetCreated() *timestamppb.Timestamp
func (*AccessRequestReview) GetReason ¶
func (x *AccessRequestReview) GetReason() string
func (*AccessRequestReview) GetRoles ¶
func (x *AccessRequestReview) GetRoles() []string
func (*AccessRequestReview) GetState ¶
func (x *AccessRequestReview) GetState() string
func (*AccessRequestReview) ProtoMessage ¶
func (*AccessRequestReview) ProtoMessage()
func (*AccessRequestReview) ProtoReflect ¶
func (x *AccessRequestReview) ProtoReflect() protoreflect.Message
func (*AccessRequestReview) Reset ¶
func (x *AccessRequestReview) Reset()
func (*AccessRequestReview) String ¶
func (x *AccessRequestReview) String() string
type AddClusterRequest ¶
type AddClusterRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AddClusterRequest) Descriptor
deprecated
func (*AddClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClusterRequest.ProtoReflect.Descriptor instead.
func (*AddClusterRequest) GetName ¶
func (x *AddClusterRequest) GetName() string
func (*AddClusterRequest) ProtoMessage ¶
func (*AddClusterRequest) ProtoMessage()
func (*AddClusterRequest) ProtoReflect ¶
func (x *AddClusterRequest) ProtoReflect() protoreflect.Message
func (*AddClusterRequest) Reset ¶
func (x *AddClusterRequest) Reset()
func (*AddClusterRequest) String ¶
func (x *AddClusterRequest) String() string
type App ¶
type App struct { // uri is the app resource URI Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // name is the app name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description is the app description. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // uri is the internal address the application is available at. AppUri string `protobuf:"bytes,4,opt,name=app_uri,json=appUri,proto3" json:"app_uri,omitempty"` // public_addr is the public address the application is accessible at. PublicAddr string `protobuf:"bytes,5,opt,name=public_addr,json=publicAddr,proto3" json:"public_addr,omitempty"` // fqdn is a fully qualified domain name of the application (app.example.com) Fqdn string `protobuf:"bytes,6,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // labels is a map of static labels associated with an application. Labels []*Label `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"` // aws_console if true, indicates that the app represents AWS management console. AwsConsole bool `protobuf:"varint,8,opt,name=aws_console,json=awsConsole,proto3" json:"aws_console,omitempty"` // aws_roles is a list of AWS IAM roles for the application representing AWS console. AwsRoles []*App_AWSRole `protobuf:"bytes,9,rep,name=aws_roles,json=awsRoles,proto3" json:"aws_roles,omitempty"` // contains filtered or unexported fields }
App describes connected Application
func (*App) Descriptor
deprecated
func (*App) GetAwsConsole ¶
func (*App) GetAwsRoles ¶
func (x *App) GetAwsRoles() []*App_AWSRole
func (*App) GetDescription ¶
func (*App) GetPublicAddr ¶
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶
func (x *App) ProtoReflect() protoreflect.Message
type App_AWSRole ¶
type App_AWSRole struct { // display is the role display name. Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"` // arn is the full role ARN. Arn string `protobuf:"bytes,2,opt,name=arn,proto3" json:"arn,omitempty"` // contains filtered or unexported fields }
func (*App_AWSRole) Descriptor
deprecated
func (*App_AWSRole) Descriptor() ([]byte, []int)
Deprecated: Use App_AWSRole.ProtoReflect.Descriptor instead.
func (*App_AWSRole) GetArn ¶
func (x *App_AWSRole) GetArn() string
func (*App_AWSRole) GetDisplay ¶
func (x *App_AWSRole) GetDisplay() string
func (*App_AWSRole) ProtoMessage ¶
func (*App_AWSRole) ProtoMessage()
func (*App_AWSRole) ProtoReflect ¶
func (x *App_AWSRole) ProtoReflect() protoreflect.Message
func (*App_AWSRole) Reset ¶
func (x *App_AWSRole) Reset()
func (*App_AWSRole) String ¶
func (x *App_AWSRole) String() string
type AssumeRoleRequest ¶
type AssumeRoleRequest struct { RootClusterUri string `protobuf:"bytes,1,opt,name=root_cluster_uri,json=rootClusterUri,proto3" json:"root_cluster_uri,omitempty"` AccessRequestIds []string `protobuf:"bytes,2,rep,name=access_request_ids,json=accessRequestIds,proto3" json:"access_request_ids,omitempty"` DropRequestIds []string `protobuf:"bytes,3,rep,name=drop_request_ids,json=dropRequestIds,proto3" json:"drop_request_ids,omitempty"` // contains filtered or unexported fields }
func (*AssumeRoleRequest) Descriptor
deprecated
func (*AssumeRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssumeRoleRequest.ProtoReflect.Descriptor instead.
func (*AssumeRoleRequest) GetAccessRequestIds ¶
func (x *AssumeRoleRequest) GetAccessRequestIds() []string
func (*AssumeRoleRequest) GetDropRequestIds ¶
func (x *AssumeRoleRequest) GetDropRequestIds() []string
func (*AssumeRoleRequest) GetRootClusterUri ¶
func (x *AssumeRoleRequest) GetRootClusterUri() string
func (*AssumeRoleRequest) ProtoMessage ¶
func (*AssumeRoleRequest) ProtoMessage()
func (*AssumeRoleRequest) ProtoReflect ¶
func (x *AssumeRoleRequest) ProtoReflect() protoreflect.Message
func (*AssumeRoleRequest) Reset ¶
func (x *AssumeRoleRequest) Reset()
func (*AssumeRoleRequest) String ¶
func (x *AssumeRoleRequest) String() string
type AuthProvider ¶
type AuthProvider struct { // Type is the auth provider type (github|oidc|etc) Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Name is the internal name of the connector. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Display is the display name for the connector. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
AuthProvider describes a way of authentication that is supported by the server. Auth provider is referred to as "auth connector" on the backend.
func (*AuthProvider) Descriptor
deprecated
func (*AuthProvider) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvider.ProtoReflect.Descriptor instead.
func (*AuthProvider) GetDisplayName ¶
func (x *AuthProvider) GetDisplayName() string
func (*AuthProvider) GetName ¶
func (x *AuthProvider) GetName() string
func (*AuthProvider) GetType ¶
func (x *AuthProvider) GetType() string
func (*AuthProvider) ProtoMessage ¶
func (*AuthProvider) ProtoMessage()
func (*AuthProvider) ProtoReflect ¶
func (x *AuthProvider) ProtoReflect() protoreflect.Message
func (*AuthProvider) Reset ¶
func (x *AuthProvider) Reset()
func (*AuthProvider) String ¶
func (x *AuthProvider) String() string
type AuthSettings ¶
type AuthSettings struct { // local_auth_enabled is a flag that enables local authentication LocalAuthEnabled bool `protobuf:"varint,1,opt,name=local_auth_enabled,json=localAuthEnabled,proto3" json:"local_auth_enabled,omitempty"` // second_factor is the type of second factor to use in authentication. SecondFactor string `protobuf:"bytes,2,opt,name=second_factor,json=secondFactor,proto3" json:"second_factor,omitempty"` // preferred_mfa is the prefered mfa for local logins PreferredMfa string `protobuf:"bytes,3,opt,name=preferred_mfa,json=preferredMfa,proto3" json:"preferred_mfa,omitempty"` // auth_providers contains a list of auth providers AuthProviders []*AuthProvider `protobuf:"bytes,4,rep,name=auth_providers,json=authProviders,proto3" json:"auth_providers,omitempty"` // has_message_of_the_day is a flag indicating that the cluster has MOTD // banner text that must be retrieved, displayed and acknowledged by // the user. HasMessageOfTheDay bool `protobuf:"varint,5,opt,name=has_message_of_the_day,json=hasMessageOfTheDay,proto3" json:"has_message_of_the_day,omitempty"` // auth_type is the authentication type e.g. "local", "github", "saml", "oidc" AuthType string `protobuf:"bytes,6,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"` // allow_passwordless is true if passwordless logins are allowed. AllowPasswordless bool `protobuf:"varint,7,opt,name=allow_passwordless,json=allowPasswordless,proto3" json:"allow_passwordless,omitempty"` // local_connector_name is the name of the local connector. LocalConnectorName string `protobuf:"bytes,8,opt,name=local_connector_name,json=localConnectorName,proto3" json:"local_connector_name,omitempty"` // contains filtered or unexported fields }
AuthSettings contains the form of authentication the auth server supports.
func (*AuthSettings) Descriptor
deprecated
func (*AuthSettings) Descriptor() ([]byte, []int)
Deprecated: Use AuthSettings.ProtoReflect.Descriptor instead.
func (*AuthSettings) GetAllowPasswordless ¶
func (x *AuthSettings) GetAllowPasswordless() bool
func (*AuthSettings) GetAuthProviders ¶
func (x *AuthSettings) GetAuthProviders() []*AuthProvider
func (*AuthSettings) GetAuthType ¶
func (x *AuthSettings) GetAuthType() string
func (*AuthSettings) GetHasMessageOfTheDay ¶
func (x *AuthSettings) GetHasMessageOfTheDay() bool
func (*AuthSettings) GetLocalAuthEnabled ¶
func (x *AuthSettings) GetLocalAuthEnabled() bool
func (*AuthSettings) GetLocalConnectorName ¶
func (x *AuthSettings) GetLocalConnectorName() string
func (*AuthSettings) GetPreferredMfa ¶
func (x *AuthSettings) GetPreferredMfa() string
func (*AuthSettings) GetSecondFactor ¶
func (x *AuthSettings) GetSecondFactor() string
func (*AuthSettings) ProtoMessage ¶
func (*AuthSettings) ProtoMessage()
func (*AuthSettings) ProtoReflect ¶
func (x *AuthSettings) ProtoReflect() protoreflect.Message
func (*AuthSettings) Reset ¶
func (x *AuthSettings) Reset()
func (*AuthSettings) String ¶
func (x *AuthSettings) String() string
type CannotProxyGatewayConnection ¶
type CannotProxyGatewayConnection struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` TargetUri string `protobuf:"bytes,2,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
CannotProxyGatewayConnection is the subject when the middleware used by the gateway encounters an unrecoverable error and cannot let the connection through. The middleware code is executed within a separate goroutine so if the error wasn't passed to the Electron app, it would have been visible only in the logs.
func (*CannotProxyGatewayConnection) Descriptor
deprecated
func (*CannotProxyGatewayConnection) Descriptor() ([]byte, []int)
Deprecated: Use CannotProxyGatewayConnection.ProtoReflect.Descriptor instead.
func (*CannotProxyGatewayConnection) GetError ¶
func (x *CannotProxyGatewayConnection) GetError() string
func (*CannotProxyGatewayConnection) GetGatewayUri ¶
func (x *CannotProxyGatewayConnection) GetGatewayUri() string
func (*CannotProxyGatewayConnection) GetTargetUri ¶
func (x *CannotProxyGatewayConnection) GetTargetUri() string
func (*CannotProxyGatewayConnection) ProtoMessage ¶
func (*CannotProxyGatewayConnection) ProtoMessage()
func (*CannotProxyGatewayConnection) ProtoReflect ¶
func (x *CannotProxyGatewayConnection) ProtoReflect() protoreflect.Message
func (*CannotProxyGatewayConnection) Reset ¶
func (x *CannotProxyGatewayConnection) Reset()
func (*CannotProxyGatewayConnection) String ¶
func (x *CannotProxyGatewayConnection) String() string
type Cluster ¶
type Cluster struct { // uri is the cluster resource URI Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // name is used throughout the Teleport Connect codebase as the cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // proxy address (only for root clusters) ProxyHost string `protobuf:"bytes,3,opt,name=proxy_host,json=proxyHost,proto3" json:"proxy_host,omitempty"` // connected indicates if connection to the cluster can be established, that is if we have a // cert for the cluster that hasn't expired Connected bool `protobuf:"varint,4,opt,name=connected,proto3" json:"connected,omitempty"` // leaf indicates if this is a leaf cluster Leaf bool `protobuf:"varint,5,opt,name=leaf,proto3" json:"leaf,omitempty"` // User is the cluster access control list of the logged-in user LoggedInUser *LoggedInUser `protobuf:"bytes,7,opt,name=logged_in_user,json=loggedInUser,proto3" json:"logged_in_user,omitempty"` // features describes the auth servers features // Only present in situations where detailed // information is queried from the auth server. Features *Features `protobuf:"bytes,8,opt,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
Cluster describes cluster fields
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetConnected ¶
func (*Cluster) GetFeatures ¶
func (*Cluster) GetLoggedInUser ¶
func (x *Cluster) GetLoggedInUser() *LoggedInUser
func (*Cluster) GetProxyHost ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type CreateAccessRequestRequest ¶
type CreateAccessRequestRequest struct { RootClusterUri string `protobuf:"bytes,1,opt,name=root_cluster_uri,json=rootClusterUri,proto3" json:"root_cluster_uri,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` SuggestedReviewers []string `protobuf:"bytes,4,rep,name=suggested_reviewers,json=suggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` ResourceIds []*ResourceID `protobuf:"bytes,5,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessRequestRequest) Descriptor
deprecated
func (*CreateAccessRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRequestRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessRequestRequest) GetReason ¶
func (x *CreateAccessRequestRequest) GetReason() string
func (*CreateAccessRequestRequest) GetResourceIds ¶
func (x *CreateAccessRequestRequest) GetResourceIds() []*ResourceID
func (*CreateAccessRequestRequest) GetRoles ¶
func (x *CreateAccessRequestRequest) GetRoles() []string
func (*CreateAccessRequestRequest) GetRootClusterUri ¶
func (x *CreateAccessRequestRequest) GetRootClusterUri() string
func (*CreateAccessRequestRequest) GetSuggestedReviewers ¶
func (x *CreateAccessRequestRequest) GetSuggestedReviewers() []string
func (*CreateAccessRequestRequest) ProtoMessage ¶
func (*CreateAccessRequestRequest) ProtoMessage()
func (*CreateAccessRequestRequest) ProtoReflect ¶
func (x *CreateAccessRequestRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessRequestRequest) Reset ¶
func (x *CreateAccessRequestRequest) Reset()
func (*CreateAccessRequestRequest) String ¶
func (x *CreateAccessRequestRequest) String() string
type CreateAccessRequestResponse ¶
type CreateAccessRequestResponse struct { Request *AccessRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessRequestResponse) Descriptor
deprecated
func (*CreateAccessRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRequestResponse.ProtoReflect.Descriptor instead.
func (*CreateAccessRequestResponse) GetRequest ¶
func (x *CreateAccessRequestResponse) GetRequest() *AccessRequest
func (*CreateAccessRequestResponse) ProtoMessage ¶
func (*CreateAccessRequestResponse) ProtoMessage()
func (*CreateAccessRequestResponse) ProtoReflect ¶
func (x *CreateAccessRequestResponse) ProtoReflect() protoreflect.Message
func (*CreateAccessRequestResponse) Reset ¶
func (x *CreateAccessRequestResponse) Reset()
func (*CreateAccessRequestResponse) String ¶
func (x *CreateAccessRequestResponse) String() string
type CreateGatewayRequest ¶
type CreateGatewayRequest struct { TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` TargetUser string `protobuf:"bytes,2,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty"` LocalPort string `protobuf:"bytes,3,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` TargetSubresourceName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateGatewayRequest) Descriptor
deprecated
func (*CreateGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGatewayRequest.ProtoReflect.Descriptor instead.
func (*CreateGatewayRequest) GetLocalPort ¶
func (x *CreateGatewayRequest) GetLocalPort() string
func (*CreateGatewayRequest) GetTargetSubresourceName ¶
func (x *CreateGatewayRequest) GetTargetSubresourceName() string
func (*CreateGatewayRequest) GetTargetUri ¶
func (x *CreateGatewayRequest) GetTargetUri() string
func (*CreateGatewayRequest) GetTargetUser ¶
func (x *CreateGatewayRequest) GetTargetUser() string
func (*CreateGatewayRequest) ProtoMessage ¶
func (*CreateGatewayRequest) ProtoMessage()
func (*CreateGatewayRequest) ProtoReflect ¶
func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Message
func (*CreateGatewayRequest) Reset ¶
func (x *CreateGatewayRequest) Reset()
func (*CreateGatewayRequest) String ¶
func (x *CreateGatewayRequest) String() string
type CredentialInfo ¶
type CredentialInfo struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
CredentialInfo holds fields related to a user's WebAuthn credential.
func (*CredentialInfo) Descriptor
deprecated
func (*CredentialInfo) Descriptor() ([]byte, []int)
Deprecated: Use CredentialInfo.ProtoReflect.Descriptor instead.
func (*CredentialInfo) GetUsername ¶
func (x *CredentialInfo) GetUsername() string
func (*CredentialInfo) ProtoMessage ¶
func (*CredentialInfo) ProtoMessage()
func (*CredentialInfo) ProtoReflect ¶
func (x *CredentialInfo) ProtoReflect() protoreflect.Message
func (*CredentialInfo) Reset ¶
func (x *CredentialInfo) Reset()
func (*CredentialInfo) String ¶
func (x *CredentialInfo) String() string
type Database ¶
type Database struct { // uri is the cluster resource URI Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // name is the name of the database Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // desc is the database description Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` // protocol is the protocol used by the database Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` // type is the database type, self-hosted or cloud-hosted. Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // hostname is this database hostname Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` // addr is this database ip address Addr string `protobuf:"bytes,7,opt,name=addr,proto3" json:"addr,omitempty"` // labels is a list of labels for this database Labels []*Label `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
Database describes a database
func (*Database) Descriptor
deprecated
func (*Database) GetHostname ¶
func (*Database) GetProtocol ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type DeleteAccessRequestRequest ¶
type DeleteAccessRequestRequest struct { RootClusterUri string `protobuf:"bytes,1,opt,name=root_cluster_uri,json=rootClusterUri,proto3" json:"root_cluster_uri,omitempty"` AccessRequestId string `protobuf:"bytes,2,opt,name=access_request_id,json=accessRequestId,proto3" json:"access_request_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessRequestRequest) Descriptor
deprecated
func (*DeleteAccessRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessRequestRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessRequestRequest) GetAccessRequestId ¶
func (x *DeleteAccessRequestRequest) GetAccessRequestId() string
func (*DeleteAccessRequestRequest) GetRootClusterUri ¶
func (x *DeleteAccessRequestRequest) GetRootClusterUri() string
func (*DeleteAccessRequestRequest) ProtoMessage ¶
func (*DeleteAccessRequestRequest) ProtoMessage()
func (*DeleteAccessRequestRequest) ProtoReflect ¶
func (x *DeleteAccessRequestRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessRequestRequest) Reset ¶
func (x *DeleteAccessRequestRequest) Reset()
func (*DeleteAccessRequestRequest) String ¶
func (x *DeleteAccessRequestRequest) String() string
type EmptyResponse ¶
type EmptyResponse struct {
// contains filtered or unexported fields
}
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
type Features ¶
type Features struct { // AdvancedAccessWorkflows enables search-based access requests AdvancedAccessWorkflows bool `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Features describes the auth servers features
func (*Features) Descriptor
deprecated
func (*Features) GetAdvancedAccessWorkflows ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) ProtoReflect ¶
func (x *Features) ProtoReflect() protoreflect.Message
type FileTransferDirection ¶
type FileTransferDirection int32
FileTransferDirection describes directions of a file transfer
const ( FileTransferDirection_FILE_TRANSFER_DIRECTION_UNSPECIFIED FileTransferDirection = 0 FileTransferDirection_FILE_TRANSFER_DIRECTION_DOWNLOAD FileTransferDirection = 1 FileTransferDirection_FILE_TRANSFER_DIRECTION_UPLOAD FileTransferDirection = 2 )
func (FileTransferDirection) Descriptor ¶
func (FileTransferDirection) Descriptor() protoreflect.EnumDescriptor
func (FileTransferDirection) Enum ¶
func (x FileTransferDirection) Enum() *FileTransferDirection
func (FileTransferDirection) EnumDescriptor
deprecated
func (FileTransferDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileTransferDirection.Descriptor instead.
func (FileTransferDirection) Number ¶
func (x FileTransferDirection) Number() protoreflect.EnumNumber
func (FileTransferDirection) String ¶
func (x FileTransferDirection) String() string
func (FileTransferDirection) Type ¶
func (FileTransferDirection) Type() protoreflect.EnumType
type FileTransferProgress ¶
type FileTransferProgress struct { Percentage uint32 `protobuf:"varint,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
func (*FileTransferProgress) Descriptor
deprecated
func (*FileTransferProgress) Descriptor() ([]byte, []int)
Deprecated: Use FileTransferProgress.ProtoReflect.Descriptor instead.
func (*FileTransferProgress) GetPercentage ¶
func (x *FileTransferProgress) GetPercentage() uint32
func (*FileTransferProgress) ProtoMessage ¶
func (*FileTransferProgress) ProtoMessage()
func (*FileTransferProgress) ProtoReflect ¶
func (x *FileTransferProgress) ProtoReflect() protoreflect.Message
func (*FileTransferProgress) Reset ¶
func (x *FileTransferProgress) Reset()
func (*FileTransferProgress) String ¶
func (x *FileTransferProgress) String() string
type FileTransferRequest ¶
type FileTransferRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` // source path of the transferred file Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // destination path of the transferred file Destination string `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,omitempty"` // indicates whether the file is uploaded/downloaded Direction FileTransferDirection `protobuf:"varint,6,opt,name=direction,proto3,enum=teleport.terminal.v1.FileTransferDirection" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*FileTransferRequest) Descriptor
deprecated
func (*FileTransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileTransferRequest.ProtoReflect.Descriptor instead.
func (*FileTransferRequest) GetClusterUri ¶
func (x *FileTransferRequest) GetClusterUri() string
func (*FileTransferRequest) GetDestination ¶
func (x *FileTransferRequest) GetDestination() string
func (*FileTransferRequest) GetDirection ¶
func (x *FileTransferRequest) GetDirection() FileTransferDirection
func (*FileTransferRequest) GetHostname ¶
func (x *FileTransferRequest) GetHostname() string
func (*FileTransferRequest) GetLogin ¶
func (x *FileTransferRequest) GetLogin() string
func (*FileTransferRequest) GetSource ¶
func (x *FileTransferRequest) GetSource() string
func (*FileTransferRequest) ProtoMessage ¶
func (*FileTransferRequest) ProtoMessage()
func (*FileTransferRequest) ProtoReflect ¶
func (x *FileTransferRequest) ProtoReflect() protoreflect.Message
func (*FileTransferRequest) Reset ¶
func (x *FileTransferRequest) Reset()
func (*FileTransferRequest) String ¶
func (x *FileTransferRequest) String() string
type Gateway ¶
type Gateway struct { // uri is the gateway uri Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // target_name is the target resource name TargetName string `protobuf:"bytes,2,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"` // target_uri is the target uri TargetUri string `protobuf:"bytes,3,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` // target_user is the target user TargetUser string `protobuf:"bytes,4,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty"` // local_address is the gateway address on localhost LocalAddress string `protobuf:"bytes,5,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` // local_port is the gateway address on localhost LocalPort string `protobuf:"bytes,6,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` // protocol is the gateway protocol Protocol string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"` // cli_command is a command that the user can execute to connect to the resource within a CLI, // if the given resource has a CLI client. // // Instead of generating those commands in in the frontend code, the tsh daemon returns them. // This means that the Database Access team can add support for a new protocol and Teleterm will // support it right away without any changes to Teleterm's code. CliCommand string `protobuf:"bytes,8,opt,name=cli_command,json=cliCommand,proto3" json:"cli_command,omitempty"` // target_subresource_name points at a subresource of the remote resource, for example a // database name on a database server. TargetSubresourceName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Gateway is Teleterm's name for a connection to a resource like a database or a web app established through our ALPN proxy.
The term "gateway" is used to avoid using the term "proxy" itself which could be confusing as "proxy" means a couple of different things depending on the context. But for Teleterm, a gateway is always an ALPN proxy connection.
See RFD 39 for more info on ALPN.
func (*Gateway) Descriptor
deprecated
func (*Gateway) GetCliCommand ¶
func (*Gateway) GetLocalAddress ¶
func (*Gateway) GetLocalPort ¶
func (*Gateway) GetProtocol ¶
func (*Gateway) GetTargetName ¶
func (*Gateway) GetTargetSubresourceName ¶
func (*Gateway) GetTargetUri ¶
func (*Gateway) GetTargetUser ¶
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type GatewayCertExpired ¶
type GatewayCertExpired struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` TargetUri string `protobuf:"bytes,2,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` // contains filtered or unexported fields }
GatewayCertExpired is given as the reason when a database client attempts to make a connection through the gateway, the gateway middleware notices that the db cert has expired and tries to connect to the cluster to reissue the cert, but fails because the user cert has expired as well.
At that point in order to let the connection through, tshd needs the Electron app to refresh the user cert by asking the user to log in again.
func (*GatewayCertExpired) Descriptor
deprecated
func (*GatewayCertExpired) Descriptor() ([]byte, []int)
Deprecated: Use GatewayCertExpired.ProtoReflect.Descriptor instead.
func (*GatewayCertExpired) GetGatewayUri ¶
func (x *GatewayCertExpired) GetGatewayUri() string
func (*GatewayCertExpired) GetTargetUri ¶
func (x *GatewayCertExpired) GetTargetUri() string
func (*GatewayCertExpired) ProtoMessage ¶
func (*GatewayCertExpired) ProtoMessage()
func (*GatewayCertExpired) ProtoReflect ¶
func (x *GatewayCertExpired) ProtoReflect() protoreflect.Message
func (*GatewayCertExpired) Reset ¶
func (x *GatewayCertExpired) Reset()
func (*GatewayCertExpired) String ¶
func (x *GatewayCertExpired) String() string
type GetAccessRequestRequest ¶
type GetAccessRequestRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // specifcies a specific request id AccessRequestId string `protobuf:"bytes,2,opt,name=access_request_id,json=accessRequestId,proto3" json:"access_request_id,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequestRequest) Descriptor
deprecated
func (*GetAccessRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequestRequest.ProtoReflect.Descriptor instead.
func (*GetAccessRequestRequest) GetAccessRequestId ¶
func (x *GetAccessRequestRequest) GetAccessRequestId() string
func (*GetAccessRequestRequest) GetClusterUri ¶
func (x *GetAccessRequestRequest) GetClusterUri() string
func (*GetAccessRequestRequest) ProtoMessage ¶
func (*GetAccessRequestRequest) ProtoMessage()
func (*GetAccessRequestRequest) ProtoReflect ¶
func (x *GetAccessRequestRequest) ProtoReflect() protoreflect.Message
func (*GetAccessRequestRequest) Reset ¶
func (x *GetAccessRequestRequest) Reset()
func (*GetAccessRequestRequest) String ¶
func (x *GetAccessRequestRequest) String() string
type GetAccessRequestResponse ¶
type GetAccessRequestResponse struct { Request *AccessRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequestResponse) Descriptor
deprecated
func (*GetAccessRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequestResponse.ProtoReflect.Descriptor instead.
func (*GetAccessRequestResponse) GetRequest ¶
func (x *GetAccessRequestResponse) GetRequest() *AccessRequest
func (*GetAccessRequestResponse) ProtoMessage ¶
func (*GetAccessRequestResponse) ProtoMessage()
func (*GetAccessRequestResponse) ProtoReflect ¶
func (x *GetAccessRequestResponse) ProtoReflect() protoreflect.Message
func (*GetAccessRequestResponse) Reset ¶
func (x *GetAccessRequestResponse) Reset()
func (*GetAccessRequestResponse) String ¶
func (x *GetAccessRequestResponse) String() string
type GetAccessRequestsRequest ¶
type GetAccessRequestsRequest struct { // cluster_uri is the cluster uri ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequestsRequest) Descriptor
deprecated
func (*GetAccessRequestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequestsRequest.ProtoReflect.Descriptor instead.
func (*GetAccessRequestsRequest) GetClusterUri ¶
func (x *GetAccessRequestsRequest) GetClusterUri() string
func (*GetAccessRequestsRequest) ProtoMessage ¶
func (*GetAccessRequestsRequest) ProtoMessage()
func (*GetAccessRequestsRequest) ProtoReflect ¶
func (x *GetAccessRequestsRequest) ProtoReflect() protoreflect.Message
func (*GetAccessRequestsRequest) Reset ¶
func (x *GetAccessRequestsRequest) Reset()
func (*GetAccessRequestsRequest) String ¶
func (x *GetAccessRequestsRequest) String() string
type GetAccessRequestsResponse ¶
type GetAccessRequestsResponse struct { Requests []*AccessRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequestsResponse) Descriptor
deprecated
func (*GetAccessRequestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequestsResponse.ProtoReflect.Descriptor instead.
func (*GetAccessRequestsResponse) GetRequests ¶
func (x *GetAccessRequestsResponse) GetRequests() []*AccessRequest
func (*GetAccessRequestsResponse) ProtoMessage ¶
func (*GetAccessRequestsResponse) ProtoMessage()
func (*GetAccessRequestsResponse) ProtoReflect ¶
func (x *GetAccessRequestsResponse) ProtoReflect() protoreflect.Message
func (*GetAccessRequestsResponse) Reset ¶
func (x *GetAccessRequestsResponse) Reset()
func (*GetAccessRequestsResponse) String ¶
func (x *GetAccessRequestsResponse) String() string
type GetAllDatabasesRequest ¶
type GetAllDatabasesRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*GetAllDatabasesRequest) Descriptor
deprecated
func (*GetAllDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllDatabasesRequest.ProtoReflect.Descriptor instead.
func (*GetAllDatabasesRequest) GetClusterUri ¶
func (x *GetAllDatabasesRequest) GetClusterUri() string
func (*GetAllDatabasesRequest) ProtoMessage ¶
func (*GetAllDatabasesRequest) ProtoMessage()
func (*GetAllDatabasesRequest) ProtoReflect ¶
func (x *GetAllDatabasesRequest) ProtoReflect() protoreflect.Message
func (*GetAllDatabasesRequest) Reset ¶
func (x *GetAllDatabasesRequest) Reset()
func (*GetAllDatabasesRequest) String ¶
func (x *GetAllDatabasesRequest) String() string
type GetAllDatabasesResponse ¶
type GetAllDatabasesResponse struct { Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // contains filtered or unexported fields }
func (*GetAllDatabasesResponse) Descriptor
deprecated
func (*GetAllDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllDatabasesResponse.ProtoReflect.Descriptor instead.
func (*GetAllDatabasesResponse) GetDatabases ¶
func (x *GetAllDatabasesResponse) GetDatabases() []*Database
func (*GetAllDatabasesResponse) ProtoMessage ¶
func (*GetAllDatabasesResponse) ProtoMessage()
func (*GetAllDatabasesResponse) ProtoReflect ¶
func (x *GetAllDatabasesResponse) ProtoReflect() protoreflect.Message
func (*GetAllDatabasesResponse) Reset ¶
func (x *GetAllDatabasesResponse) Reset()
func (*GetAllDatabasesResponse) String ¶
func (x *GetAllDatabasesResponse) String() string
type GetAllKubesRequest ¶
type GetAllKubesRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*GetAllKubesRequest) Descriptor
deprecated
func (*GetAllKubesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllKubesRequest.ProtoReflect.Descriptor instead.
func (*GetAllKubesRequest) GetClusterUri ¶
func (x *GetAllKubesRequest) GetClusterUri() string
func (*GetAllKubesRequest) ProtoMessage ¶
func (*GetAllKubesRequest) ProtoMessage()
func (*GetAllKubesRequest) ProtoReflect ¶
func (x *GetAllKubesRequest) ProtoReflect() protoreflect.Message
func (*GetAllKubesRequest) Reset ¶
func (x *GetAllKubesRequest) Reset()
func (*GetAllKubesRequest) String ¶
func (x *GetAllKubesRequest) String() string
type GetAllKubesResponse ¶
type GetAllKubesResponse struct { Kubes []*Kube `protobuf:"bytes,1,rep,name=kubes,proto3" json:"kubes,omitempty"` // contains filtered or unexported fields }
func (*GetAllKubesResponse) Descriptor
deprecated
func (*GetAllKubesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllKubesResponse.ProtoReflect.Descriptor instead.
func (*GetAllKubesResponse) GetKubes ¶
func (x *GetAllKubesResponse) GetKubes() []*Kube
func (*GetAllKubesResponse) ProtoMessage ¶
func (*GetAllKubesResponse) ProtoMessage()
func (*GetAllKubesResponse) ProtoReflect ¶
func (x *GetAllKubesResponse) ProtoReflect() protoreflect.Message
func (*GetAllKubesResponse) Reset ¶
func (x *GetAllKubesResponse) Reset()
func (*GetAllKubesResponse) String ¶
func (x *GetAllKubesResponse) String() string
type GetAllServersRequest ¶
type GetAllServersRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*GetAllServersRequest) Descriptor
deprecated
func (*GetAllServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServersRequest.ProtoReflect.Descriptor instead.
func (*GetAllServersRequest) GetClusterUri ¶
func (x *GetAllServersRequest) GetClusterUri() string
func (*GetAllServersRequest) ProtoMessage ¶
func (*GetAllServersRequest) ProtoMessage()
func (*GetAllServersRequest) ProtoReflect ¶
func (x *GetAllServersRequest) ProtoReflect() protoreflect.Message
func (*GetAllServersRequest) Reset ¶
func (x *GetAllServersRequest) Reset()
func (*GetAllServersRequest) String ¶
func (x *GetAllServersRequest) String() string
type GetAllServersResponse ¶
type GetAllServersResponse struct { Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*GetAllServersResponse) Descriptor
deprecated
func (*GetAllServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServersResponse.ProtoReflect.Descriptor instead.
func (*GetAllServersResponse) GetServers ¶
func (x *GetAllServersResponse) GetServers() []*Server
func (*GetAllServersResponse) ProtoMessage ¶
func (*GetAllServersResponse) ProtoMessage()
func (*GetAllServersResponse) ProtoReflect ¶
func (x *GetAllServersResponse) ProtoReflect() protoreflect.Message
func (*GetAllServersResponse) Reset ¶
func (x *GetAllServersResponse) Reset()
func (*GetAllServersResponse) String ¶
func (x *GetAllServersResponse) String() string
type GetAuthSettingsRequest ¶
type GetAuthSettingsRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*GetAuthSettingsRequest) Descriptor
deprecated
func (*GetAuthSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetAuthSettingsRequest) GetClusterUri ¶
func (x *GetAuthSettingsRequest) GetClusterUri() string
func (*GetAuthSettingsRequest) ProtoMessage ¶
func (*GetAuthSettingsRequest) ProtoMessage()
func (*GetAuthSettingsRequest) ProtoReflect ¶
func (x *GetAuthSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetAuthSettingsRequest) Reset ¶
func (x *GetAuthSettingsRequest) Reset()
func (*GetAuthSettingsRequest) String ¶
func (x *GetAuthSettingsRequest) String() string
type GetClusterRequest ¶
type GetClusterRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
GetClusterRequest describes GetClusterRequest
func (*GetClusterRequest) Descriptor
deprecated
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetClusterUri ¶
func (x *GetClusterRequest) GetClusterUri() string
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect ¶
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset ¶
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (x *GetClusterRequest) String() string
type GetDatabasesRequest ¶
type GetDatabasesRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` SortBy string `protobuf:"bytes,6,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` SearchAsRoles string `protobuf:"bytes,7,opt,name=search_as_roles,json=searchAsRoles,proto3" json:"search_as_roles,omitempty"` // contains filtered or unexported fields }
func (*GetDatabasesRequest) Descriptor
deprecated
func (*GetDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabasesRequest.ProtoReflect.Descriptor instead.
func (*GetDatabasesRequest) GetClusterUri ¶
func (x *GetDatabasesRequest) GetClusterUri() string
func (*GetDatabasesRequest) GetLimit ¶
func (x *GetDatabasesRequest) GetLimit() int32
func (*GetDatabasesRequest) GetQuery ¶
func (x *GetDatabasesRequest) GetQuery() string
func (*GetDatabasesRequest) GetSearch ¶
func (x *GetDatabasesRequest) GetSearch() string
func (*GetDatabasesRequest) GetSearchAsRoles ¶
func (x *GetDatabasesRequest) GetSearchAsRoles() string
func (*GetDatabasesRequest) GetSortBy ¶
func (x *GetDatabasesRequest) GetSortBy() string
func (*GetDatabasesRequest) GetStartKey ¶
func (x *GetDatabasesRequest) GetStartKey() string
func (*GetDatabasesRequest) ProtoMessage ¶
func (*GetDatabasesRequest) ProtoMessage()
func (*GetDatabasesRequest) ProtoReflect ¶
func (x *GetDatabasesRequest) ProtoReflect() protoreflect.Message
func (*GetDatabasesRequest) Reset ¶
func (x *GetDatabasesRequest) Reset()
func (*GetDatabasesRequest) String ¶
func (x *GetDatabasesRequest) String() string
type GetDatabasesResponse ¶
type GetDatabasesResponse struct { Agents []*Database `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // contains filtered or unexported fields }
func (*GetDatabasesResponse) Descriptor
deprecated
func (*GetDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabasesResponse.ProtoReflect.Descriptor instead.
func (*GetDatabasesResponse) GetAgents ¶
func (x *GetDatabasesResponse) GetAgents() []*Database
func (*GetDatabasesResponse) GetStartKey ¶
func (x *GetDatabasesResponse) GetStartKey() string
func (*GetDatabasesResponse) GetTotalCount ¶
func (x *GetDatabasesResponse) GetTotalCount() int32
func (*GetDatabasesResponse) ProtoMessage ¶
func (*GetDatabasesResponse) ProtoMessage()
func (*GetDatabasesResponse) ProtoReflect ¶
func (x *GetDatabasesResponse) ProtoReflect() protoreflect.Message
func (*GetDatabasesResponse) Reset ¶
func (x *GetDatabasesResponse) Reset()
func (*GetDatabasesResponse) String ¶
func (x *GetDatabasesResponse) String() string
type GetKubesRequest ¶
type GetKubesRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` SortBy string `protobuf:"bytes,6,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` SearchAsRoles string `protobuf:"bytes,7,opt,name=search_as_roles,json=searchAsRoles,proto3" json:"search_as_roles,omitempty"` // contains filtered or unexported fields }
func (*GetKubesRequest) Descriptor
deprecated
func (*GetKubesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKubesRequest.ProtoReflect.Descriptor instead.
func (*GetKubesRequest) GetClusterUri ¶
func (x *GetKubesRequest) GetClusterUri() string
func (*GetKubesRequest) GetLimit ¶
func (x *GetKubesRequest) GetLimit() int32
func (*GetKubesRequest) GetQuery ¶
func (x *GetKubesRequest) GetQuery() string
func (*GetKubesRequest) GetSearch ¶
func (x *GetKubesRequest) GetSearch() string
func (*GetKubesRequest) GetSearchAsRoles ¶
func (x *GetKubesRequest) GetSearchAsRoles() string
func (*GetKubesRequest) GetSortBy ¶
func (x *GetKubesRequest) GetSortBy() string
func (*GetKubesRequest) GetStartKey ¶
func (x *GetKubesRequest) GetStartKey() string
func (*GetKubesRequest) ProtoMessage ¶
func (*GetKubesRequest) ProtoMessage()
func (*GetKubesRequest) ProtoReflect ¶
func (x *GetKubesRequest) ProtoReflect() protoreflect.Message
func (*GetKubesRequest) Reset ¶
func (x *GetKubesRequest) Reset()
func (*GetKubesRequest) String ¶
func (x *GetKubesRequest) String() string
type GetKubesResponse ¶
type GetKubesResponse struct { Agents []*Kube `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // contains filtered or unexported fields }
func (*GetKubesResponse) Descriptor
deprecated
func (*GetKubesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKubesResponse.ProtoReflect.Descriptor instead.
func (*GetKubesResponse) GetAgents ¶
func (x *GetKubesResponse) GetAgents() []*Kube
func (*GetKubesResponse) GetStartKey ¶
func (x *GetKubesResponse) GetStartKey() string
func (*GetKubesResponse) GetTotalCount ¶
func (x *GetKubesResponse) GetTotalCount() int32
func (*GetKubesResponse) ProtoMessage ¶
func (*GetKubesResponse) ProtoMessage()
func (*GetKubesResponse) ProtoReflect ¶
func (x *GetKubesResponse) ProtoReflect() protoreflect.Message
func (*GetKubesResponse) Reset ¶
func (x *GetKubesResponse) Reset()
func (*GetKubesResponse) String ¶
func (x *GetKubesResponse) String() string
type GetRequestableRolesRequest ¶
type GetRequestableRolesRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` ResourceIds []*ResourceID `protobuf:"bytes,2,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` // contains filtered or unexported fields }
func (*GetRequestableRolesRequest) Descriptor
deprecated
func (*GetRequestableRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequestableRolesRequest.ProtoReflect.Descriptor instead.
func (*GetRequestableRolesRequest) GetClusterUri ¶
func (x *GetRequestableRolesRequest) GetClusterUri() string
func (*GetRequestableRolesRequest) GetResourceIds ¶
func (x *GetRequestableRolesRequest) GetResourceIds() []*ResourceID
func (*GetRequestableRolesRequest) ProtoMessage ¶
func (*GetRequestableRolesRequest) ProtoMessage()
func (*GetRequestableRolesRequest) ProtoReflect ¶
func (x *GetRequestableRolesRequest) ProtoReflect() protoreflect.Message
func (*GetRequestableRolesRequest) Reset ¶
func (x *GetRequestableRolesRequest) Reset()
func (*GetRequestableRolesRequest) String ¶
func (x *GetRequestableRolesRequest) String() string
type GetRequestableRolesResponse ¶
type GetRequestableRolesResponse struct { Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` ApplicableRoles []string `protobuf:"bytes,2,rep,name=applicable_roles,json=applicableRoles,proto3" json:"applicable_roles,omitempty"` // contains filtered or unexported fields }
func (*GetRequestableRolesResponse) Descriptor
deprecated
func (*GetRequestableRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRequestableRolesResponse.ProtoReflect.Descriptor instead.
func (*GetRequestableRolesResponse) GetApplicableRoles ¶
func (x *GetRequestableRolesResponse) GetApplicableRoles() []string
func (*GetRequestableRolesResponse) GetRoles ¶
func (x *GetRequestableRolesResponse) GetRoles() []string
func (*GetRequestableRolesResponse) ProtoMessage ¶
func (*GetRequestableRolesResponse) ProtoMessage()
func (*GetRequestableRolesResponse) ProtoReflect ¶
func (x *GetRequestableRolesResponse) ProtoReflect() protoreflect.Message
func (*GetRequestableRolesResponse) Reset ¶
func (x *GetRequestableRolesResponse) Reset()
func (*GetRequestableRolesResponse) String ¶
func (x *GetRequestableRolesResponse) String() string
type GetServersRequest ¶
type GetServersRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` SortBy string `protobuf:"bytes,6,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` SearchAsRoles string `protobuf:"bytes,7,opt,name=search_as_roles,json=searchAsRoles,proto3" json:"search_as_roles,omitempty"` // contains filtered or unexported fields }
func (*GetServersRequest) Descriptor
deprecated
func (*GetServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServersRequest.ProtoReflect.Descriptor instead.
func (*GetServersRequest) GetClusterUri ¶
func (x *GetServersRequest) GetClusterUri() string
func (*GetServersRequest) GetLimit ¶
func (x *GetServersRequest) GetLimit() int32
func (*GetServersRequest) GetQuery ¶
func (x *GetServersRequest) GetQuery() string
func (*GetServersRequest) GetSearch ¶
func (x *GetServersRequest) GetSearch() string
func (*GetServersRequest) GetSearchAsRoles ¶
func (x *GetServersRequest) GetSearchAsRoles() string
func (*GetServersRequest) GetSortBy ¶
func (x *GetServersRequest) GetSortBy() string
func (*GetServersRequest) GetStartKey ¶
func (x *GetServersRequest) GetStartKey() string
func (*GetServersRequest) ProtoMessage ¶
func (*GetServersRequest) ProtoMessage()
func (*GetServersRequest) ProtoReflect ¶
func (x *GetServersRequest) ProtoReflect() protoreflect.Message
func (*GetServersRequest) Reset ¶
func (x *GetServersRequest) Reset()
func (*GetServersRequest) String ¶
func (x *GetServersRequest) String() string
type GetServersResponse ¶
type GetServersResponse struct { Agents []*Server `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` StartKey string `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // contains filtered or unexported fields }
func (*GetServersResponse) Descriptor
deprecated
func (*GetServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServersResponse.ProtoReflect.Descriptor instead.
func (*GetServersResponse) GetAgents ¶
func (x *GetServersResponse) GetAgents() []*Server
func (*GetServersResponse) GetStartKey ¶
func (x *GetServersResponse) GetStartKey() string
func (*GetServersResponse) GetTotalCount ¶
func (x *GetServersResponse) GetTotalCount() int32
func (*GetServersResponse) ProtoMessage ¶
func (*GetServersResponse) ProtoMessage()
func (*GetServersResponse) ProtoReflect ¶
func (x *GetServersResponse) ProtoReflect() protoreflect.Message
func (*GetServersResponse) Reset ¶
func (x *GetServersResponse) Reset()
func (*GetServersResponse) String ¶
func (x *GetServersResponse) String() string
type Kube ¶
type Kube struct { // uri is the kube resource URI Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // name is the kube name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // labels is the kube labels Labels []*Label `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
Kube describes connected Kubernetes cluster
func (*Kube) Descriptor
deprecated
func (*Kube) ProtoMessage ¶
func (*Kube) ProtoMessage()
func (*Kube) ProtoReflect ¶
func (x *Kube) ProtoReflect() protoreflect.Message
type Label ¶
type Label struct { // name is this label name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // value is this label value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Label describes a label
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type ListAppsRequest ¶
type ListAppsRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*ListAppsRequest) Descriptor
deprecated
func (*ListAppsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAppsRequest.ProtoReflect.Descriptor instead.
func (*ListAppsRequest) GetClusterUri ¶
func (x *ListAppsRequest) GetClusterUri() string
func (*ListAppsRequest) ProtoMessage ¶
func (*ListAppsRequest) ProtoMessage()
func (*ListAppsRequest) ProtoReflect ¶
func (x *ListAppsRequest) ProtoReflect() protoreflect.Message
func (*ListAppsRequest) Reset ¶
func (x *ListAppsRequest) Reset()
func (*ListAppsRequest) String ¶
func (x *ListAppsRequest) String() string
type ListAppsResponse ¶
type ListAppsResponse struct { Apps []*App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"` // contains filtered or unexported fields }
func (*ListAppsResponse) Descriptor
deprecated
func (*ListAppsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.
func (*ListAppsResponse) GetApps ¶
func (x *ListAppsResponse) GetApps() []*App
func (*ListAppsResponse) ProtoMessage ¶
func (*ListAppsResponse) ProtoMessage()
func (*ListAppsResponse) ProtoReflect ¶
func (x *ListAppsResponse) ProtoReflect() protoreflect.Message
func (*ListAppsResponse) Reset ¶
func (x *ListAppsResponse) Reset()
func (*ListAppsResponse) String ¶
func (x *ListAppsResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct {
// contains filtered or unexported fields
}
func (*ListClustersRequest) Descriptor
deprecated
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect ¶
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset ¶
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (x *ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*ListClustersResponse) Descriptor
deprecated
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters ¶
func (x *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect ¶
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset ¶
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (x *ListClustersResponse) String() string
type ListDatabaseUsersRequest ¶
type ListDatabaseUsersRequest struct { DbUri string `protobuf:"bytes,1,opt,name=db_uri,json=dbUri,proto3" json:"db_uri,omitempty"` // contains filtered or unexported fields }
func (*ListDatabaseUsersRequest) Descriptor
deprecated
func (*ListDatabaseUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabaseUsersRequest.ProtoReflect.Descriptor instead.
func (*ListDatabaseUsersRequest) GetDbUri ¶
func (x *ListDatabaseUsersRequest) GetDbUri() string
func (*ListDatabaseUsersRequest) ProtoMessage ¶
func (*ListDatabaseUsersRequest) ProtoMessage()
func (*ListDatabaseUsersRequest) ProtoReflect ¶
func (x *ListDatabaseUsersRequest) ProtoReflect() protoreflect.Message
func (*ListDatabaseUsersRequest) Reset ¶
func (x *ListDatabaseUsersRequest) Reset()
func (*ListDatabaseUsersRequest) String ¶
func (x *ListDatabaseUsersRequest) String() string
type ListDatabaseUsersResponse ¶
type ListDatabaseUsersResponse struct { Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListDatabaseUsersResponse) Descriptor
deprecated
func (*ListDatabaseUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabaseUsersResponse.ProtoReflect.Descriptor instead.
func (*ListDatabaseUsersResponse) GetUsers ¶
func (x *ListDatabaseUsersResponse) GetUsers() []string
func (*ListDatabaseUsersResponse) ProtoMessage ¶
func (*ListDatabaseUsersResponse) ProtoMessage()
func (*ListDatabaseUsersResponse) ProtoReflect ¶
func (x *ListDatabaseUsersResponse) ProtoReflect() protoreflect.Message
func (*ListDatabaseUsersResponse) Reset ¶
func (x *ListDatabaseUsersResponse) Reset()
func (*ListDatabaseUsersResponse) String ¶
func (x *ListDatabaseUsersResponse) String() string
type ListGatewaysRequest ¶
type ListGatewaysRequest struct { ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"` // contains filtered or unexported fields }
func (*ListGatewaysRequest) Descriptor
deprecated
func (*ListGatewaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGatewaysRequest.ProtoReflect.Descriptor instead.
func (*ListGatewaysRequest) GetClusterIds ¶
func (x *ListGatewaysRequest) GetClusterIds() []string
func (*ListGatewaysRequest) ProtoMessage ¶
func (*ListGatewaysRequest) ProtoMessage()
func (*ListGatewaysRequest) ProtoReflect ¶
func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message
func (*ListGatewaysRequest) Reset ¶
func (x *ListGatewaysRequest) Reset()
func (*ListGatewaysRequest) String ¶
func (x *ListGatewaysRequest) String() string
type ListGatewaysResponse ¶
type ListGatewaysResponse struct { Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"` // contains filtered or unexported fields }
func (*ListGatewaysResponse) Descriptor
deprecated
func (*ListGatewaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead.
func (*ListGatewaysResponse) GetGateways ¶
func (x *ListGatewaysResponse) GetGateways() []*Gateway
func (*ListGatewaysResponse) ProtoMessage ¶
func (*ListGatewaysResponse) ProtoMessage()
func (*ListGatewaysResponse) ProtoReflect ¶
func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message
func (*ListGatewaysResponse) Reset ¶
func (x *ListGatewaysResponse) Reset()
func (*ListGatewaysResponse) String ¶
func (x *ListGatewaysResponse) String() string
type ListLeafClustersRequest ¶
type ListLeafClustersRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
func (*ListLeafClustersRequest) Descriptor
deprecated
func (*ListLeafClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLeafClustersRequest.ProtoReflect.Descriptor instead.
func (*ListLeafClustersRequest) GetClusterUri ¶
func (x *ListLeafClustersRequest) GetClusterUri() string
func (*ListLeafClustersRequest) ProtoMessage ¶
func (*ListLeafClustersRequest) ProtoMessage()
func (*ListLeafClustersRequest) ProtoReflect ¶
func (x *ListLeafClustersRequest) ProtoReflect() protoreflect.Message
func (*ListLeafClustersRequest) Reset ¶
func (x *ListLeafClustersRequest) Reset()
func (*ListLeafClustersRequest) String ¶
func (x *ListLeafClustersRequest) String() string
type LoggedInUser ¶
type LoggedInUser struct { // name is the user name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // roles is the user roles Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // ssh_logins is the user ssh logins SshLogins []string `protobuf:"bytes,3,rep,name=ssh_logins,json=sshLogins,proto3" json:"ssh_logins,omitempty"` // acl is the user acl Acl *ACL `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"` // active_requests is an array of request-id strings of active requests ActiveRequests []string `protobuf:"bytes,5,rep,name=active_requests,json=activeRequests,proto3" json:"active_requests,omitempty"` // contains filtered or unexported fields }
LoggedInUser describes a logged-in user
func (*LoggedInUser) Descriptor
deprecated
func (*LoggedInUser) Descriptor() ([]byte, []int)
Deprecated: Use LoggedInUser.ProtoReflect.Descriptor instead.
func (*LoggedInUser) GetAcl ¶
func (x *LoggedInUser) GetAcl() *ACL
func (*LoggedInUser) GetActiveRequests ¶
func (x *LoggedInUser) GetActiveRequests() []string
func (*LoggedInUser) GetName ¶
func (x *LoggedInUser) GetName() string
func (*LoggedInUser) GetRoles ¶
func (x *LoggedInUser) GetRoles() []string
func (*LoggedInUser) GetSshLogins ¶
func (x *LoggedInUser) GetSshLogins() []string
func (*LoggedInUser) ProtoMessage ¶
func (*LoggedInUser) ProtoMessage()
func (*LoggedInUser) ProtoReflect ¶
func (x *LoggedInUser) ProtoReflect() protoreflect.Message
func (*LoggedInUser) Reset ¶
func (x *LoggedInUser) Reset()
func (*LoggedInUser) String ¶
func (x *LoggedInUser) String() string
type LoginPasswordlessRequest ¶
type LoginPasswordlessRequest struct { // Types that are assignable to Request: // // *LoginPasswordlessRequest_Init // *LoginPasswordlessRequest_Pin // *LoginPasswordlessRequest_Credential Request isLoginPasswordlessRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
LoginPasswordlessRequest is a message sent by the client during the passwordless login flow.
func (*LoginPasswordlessRequest) Descriptor
deprecated
func (*LoginPasswordlessRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessRequest.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessRequest) GetCredential ¶
func (x *LoginPasswordlessRequest) GetCredential() *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse
func (*LoginPasswordlessRequest) GetInit ¶
func (x *LoginPasswordlessRequest) GetInit() *LoginPasswordlessRequest_LoginPasswordlessRequestInit
func (*LoginPasswordlessRequest) GetPin ¶
func (x *LoginPasswordlessRequest) GetPin() *LoginPasswordlessRequest_LoginPasswordlessPINResponse
func (*LoginPasswordlessRequest) GetRequest ¶
func (m *LoginPasswordlessRequest) GetRequest() isLoginPasswordlessRequest_Request
func (*LoginPasswordlessRequest) ProtoMessage ¶
func (*LoginPasswordlessRequest) ProtoMessage()
func (*LoginPasswordlessRequest) ProtoReflect ¶
func (x *LoginPasswordlessRequest) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessRequest) Reset ¶
func (x *LoginPasswordlessRequest) Reset()
func (*LoginPasswordlessRequest) String ¶
func (x *LoginPasswordlessRequest) String() string
type LoginPasswordlessRequest_Credential ¶
type LoginPasswordlessRequest_Credential struct {
Credential *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse `protobuf:"bytes,3,opt,name=credential,proto3,oneof"`
}
type LoginPasswordlessRequest_Init ¶
type LoginPasswordlessRequest_Init struct {
Init *LoginPasswordlessRequest_LoginPasswordlessRequestInit `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
}
type LoginPasswordlessRequest_LoginPasswordlessCredentialResponse ¶
type LoginPasswordlessRequest_LoginPasswordlessCredentialResponse struct { // index is the associated number in the list of credentials that the user selected to log // in as. Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
LoginPasswordlessPINResponse contains fields related to request from webauthncli.PromptCredential.
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Descriptor
deprecated
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessRequest_LoginPasswordlessCredentialResponse.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) GetIndex ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) GetIndex() int64
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoMessage ¶
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoMessage()
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoReflect ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Reset ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) Reset()
func (*LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) String ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessCredentialResponse) String() string
type LoginPasswordlessRequest_LoginPasswordlessPINResponse ¶
type LoginPasswordlessRequest_LoginPasswordlessPINResponse struct { // pin is the user's device's pin. Pin string `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"` // contains filtered or unexported fields }
LoginPasswordlessPINResponse contains fields related to request from webauthncli.PromptPIN.
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) Descriptor
deprecated
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessRequest_LoginPasswordlessPINResponse.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) GetPin ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) GetPin() string
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoMessage ¶
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoMessage()
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoReflect ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) Reset ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) Reset()
func (*LoginPasswordlessRequest_LoginPasswordlessPINResponse) String ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessPINResponse) String() string
type LoginPasswordlessRequest_LoginPasswordlessRequestInit ¶
type LoginPasswordlessRequest_LoginPasswordlessRequestInit struct { // cluster_uri is needed to resolve cluster by its uri. ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
LoginPasswordlessRequestInit contains fields needed to init the stream request.
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) Descriptor
deprecated
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessRequest_LoginPasswordlessRequestInit.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) GetClusterUri ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) GetClusterUri() string
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoMessage ¶
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoMessage()
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoReflect ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) Reset ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) Reset()
func (*LoginPasswordlessRequest_LoginPasswordlessRequestInit) String ¶
func (x *LoginPasswordlessRequest_LoginPasswordlessRequestInit) String() string
type LoginPasswordlessRequest_Pin ¶
type LoginPasswordlessRequest_Pin struct {
Pin *LoginPasswordlessRequest_LoginPasswordlessPINResponse `protobuf:"bytes,2,opt,name=pin,proto3,oneof"`
}
type LoginPasswordlessResponse ¶
type LoginPasswordlessResponse struct { Prompt PasswordlessPrompt `protobuf:"varint,1,opt,name=prompt,proto3,enum=teleport.terminal.v1.PasswordlessPrompt" json:"prompt,omitempty"` Credentials []*CredentialInfo `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
LoginPasswordlessResponse is a message sent by the server during the passwordless login flow.
func (*LoginPasswordlessResponse) Descriptor
deprecated
func (*LoginPasswordlessResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessResponse.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessResponse) GetCredentials ¶
func (x *LoginPasswordlessResponse) GetCredentials() []*CredentialInfo
func (*LoginPasswordlessResponse) GetPrompt ¶
func (x *LoginPasswordlessResponse) GetPrompt() PasswordlessPrompt
func (*LoginPasswordlessResponse) ProtoMessage ¶
func (*LoginPasswordlessResponse) ProtoMessage()
func (*LoginPasswordlessResponse) ProtoReflect ¶
func (x *LoginPasswordlessResponse) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessResponse) Reset ¶
func (x *LoginPasswordlessResponse) Reset()
func (*LoginPasswordlessResponse) String ¶
func (x *LoginPasswordlessResponse) String() string
type LoginRequest ¶
type LoginRequest struct { // cluster_uri is the cluster uri ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // Types that are assignable to Params: // // *LoginRequest_Local // *LoginRequest_Sso Params isLoginRequest_Params `protobuf_oneof:"params"` // contains filtered or unexported fields }
LoginRequest describes cluster login request
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetClusterUri ¶
func (x *LoginRequest) GetClusterUri() string
func (*LoginRequest) GetLocal ¶
func (x *LoginRequest) GetLocal() *LoginRequest_LocalParams
func (*LoginRequest) GetParams ¶
func (m *LoginRequest) GetParams() isLoginRequest_Params
func (*LoginRequest) GetSso ¶
func (x *LoginRequest) GetSso() *LoginRequest_SsoParams
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginRequest_Local ¶
type LoginRequest_Local struct { // local holds parameters for local logins Local *LoginRequest_LocalParams `protobuf:"bytes,2,opt,name=local,proto3,oneof"` }
type LoginRequest_LocalParams ¶
type LoginRequest_LocalParams struct { // user is the user name User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // password is the user password Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // token is the 2FA token Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
LocalParams describes parameters for local user logins
func (*LoginRequest_LocalParams) Descriptor
deprecated
func (*LoginRequest_LocalParams) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest_LocalParams.ProtoReflect.Descriptor instead.
func (*LoginRequest_LocalParams) GetPassword ¶
func (x *LoginRequest_LocalParams) GetPassword() string
func (*LoginRequest_LocalParams) GetToken ¶
func (x *LoginRequest_LocalParams) GetToken() string
func (*LoginRequest_LocalParams) GetUser ¶
func (x *LoginRequest_LocalParams) GetUser() string
func (*LoginRequest_LocalParams) ProtoMessage ¶
func (*LoginRequest_LocalParams) ProtoMessage()
func (*LoginRequest_LocalParams) ProtoReflect ¶
func (x *LoginRequest_LocalParams) ProtoReflect() protoreflect.Message
func (*LoginRequest_LocalParams) Reset ¶
func (x *LoginRequest_LocalParams) Reset()
func (*LoginRequest_LocalParams) String ¶
func (x *LoginRequest_LocalParams) String() string
type LoginRequest_Sso ¶
type LoginRequest_Sso struct { // sso holds parameters for sso logins Sso *LoginRequest_SsoParams `protobuf:"bytes,3,opt,name=sso,proto3,oneof"` }
type LoginRequest_SsoParams ¶
type LoginRequest_SsoParams struct { // provider_type is the provider type ProviderType string `protobuf:"bytes,1,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"` // provider_name is the provider name ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` // contains filtered or unexported fields }
SsoParams describes SSO parameters
func (*LoginRequest_SsoParams) Descriptor
deprecated
func (*LoginRequest_SsoParams) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest_SsoParams.ProtoReflect.Descriptor instead.
func (*LoginRequest_SsoParams) GetProviderName ¶
func (x *LoginRequest_SsoParams) GetProviderName() string
func (*LoginRequest_SsoParams) GetProviderType ¶
func (x *LoginRequest_SsoParams) GetProviderType() string
func (*LoginRequest_SsoParams) ProtoMessage ¶
func (*LoginRequest_SsoParams) ProtoMessage()
func (*LoginRequest_SsoParams) ProtoReflect ¶
func (x *LoginRequest_SsoParams) ProtoReflect() protoreflect.Message
func (*LoginRequest_SsoParams) Reset ¶
func (x *LoginRequest_SsoParams) Reset()
func (*LoginRequest_SsoParams) String ¶
func (x *LoginRequest_SsoParams) String() string
type LogoutRequest ¶
type LogoutRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
LogoutRequest describes LogoutRequest
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetClusterUri ¶
func (x *LogoutRequest) GetClusterUri() string
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type PasswordlessPrompt ¶
type PasswordlessPrompt int32
PasswordlessPrompt describes different prompts we need from users during the passwordless login flow.
const ( PasswordlessPrompt_PASSWORDLESS_PROMPT_UNSPECIFIED PasswordlessPrompt = 0 // PASSWORDLESS_PROMPT_PIN is used when we need a user's pin. PasswordlessPrompt_PASSWORDLESS_PROMPT_PIN PasswordlessPrompt = 1 // PASSWORDLESS_PROMPT_TAP is used when we require a user to tap their device. PasswordlessPrompt_PASSWORDLESS_PROMPT_TAP PasswordlessPrompt = 2 // PASSWORDLESS_PROMPT_CREDENTIAL is used when we require a user to select a username // associated with their account. PasswordlessPrompt_PASSWORDLESS_PROMPT_CREDENTIAL PasswordlessPrompt = 3 )
func (PasswordlessPrompt) Descriptor ¶
func (PasswordlessPrompt) Descriptor() protoreflect.EnumDescriptor
func (PasswordlessPrompt) Enum ¶
func (x PasswordlessPrompt) Enum() *PasswordlessPrompt
func (PasswordlessPrompt) EnumDescriptor
deprecated
func (PasswordlessPrompt) EnumDescriptor() ([]byte, []int)
Deprecated: Use PasswordlessPrompt.Descriptor instead.
func (PasswordlessPrompt) Number ¶
func (x PasswordlessPrompt) Number() protoreflect.EnumNumber
func (PasswordlessPrompt) String ¶
func (x PasswordlessPrompt) String() string
func (PasswordlessPrompt) Type ¶
func (PasswordlessPrompt) Type() protoreflect.EnumType
type ReloginRequest ¶
type ReloginRequest struct { RootClusterUri string `protobuf:"bytes,1,opt,name=root_cluster_uri,json=rootClusterUri,proto3" json:"root_cluster_uri,omitempty"` // Types that are assignable to Reason: // // *ReloginRequest_GatewayCertExpired Reason isReloginRequest_Reason `protobuf_oneof:"reason"` // contains filtered or unexported fields }
func (*ReloginRequest) Descriptor
deprecated
func (*ReloginRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReloginRequest.ProtoReflect.Descriptor instead.
func (*ReloginRequest) GetGatewayCertExpired ¶
func (x *ReloginRequest) GetGatewayCertExpired() *GatewayCertExpired
func (*ReloginRequest) GetReason ¶
func (m *ReloginRequest) GetReason() isReloginRequest_Reason
func (*ReloginRequest) GetRootClusterUri ¶
func (x *ReloginRequest) GetRootClusterUri() string
func (*ReloginRequest) ProtoMessage ¶
func (*ReloginRequest) ProtoMessage()
func (*ReloginRequest) ProtoReflect ¶
func (x *ReloginRequest) ProtoReflect() protoreflect.Message
func (*ReloginRequest) Reset ¶
func (x *ReloginRequest) Reset()
func (*ReloginRequest) String ¶
func (x *ReloginRequest) String() string
type ReloginRequest_GatewayCertExpired ¶
type ReloginRequest_GatewayCertExpired struct {
GatewayCertExpired *GatewayCertExpired `protobuf:"bytes,2,opt,name=gateway_cert_expired,json=gatewayCertExpired,proto3,oneof"`
}
type ReloginResponse ¶
type ReloginResponse struct {
// contains filtered or unexported fields
}
func (*ReloginResponse) Descriptor
deprecated
func (*ReloginResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReloginResponse.ProtoReflect.Descriptor instead.
func (*ReloginResponse) ProtoMessage ¶
func (*ReloginResponse) ProtoMessage()
func (*ReloginResponse) ProtoReflect ¶
func (x *ReloginResponse) ProtoReflect() protoreflect.Message
func (*ReloginResponse) Reset ¶
func (x *ReloginResponse) Reset()
func (*ReloginResponse) String ¶
func (x *ReloginResponse) String() string
type RemoveClusterRequest ¶
type RemoveClusterRequest struct { ClusterUri string `protobuf:"bytes,1,opt,name=cluster_uri,json=clusterUri,proto3" json:"cluster_uri,omitempty"` // contains filtered or unexported fields }
RemoveClusterRequest describes RemoveClusterRequest
func (*RemoveClusterRequest) Descriptor
deprecated
func (*RemoveClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClusterRequest.ProtoReflect.Descriptor instead.
func (*RemoveClusterRequest) GetClusterUri ¶
func (x *RemoveClusterRequest) GetClusterUri() string
func (*RemoveClusterRequest) ProtoMessage ¶
func (*RemoveClusterRequest) ProtoMessage()
func (*RemoveClusterRequest) ProtoReflect ¶
func (x *RemoveClusterRequest) ProtoReflect() protoreflect.Message
func (*RemoveClusterRequest) Reset ¶
func (x *RemoveClusterRequest) Reset()
func (*RemoveClusterRequest) String ¶
func (x *RemoveClusterRequest) String() string
type RemoveGatewayRequest ¶
type RemoveGatewayRequest struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` // contains filtered or unexported fields }
func (*RemoveGatewayRequest) Descriptor
deprecated
func (*RemoveGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGatewayRequest.ProtoReflect.Descriptor instead.
func (*RemoveGatewayRequest) GetGatewayUri ¶
func (x *RemoveGatewayRequest) GetGatewayUri() string
func (*RemoveGatewayRequest) ProtoMessage ¶
func (*RemoveGatewayRequest) ProtoMessage()
func (*RemoveGatewayRequest) ProtoReflect ¶
func (x *RemoveGatewayRequest) ProtoReflect() protoreflect.Message
func (*RemoveGatewayRequest) Reset ¶
func (x *RemoveGatewayRequest) Reset()
func (*RemoveGatewayRequest) String ¶
func (x *RemoveGatewayRequest) String() string
type ResourceAccess ¶
type ResourceAccess struct { // list determines "list" access List bool `protobuf:"varint,1,opt,name=list,proto3" json:"list,omitempty"` // read determines "read" access Read bool `protobuf:"varint,2,opt,name=read,proto3" json:"read,omitempty"` // edit determines "edit" access Edit bool `protobuf:"varint,3,opt,name=edit,proto3" json:"edit,omitempty"` // create determines "create" access Create bool `protobuf:"varint,4,opt,name=create,proto3" json:"create,omitempty"` // delete determines "delete" access Delete bool `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty"` // contains filtered or unexported fields }
ResourceAccess describes access verbs
func (*ResourceAccess) Descriptor
deprecated
func (*ResourceAccess) Descriptor() ([]byte, []int)
Deprecated: Use ResourceAccess.ProtoReflect.Descriptor instead.
func (*ResourceAccess) GetCreate ¶
func (x *ResourceAccess) GetCreate() bool
func (*ResourceAccess) GetDelete ¶
func (x *ResourceAccess) GetDelete() bool
func (*ResourceAccess) GetEdit ¶
func (x *ResourceAccess) GetEdit() bool
func (*ResourceAccess) GetList ¶
func (x *ResourceAccess) GetList() bool
func (*ResourceAccess) GetRead ¶
func (x *ResourceAccess) GetRead() bool
func (*ResourceAccess) ProtoMessage ¶
func (*ResourceAccess) ProtoMessage()
func (*ResourceAccess) ProtoReflect ¶
func (x *ResourceAccess) ProtoReflect() protoreflect.Message
func (*ResourceAccess) Reset ¶
func (x *ResourceAccess) Reset()
func (*ResourceAccess) String ¶
func (x *ResourceAccess) String() string
type ResourceID ¶
type ResourceID struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ResourceID) Descriptor
deprecated
func (*ResourceID) Descriptor() ([]byte, []int)
Deprecated: Use ResourceID.ProtoReflect.Descriptor instead.
func (*ResourceID) GetClusterName ¶
func (x *ResourceID) GetClusterName() string
func (*ResourceID) GetKind ¶
func (x *ResourceID) GetKind() string
func (*ResourceID) GetName ¶
func (x *ResourceID) GetName() string
func (*ResourceID) ProtoMessage ¶
func (*ResourceID) ProtoMessage()
func (*ResourceID) ProtoReflect ¶
func (x *ResourceID) ProtoReflect() protoreflect.Message
func (*ResourceID) Reset ¶
func (x *ResourceID) Reset()
func (*ResourceID) String ¶
func (x *ResourceID) String() string
type RestartGatewayRequest ¶
type RestartGatewayRequest struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` // contains filtered or unexported fields }
func (*RestartGatewayRequest) Descriptor
deprecated
func (*RestartGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartGatewayRequest.ProtoReflect.Descriptor instead.
func (*RestartGatewayRequest) GetGatewayUri ¶
func (x *RestartGatewayRequest) GetGatewayUri() string
func (*RestartGatewayRequest) ProtoMessage ¶
func (*RestartGatewayRequest) ProtoMessage()
func (*RestartGatewayRequest) ProtoReflect ¶
func (x *RestartGatewayRequest) ProtoReflect() protoreflect.Message
func (*RestartGatewayRequest) Reset ¶
func (x *RestartGatewayRequest) Reset()
func (*RestartGatewayRequest) String ¶
func (x *RestartGatewayRequest) String() string
type ReviewAccessRequestRequest ¶
type ReviewAccessRequestRequest struct { RootClusterUri string `protobuf:"bytes,1,opt,name=root_cluster_uri,json=rootClusterUri,proto3" json:"root_cluster_uri,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` AccessRequestId string `protobuf:"bytes,5,opt,name=access_request_id,json=accessRequestId,proto3" json:"access_request_id,omitempty"` // contains filtered or unexported fields }
func (*ReviewAccessRequestRequest) Descriptor
deprecated
func (*ReviewAccessRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReviewAccessRequestRequest.ProtoReflect.Descriptor instead.
func (*ReviewAccessRequestRequest) GetAccessRequestId ¶
func (x *ReviewAccessRequestRequest) GetAccessRequestId() string
func (*ReviewAccessRequestRequest) GetReason ¶
func (x *ReviewAccessRequestRequest) GetReason() string
func (*ReviewAccessRequestRequest) GetRoles ¶
func (x *ReviewAccessRequestRequest) GetRoles() []string
func (*ReviewAccessRequestRequest) GetRootClusterUri ¶
func (x *ReviewAccessRequestRequest) GetRootClusterUri() string
func (*ReviewAccessRequestRequest) GetState ¶
func (x *ReviewAccessRequestRequest) GetState() string
func (*ReviewAccessRequestRequest) ProtoMessage ¶
func (*ReviewAccessRequestRequest) ProtoMessage()
func (*ReviewAccessRequestRequest) ProtoReflect ¶
func (x *ReviewAccessRequestRequest) ProtoReflect() protoreflect.Message
func (*ReviewAccessRequestRequest) Reset ¶
func (x *ReviewAccessRequestRequest) Reset()
func (*ReviewAccessRequestRequest) String ¶
func (x *ReviewAccessRequestRequest) String() string
type ReviewAccessRequestResponse ¶
type ReviewAccessRequestResponse struct { Request *AccessRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*ReviewAccessRequestResponse) Descriptor
deprecated
func (*ReviewAccessRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReviewAccessRequestResponse.ProtoReflect.Descriptor instead.
func (*ReviewAccessRequestResponse) GetRequest ¶
func (x *ReviewAccessRequestResponse) GetRequest() *AccessRequest
func (*ReviewAccessRequestResponse) ProtoMessage ¶
func (*ReviewAccessRequestResponse) ProtoMessage()
func (*ReviewAccessRequestResponse) ProtoReflect ¶
func (x *ReviewAccessRequestResponse) ProtoReflect() protoreflect.Message
func (*ReviewAccessRequestResponse) Reset ¶
func (x *ReviewAccessRequestResponse) Reset()
func (*ReviewAccessRequestResponse) String ¶
func (x *ReviewAccessRequestResponse) String() string
type SendNotificationRequest ¶
type SendNotificationRequest struct { // Types that are assignable to Subject: // // *SendNotificationRequest_CannotProxyGatewayConnection Subject isSendNotificationRequest_Subject `protobuf_oneof:"subject"` // contains filtered or unexported fields }
func (*SendNotificationRequest) Descriptor
deprecated
func (*SendNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendNotificationRequest.ProtoReflect.Descriptor instead.
func (*SendNotificationRequest) GetCannotProxyGatewayConnection ¶
func (x *SendNotificationRequest) GetCannotProxyGatewayConnection() *CannotProxyGatewayConnection
func (*SendNotificationRequest) GetSubject ¶
func (m *SendNotificationRequest) GetSubject() isSendNotificationRequest_Subject
func (*SendNotificationRequest) ProtoMessage ¶
func (*SendNotificationRequest) ProtoMessage()
func (*SendNotificationRequest) ProtoReflect ¶
func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
func (*SendNotificationRequest) Reset ¶
func (x *SendNotificationRequest) Reset()
func (*SendNotificationRequest) String ¶
func (x *SendNotificationRequest) String() string
type SendNotificationRequest_CannotProxyGatewayConnection ¶
type SendNotificationRequest_CannotProxyGatewayConnection struct {
CannotProxyGatewayConnection *CannotProxyGatewayConnection `protobuf:"bytes,1,opt,name=cannot_proxy_gateway_connection,json=cannotProxyGatewayConnection,proto3,oneof"`
}
type SendNotificationResponse ¶
type SendNotificationResponse struct {
// contains filtered or unexported fields
}
func (*SendNotificationResponse) Descriptor
deprecated
func (*SendNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendNotificationResponse.ProtoReflect.Descriptor instead.
func (*SendNotificationResponse) ProtoMessage ¶
func (*SendNotificationResponse) ProtoMessage()
func (*SendNotificationResponse) ProtoReflect ¶
func (x *SendNotificationResponse) ProtoReflect() protoreflect.Message
func (*SendNotificationResponse) Reset ¶
func (x *SendNotificationResponse) Reset()
func (*SendNotificationResponse) String ¶
func (x *SendNotificationResponse) String() string
type Server ¶
type Server struct { // uri is the server uri Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // tunnel indicates if this server is connected over a reverse tunnel Tunnel bool `protobuf:"varint,2,opt,name=tunnel,proto3" json:"tunnel,omitempty"` // name is the server name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // hostname is this server hostname Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // addr is this server ip address Addr string `protobuf:"bytes,5,opt,name=addr,proto3" json:"addr,omitempty"` // labels is this server list of labels Labels []*Label `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
Server describes connected Server
func (*Server) Descriptor
deprecated
func (*Server) GetHostname ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type SetGatewayLocalPortRequest ¶
type SetGatewayLocalPortRequest struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` LocalPort string `protobuf:"bytes,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` // contains filtered or unexported fields }
func (*SetGatewayLocalPortRequest) Descriptor
deprecated
func (*SetGatewayLocalPortRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGatewayLocalPortRequest.ProtoReflect.Descriptor instead.
func (*SetGatewayLocalPortRequest) GetGatewayUri ¶
func (x *SetGatewayLocalPortRequest) GetGatewayUri() string
func (*SetGatewayLocalPortRequest) GetLocalPort ¶
func (x *SetGatewayLocalPortRequest) GetLocalPort() string
func (*SetGatewayLocalPortRequest) ProtoMessage ¶
func (*SetGatewayLocalPortRequest) ProtoMessage()
func (*SetGatewayLocalPortRequest) ProtoReflect ¶
func (x *SetGatewayLocalPortRequest) ProtoReflect() protoreflect.Message
func (*SetGatewayLocalPortRequest) Reset ¶
func (x *SetGatewayLocalPortRequest) Reset()
func (*SetGatewayLocalPortRequest) String ¶
func (x *SetGatewayLocalPortRequest) String() string
type SetGatewayTargetSubresourceNameRequest ¶
type SetGatewayTargetSubresourceNameRequest struct { GatewayUri string `protobuf:"bytes,1,opt,name=gateway_uri,json=gatewayUri,proto3" json:"gateway_uri,omitempty"` TargetSubresourceName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetGatewayTargetSubresourceNameRequest) Descriptor
deprecated
func (*SetGatewayTargetSubresourceNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGatewayTargetSubresourceNameRequest.ProtoReflect.Descriptor instead.
func (*SetGatewayTargetSubresourceNameRequest) GetGatewayUri ¶
func (x *SetGatewayTargetSubresourceNameRequest) GetGatewayUri() string
func (*SetGatewayTargetSubresourceNameRequest) GetTargetSubresourceName ¶
func (x *SetGatewayTargetSubresourceNameRequest) GetTargetSubresourceName() string
func (*SetGatewayTargetSubresourceNameRequest) ProtoMessage ¶
func (*SetGatewayTargetSubresourceNameRequest) ProtoMessage()
func (*SetGatewayTargetSubresourceNameRequest) ProtoReflect ¶
func (x *SetGatewayTargetSubresourceNameRequest) ProtoReflect() protoreflect.Message
func (*SetGatewayTargetSubresourceNameRequest) Reset ¶
func (x *SetGatewayTargetSubresourceNameRequest) Reset()
func (*SetGatewayTargetSubresourceNameRequest) String ¶
func (x *SetGatewayTargetSubresourceNameRequest) String() string
type TerminalServiceClient ¶
type TerminalServiceClient interface { // UpdateTshdEventsServerAddress lets the Electron app update the address the tsh daemon is // supposed to use when connecting to the tshd events gRPC service. This RPC needs to be made // before any other from this service. // // The service is supposed to return a response from this call only after the client is ready. UpdateTshdEventsServerAddress(ctx context.Context, in *UpdateTshdEventsServerAddressRequest, opts ...grpc.CallOption) (*UpdateTshdEventsServerAddressResponse, error) // ListRootClusters lists root clusters // Does not include detailed cluster information that would require a network request. ListRootClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // ListLeafClusters lists leaf clusters // Does not include detailed cluster information that would require a network request. ListLeafClusters(ctx context.Context, in *ListLeafClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // GetAllDatabases lists all databases without pagination GetAllDatabases(ctx context.Context, in *GetAllDatabasesRequest, opts ...grpc.CallOption) (*GetAllDatabasesResponse, error) // GetDatabases returns a filtered and paginated list of databases GetDatabases(ctx context.Context, in *GetDatabasesRequest, opts ...grpc.CallOption) (*GetDatabasesResponse, error) // ListDatabaseUsers lists allowed users for the given database based on the role set. ListDatabaseUsers(ctx context.Context, in *ListDatabaseUsersRequest, opts ...grpc.CallOption) (*ListDatabaseUsersResponse, error) // GetAllServers returns all servers GetAllServers(ctx context.Context, in *GetAllServersRequest, opts ...grpc.CallOption) (*GetAllServersResponse, error) // GetServers returns filtered, sorted, and paginated servers GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error) // GetAccessRequests lists filtered AccessRequests GetAccessRequests(ctx context.Context, in *GetAccessRequestsRequest, opts ...grpc.CallOption) (*GetAccessRequestsResponse, error) // GetAccessRequest retreives a single Access Request GetAccessRequest(ctx context.Context, in *GetAccessRequestRequest, opts ...grpc.CallOption) (*GetAccessRequestResponse, error) // DeleteAccessRequest deletes the access request by id DeleteAccessRequest(ctx context.Context, in *DeleteAccessRequestRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // CreateAccessRequest creates an access request CreateAccessRequest(ctx context.Context, in *CreateAccessRequestRequest, opts ...grpc.CallOption) (*CreateAccessRequestResponse, error) // ReviewAccessRequest submits a review for an Access Request ReviewAccessRequest(ctx context.Context, in *ReviewAccessRequestRequest, opts ...grpc.CallOption) (*ReviewAccessRequestResponse, error) // GetRequestableRoles gets all requestable roles GetRequestableRoles(ctx context.Context, in *GetRequestableRolesRequest, opts ...grpc.CallOption) (*GetRequestableRolesResponse, error) // AssumeRole assumes the role of the given access request AssumeRole(ctx context.Context, in *AssumeRoleRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // GetAllKubes list all kubes GetAllKubes(ctx context.Context, in *GetAllKubesRequest, opts ...grpc.CallOption) (*GetAllKubesResponse, error) // GetKubes returns filtered, sorted, and paginated kubes GetKubes(ctx context.Context, in *GetKubesRequest, opts ...grpc.CallOption) (*GetKubesResponse, error) // ListApps list apps ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*ListAppsResponse, error) // AddCluster adds a cluster to profile AddCluster(ctx context.Context, in *AddClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // RemoveCluster removes a cluster from profile RemoveCluster(ctx context.Context, in *RemoveClusterRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // ListGateways lists gateways ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error) // CreateGateway creates a gateway CreateGateway(ctx context.Context, in *CreateGatewayRequest, opts ...grpc.CallOption) (*Gateway, error) // RemoveGateway removes a gateway RemoveGateway(ctx context.Context, in *RemoveGatewayRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // RestartGateway stops a gateway and starts a new with identical parameters, keeping the // original URI. A temporary workaround until it's possible to refresh certs in a running // database proxy. RestartGateway(ctx context.Context, in *RestartGatewayRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // SetGatewayTargetSubresourceName changes the TargetSubresourceName field of gateway.Gateway // and returns the updated version of gateway.Gateway. // // In Connect this is used to update the db name of a db connection along with the CLI command. SetGatewayTargetSubresourceName(ctx context.Context, in *SetGatewayTargetSubresourceNameRequest, opts ...grpc.CallOption) (*Gateway, error) // SetGatewayLocalPort starts a new gateway on the new port, stops the old gateway and then // assigns the URI of the old gateway to the new one. It does so without fetching a new db cert. SetGatewayLocalPort(ctx context.Context, in *SetGatewayLocalPortRequest, opts ...grpc.CallOption) (*Gateway, error) // GetAuthSettings returns cluster auth settigns GetAuthSettings(ctx context.Context, in *GetAuthSettingsRequest, opts ...grpc.CallOption) (*AuthSettings, error) // GetCluster returns cluster. Makes a network request and includes detailed // information about enterprise features availabed on the connected auth server GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Login logs in a user to a cluster Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // LoginPasswordless logs in a user to a cluster passwordlessly. // // The RPC is streaming both ways and the message sequence example for hardware keys are: // (-> means client-to-server, <- means server-to-client) // // Hardware keys: // -> Init // <- Send PasswordlessPrompt enum TAP to choose a device // -> Receive TAP device response // <- Send PasswordlessPrompt enum PIN // -> Receive PIN response // <- Send PasswordlessPrompt enum RETAP to confirm // -> Receive RETAP device response // <- Send list of credentials (e.g. usernames) associated with device // -> Receive the index number associated with the selected credential in list // <- End LoginPasswordless(ctx context.Context, opts ...grpc.CallOption) (TerminalService_LoginPasswordlessClient, error) // ClusterLogin logs out a user from cluster Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*EmptyResponse, error) // TransferFile sends a request to download/upload a file TransferFile(ctx context.Context, in *FileTransferRequest, opts ...grpc.CallOption) (TerminalService_TransferFileClient, error) }
TerminalServiceClient is the client API for TerminalService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTerminalServiceClient ¶
func NewTerminalServiceClient(cc grpc.ClientConnInterface) TerminalServiceClient
type TerminalServiceServer ¶
type TerminalServiceServer interface { // UpdateTshdEventsServerAddress lets the Electron app update the address the tsh daemon is // supposed to use when connecting to the tshd events gRPC service. This RPC needs to be made // before any other from this service. // // The service is supposed to return a response from this call only after the client is ready. UpdateTshdEventsServerAddress(context.Context, *UpdateTshdEventsServerAddressRequest) (*UpdateTshdEventsServerAddressResponse, error) // ListRootClusters lists root clusters // Does not include detailed cluster information that would require a network request. ListRootClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // ListLeafClusters lists leaf clusters // Does not include detailed cluster information that would require a network request. ListLeafClusters(context.Context, *ListLeafClustersRequest) (*ListClustersResponse, error) // GetAllDatabases lists all databases without pagination GetAllDatabases(context.Context, *GetAllDatabasesRequest) (*GetAllDatabasesResponse, error) // GetDatabases returns a filtered and paginated list of databases GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error) // ListDatabaseUsers lists allowed users for the given database based on the role set. ListDatabaseUsers(context.Context, *ListDatabaseUsersRequest) (*ListDatabaseUsersResponse, error) // GetAllServers returns all servers GetAllServers(context.Context, *GetAllServersRequest) (*GetAllServersResponse, error) // GetServers returns filtered, sorted, and paginated servers GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error) // GetAccessRequests lists filtered AccessRequests GetAccessRequests(context.Context, *GetAccessRequestsRequest) (*GetAccessRequestsResponse, error) // GetAccessRequest retreives a single Access Request GetAccessRequest(context.Context, *GetAccessRequestRequest) (*GetAccessRequestResponse, error) // DeleteAccessRequest deletes the access request by id DeleteAccessRequest(context.Context, *DeleteAccessRequestRequest) (*EmptyResponse, error) // CreateAccessRequest creates an access request CreateAccessRequest(context.Context, *CreateAccessRequestRequest) (*CreateAccessRequestResponse, error) // ReviewAccessRequest submits a review for an Access Request ReviewAccessRequest(context.Context, *ReviewAccessRequestRequest) (*ReviewAccessRequestResponse, error) // GetRequestableRoles gets all requestable roles GetRequestableRoles(context.Context, *GetRequestableRolesRequest) (*GetRequestableRolesResponse, error) // AssumeRole assumes the role of the given access request AssumeRole(context.Context, *AssumeRoleRequest) (*EmptyResponse, error) // GetAllKubes list all kubes GetAllKubes(context.Context, *GetAllKubesRequest) (*GetAllKubesResponse, error) // GetKubes returns filtered, sorted, and paginated kubes GetKubes(context.Context, *GetKubesRequest) (*GetKubesResponse, error) // ListApps list apps ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error) // AddCluster adds a cluster to profile AddCluster(context.Context, *AddClusterRequest) (*Cluster, error) // RemoveCluster removes a cluster from profile RemoveCluster(context.Context, *RemoveClusterRequest) (*EmptyResponse, error) // ListGateways lists gateways ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error) // CreateGateway creates a gateway CreateGateway(context.Context, *CreateGatewayRequest) (*Gateway, error) // RemoveGateway removes a gateway RemoveGateway(context.Context, *RemoveGatewayRequest) (*EmptyResponse, error) // RestartGateway stops a gateway and starts a new with identical parameters, keeping the // original URI. A temporary workaround until it's possible to refresh certs in a running // database proxy. RestartGateway(context.Context, *RestartGatewayRequest) (*EmptyResponse, error) // SetGatewayTargetSubresourceName changes the TargetSubresourceName field of gateway.Gateway // and returns the updated version of gateway.Gateway. // // In Connect this is used to update the db name of a db connection along with the CLI command. SetGatewayTargetSubresourceName(context.Context, *SetGatewayTargetSubresourceNameRequest) (*Gateway, error) // SetGatewayLocalPort starts a new gateway on the new port, stops the old gateway and then // assigns the URI of the old gateway to the new one. It does so without fetching a new db cert. SetGatewayLocalPort(context.Context, *SetGatewayLocalPortRequest) (*Gateway, error) // GetAuthSettings returns cluster auth settigns GetAuthSettings(context.Context, *GetAuthSettingsRequest) (*AuthSettings, error) // GetCluster returns cluster. Makes a network request and includes detailed // information about enterprise features availabed on the connected auth server GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Login logs in a user to a cluster Login(context.Context, *LoginRequest) (*EmptyResponse, error) // LoginPasswordless logs in a user to a cluster passwordlessly. // // The RPC is streaming both ways and the message sequence example for hardware keys are: // (-> means client-to-server, <- means server-to-client) // // Hardware keys: // -> Init // <- Send PasswordlessPrompt enum TAP to choose a device // -> Receive TAP device response // <- Send PasswordlessPrompt enum PIN // -> Receive PIN response // <- Send PasswordlessPrompt enum RETAP to confirm // -> Receive RETAP device response // <- Send list of credentials (e.g. usernames) associated with device // -> Receive the index number associated with the selected credential in list // <- End LoginPasswordless(TerminalService_LoginPasswordlessServer) error // ClusterLogin logs out a user from cluster Logout(context.Context, *LogoutRequest) (*EmptyResponse, error) // TransferFile sends a request to download/upload a file TransferFile(*FileTransferRequest, TerminalService_TransferFileServer) error // contains filtered or unexported methods }
TerminalServiceServer is the server API for TerminalService service. All implementations must embed UnimplementedTerminalServiceServer for forward compatibility
type TerminalService_LoginPasswordlessClient ¶
type TerminalService_LoginPasswordlessClient interface { Send(*LoginPasswordlessRequest) error Recv() (*LoginPasswordlessResponse, error) grpc.ClientStream }
type TerminalService_LoginPasswordlessServer ¶
type TerminalService_LoginPasswordlessServer interface { Send(*LoginPasswordlessResponse) error Recv() (*LoginPasswordlessRequest, error) grpc.ServerStream }
type TerminalService_TransferFileClient ¶
type TerminalService_TransferFileClient interface { Recv() (*FileTransferProgress, error) grpc.ClientStream }
type TerminalService_TransferFileServer ¶
type TerminalService_TransferFileServer interface { Send(*FileTransferProgress) error grpc.ServerStream }
type TshdEventsServiceClient ¶
type TshdEventsServiceClient interface { // Relogin makes the Electron app display a login modal for the specific root cluster. The request // returns a response after the relogin procedure has been successfully finished. Relogin(ctx context.Context, in *ReloginRequest, opts ...grpc.CallOption) (*ReloginResponse, error) // SendNotification causes the Electron app to display a notification in the UI. The request // accepts a specific message rather than a generic string so that the Electron is in control as // to what message is displayed and how exactly it looks. SendNotification(ctx context.Context, in *SendNotificationRequest, opts ...grpc.CallOption) (*SendNotificationResponse, error) }
TshdEventsServiceClient is the client API for TshdEventsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTshdEventsServiceClient ¶
func NewTshdEventsServiceClient(cc grpc.ClientConnInterface) TshdEventsServiceClient
type TshdEventsServiceServer ¶
type TshdEventsServiceServer interface { // Relogin makes the Electron app display a login modal for the specific root cluster. The request // returns a response after the relogin procedure has been successfully finished. Relogin(context.Context, *ReloginRequest) (*ReloginResponse, error) // SendNotification causes the Electron app to display a notification in the UI. The request // accepts a specific message rather than a generic string so that the Electron is in control as // to what message is displayed and how exactly it looks. SendNotification(context.Context, *SendNotificationRequest) (*SendNotificationResponse, error) // contains filtered or unexported methods }
TshdEventsServiceServer is the server API for TshdEventsService service. All implementations must embed UnimplementedTshdEventsServiceServer for forward compatibility
type UnimplementedTerminalServiceServer ¶
type UnimplementedTerminalServiceServer struct { }
UnimplementedTerminalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTerminalServiceServer) AddCluster ¶
func (UnimplementedTerminalServiceServer) AddCluster(context.Context, *AddClusterRequest) (*Cluster, error)
func (UnimplementedTerminalServiceServer) AssumeRole ¶
func (UnimplementedTerminalServiceServer) AssumeRole(context.Context, *AssumeRoleRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) CreateAccessRequest ¶
func (UnimplementedTerminalServiceServer) CreateAccessRequest(context.Context, *CreateAccessRequestRequest) (*CreateAccessRequestResponse, error)
func (UnimplementedTerminalServiceServer) CreateGateway ¶
func (UnimplementedTerminalServiceServer) CreateGateway(context.Context, *CreateGatewayRequest) (*Gateway, error)
func (UnimplementedTerminalServiceServer) DeleteAccessRequest ¶
func (UnimplementedTerminalServiceServer) DeleteAccessRequest(context.Context, *DeleteAccessRequestRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) GetAccessRequest ¶
func (UnimplementedTerminalServiceServer) GetAccessRequest(context.Context, *GetAccessRequestRequest) (*GetAccessRequestResponse, error)
func (UnimplementedTerminalServiceServer) GetAccessRequests ¶
func (UnimplementedTerminalServiceServer) GetAccessRequests(context.Context, *GetAccessRequestsRequest) (*GetAccessRequestsResponse, error)
func (UnimplementedTerminalServiceServer) GetAllDatabases ¶
func (UnimplementedTerminalServiceServer) GetAllDatabases(context.Context, *GetAllDatabasesRequest) (*GetAllDatabasesResponse, error)
func (UnimplementedTerminalServiceServer) GetAllKubes ¶
func (UnimplementedTerminalServiceServer) GetAllKubes(context.Context, *GetAllKubesRequest) (*GetAllKubesResponse, error)
func (UnimplementedTerminalServiceServer) GetAllServers ¶
func (UnimplementedTerminalServiceServer) GetAllServers(context.Context, *GetAllServersRequest) (*GetAllServersResponse, error)
func (UnimplementedTerminalServiceServer) GetAuthSettings ¶
func (UnimplementedTerminalServiceServer) GetAuthSettings(context.Context, *GetAuthSettingsRequest) (*AuthSettings, error)
func (UnimplementedTerminalServiceServer) GetCluster ¶
func (UnimplementedTerminalServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (UnimplementedTerminalServiceServer) GetDatabases ¶
func (UnimplementedTerminalServiceServer) GetDatabases(context.Context, *GetDatabasesRequest) (*GetDatabasesResponse, error)
func (UnimplementedTerminalServiceServer) GetKubes ¶
func (UnimplementedTerminalServiceServer) GetKubes(context.Context, *GetKubesRequest) (*GetKubesResponse, error)
func (UnimplementedTerminalServiceServer) GetRequestableRoles ¶
func (UnimplementedTerminalServiceServer) GetRequestableRoles(context.Context, *GetRequestableRolesRequest) (*GetRequestableRolesResponse, error)
func (UnimplementedTerminalServiceServer) GetServers ¶
func (UnimplementedTerminalServiceServer) GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
func (UnimplementedTerminalServiceServer) ListApps ¶
func (UnimplementedTerminalServiceServer) ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
func (UnimplementedTerminalServiceServer) ListDatabaseUsers ¶
func (UnimplementedTerminalServiceServer) ListDatabaseUsers(context.Context, *ListDatabaseUsersRequest) (*ListDatabaseUsersResponse, error)
func (UnimplementedTerminalServiceServer) ListGateways ¶
func (UnimplementedTerminalServiceServer) ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error)
func (UnimplementedTerminalServiceServer) ListLeafClusters ¶
func (UnimplementedTerminalServiceServer) ListLeafClusters(context.Context, *ListLeafClustersRequest) (*ListClustersResponse, error)
func (UnimplementedTerminalServiceServer) ListRootClusters ¶
func (UnimplementedTerminalServiceServer) ListRootClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedTerminalServiceServer) Login ¶
func (UnimplementedTerminalServiceServer) Login(context.Context, *LoginRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) LoginPasswordless ¶
func (UnimplementedTerminalServiceServer) LoginPasswordless(TerminalService_LoginPasswordlessServer) error
func (UnimplementedTerminalServiceServer) Logout ¶
func (UnimplementedTerminalServiceServer) Logout(context.Context, *LogoutRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) RemoveCluster ¶
func (UnimplementedTerminalServiceServer) RemoveCluster(context.Context, *RemoveClusterRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) RemoveGateway ¶
func (UnimplementedTerminalServiceServer) RemoveGateway(context.Context, *RemoveGatewayRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) RestartGateway ¶
func (UnimplementedTerminalServiceServer) RestartGateway(context.Context, *RestartGatewayRequest) (*EmptyResponse, error)
func (UnimplementedTerminalServiceServer) ReviewAccessRequest ¶
func (UnimplementedTerminalServiceServer) ReviewAccessRequest(context.Context, *ReviewAccessRequestRequest) (*ReviewAccessRequestResponse, error)
func (UnimplementedTerminalServiceServer) SetGatewayLocalPort ¶
func (UnimplementedTerminalServiceServer) SetGatewayLocalPort(context.Context, *SetGatewayLocalPortRequest) (*Gateway, error)
func (UnimplementedTerminalServiceServer) SetGatewayTargetSubresourceName ¶
func (UnimplementedTerminalServiceServer) SetGatewayTargetSubresourceName(context.Context, *SetGatewayTargetSubresourceNameRequest) (*Gateway, error)
func (UnimplementedTerminalServiceServer) TransferFile ¶
func (UnimplementedTerminalServiceServer) TransferFile(*FileTransferRequest, TerminalService_TransferFileServer) error
func (UnimplementedTerminalServiceServer) UpdateTshdEventsServerAddress ¶
func (UnimplementedTerminalServiceServer) UpdateTshdEventsServerAddress(context.Context, *UpdateTshdEventsServerAddressRequest) (*UpdateTshdEventsServerAddressResponse, error)
type UnimplementedTshdEventsServiceServer ¶
type UnimplementedTshdEventsServiceServer struct { }
UnimplementedTshdEventsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTshdEventsServiceServer) Relogin ¶
func (UnimplementedTshdEventsServiceServer) Relogin(context.Context, *ReloginRequest) (*ReloginResponse, error)
func (UnimplementedTshdEventsServiceServer) SendNotification ¶
func (UnimplementedTshdEventsServiceServer) SendNotification(context.Context, *SendNotificationRequest) (*SendNotificationResponse, error)
type UnsafeTerminalServiceServer ¶
type UnsafeTerminalServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTerminalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TerminalServiceServer will result in compilation errors.
type UnsafeTshdEventsServiceServer ¶
type UnsafeTshdEventsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTshdEventsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TshdEventsServiceServer will result in compilation errors.
type UpdateTshdEventsServerAddressRequest ¶
type UpdateTshdEventsServerAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*UpdateTshdEventsServerAddressRequest) Descriptor
deprecated
func (*UpdateTshdEventsServerAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTshdEventsServerAddressRequest.ProtoReflect.Descriptor instead.
func (*UpdateTshdEventsServerAddressRequest) GetAddress ¶
func (x *UpdateTshdEventsServerAddressRequest) GetAddress() string
func (*UpdateTshdEventsServerAddressRequest) ProtoMessage ¶
func (*UpdateTshdEventsServerAddressRequest) ProtoMessage()
func (*UpdateTshdEventsServerAddressRequest) ProtoReflect ¶
func (x *UpdateTshdEventsServerAddressRequest) ProtoReflect() protoreflect.Message
func (*UpdateTshdEventsServerAddressRequest) Reset ¶
func (x *UpdateTshdEventsServerAddressRequest) Reset()
func (*UpdateTshdEventsServerAddressRequest) String ¶
func (x *UpdateTshdEventsServerAddressRequest) String() string
type UpdateTshdEventsServerAddressResponse ¶
type UpdateTshdEventsServerAddressResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTshdEventsServerAddressResponse) Descriptor
deprecated
func (*UpdateTshdEventsServerAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTshdEventsServerAddressResponse.ProtoReflect.Descriptor instead.
func (*UpdateTshdEventsServerAddressResponse) ProtoMessage ¶
func (*UpdateTshdEventsServerAddressResponse) ProtoMessage()
func (*UpdateTshdEventsServerAddressResponse) ProtoReflect ¶
func (x *UpdateTshdEventsServerAddressResponse) ProtoReflect() protoreflect.Message
func (*UpdateTshdEventsServerAddressResponse) Reset ¶
func (x *UpdateTshdEventsServerAddressResponse) Reset()
func (*UpdateTshdEventsServerAddressResponse) String ¶
func (x *UpdateTshdEventsServerAddressResponse) String() string