Documentation
¶
Index ¶
- Constants
- Variables
- func DefaultAddr() string
- func RegisterAPIMiddlewareServer(s grpc.ServiceRegistrar, srv APIMiddlewareServer)
- func RegisterAPIRoutesServer(s grpc.ServiceRegistrar, srv APIRoutesServer)
- func RegisterIdentityFrameworkServer(s grpc.ServiceRegistrar, srv IdentityFrameworkServer)
- func RegisterIdentityProviderServer(s grpc.ServiceRegistrar, srv IdentityProviderServer)
- func RegisterMonitoringFrameworkServer(s grpc.ServiceRegistrar, srv MonitoringFrameworkServer)
- func RegisterMonitoringLogsServer(s grpc.ServiceRegistrar, srv MonitoringLogsServer)
- func RegisterMonitoringSourceServer(s grpc.ServiceRegistrar, srv MonitoringSourceServer)
- func RegisterMonitoringTracesServer(s grpc.ServiceRegistrar, srv MonitoringTracesServer)
- func RegisterPluginHealthServer(s grpc.ServiceRegistrar, srv PluginHealthServer)
- func RegisterUIManifestServiceServer(s grpc.ServiceRegistrar, srv UIManifestServiceServer)
- func Serve(addr string, base *BasePlugin, register ...func(*grpc.Server)) error
- type APIMiddlewareClient
- type APIMiddlewareServer
- type APIRoutesClient
- type APIRoutesServer
- type AssignRoleRequest
- func (*AssignRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignRoleRequest) GetRole() string
- func (x *AssignRoleRequest) GetUserId() string
- func (*AssignRoleRequest) ProtoMessage()
- func (x *AssignRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AssignRoleRequest) Reset()
- func (x *AssignRoleRequest) String() string
- type AssignRoleResponse
- func (*AssignRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignRoleResponse) GetError() *Error
- func (x *AssignRoleResponse) GetOk() bool
- func (x *AssignRoleResponse) GetResult() isAssignRoleResponse_Result
- func (*AssignRoleResponse) ProtoMessage()
- func (x *AssignRoleResponse) ProtoReflect() protoreflect.Message
- func (x *AssignRoleResponse) Reset()
- func (x *AssignRoleResponse) String() string
- type AssignRoleResponse_Error
- type AssignRoleResponse_Ok
- type BasePlugin
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrentPassword() string
- func (x *ChangePasswordRequest) GetNewPassword() string
- func (x *ChangePasswordRequest) GetUserId() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetError() *Error
- func (x *ChangePasswordResponse) GetOk() bool
- func (x *ChangePasswordResponse) GetResult() isChangePasswordResponse_Result
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- type ChangePasswordResponse_Error
- type ChangePasswordResponse_Ok
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetFirstName() string
- func (x *CreateUserRequest) GetLastName() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetError() *Error
- func (x *CreateUserResponse) GetResult() isCreateUserResponse_Result
- func (x *CreateUserResponse) GetUserId() string
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type CreateUserResponse_Error
- type CreateUserResponse_UserId
- type DeleteUserRequest
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetError() *Error
- func (x *DeleteUserResponse) GetOk() bool
- func (x *DeleteUserResponse) GetResult() isDeleteUserResponse_Result
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- type DeleteUserResponse_Error
- type DeleteUserResponse_Ok
- type EnsureAdminRequest
- func (*EnsureAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureAdminRequest) GetEmail() string
- func (x *EnsureAdminRequest) GetPassword() string
- func (x *EnsureAdminRequest) GetUsername() string
- func (*EnsureAdminRequest) ProtoMessage()
- func (x *EnsureAdminRequest) ProtoReflect() protoreflect.Message
- func (x *EnsureAdminRequest) Reset()
- func (x *EnsureAdminRequest) String() string
- type EnsureAdminResponse
- func (*EnsureAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureAdminResponse) GetError() *Error
- func (x *EnsureAdminResponse) GetResult() isEnsureAdminResponse_Result
- func (x *EnsureAdminResponse) GetUserId() string
- func (*EnsureAdminResponse) ProtoMessage()
- func (x *EnsureAdminResponse) ProtoReflect() protoreflect.Message
- func (x *EnsureAdminResponse) Reset()
- func (x *EnsureAdminResponse) String() string
- type EnsureAdminResponse_Error
- type EnsureAdminResponse_UserId
- type Error
- type ErrorCode
- type Error_Code
- type GetCapabilitiesRequest
- type GetCapabilitiesResponse
- func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCapabilitiesResponse) GetCapabilities() []string
- func (*GetCapabilitiesResponse) ProtoMessage()
- func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCapabilitiesResponse) Reset()
- func (x *GetCapabilitiesResponse) String() string
- type GetOIDCConfigRequest
- type GetOIDCConfigResponse
- func (*GetOIDCConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCConfigResponse) GetConfig() *OIDCConfig
- func (x *GetOIDCConfigResponse) GetError() *Error
- func (x *GetOIDCConfigResponse) GetResult() isGetOIDCConfigResponse_Result
- func (*GetOIDCConfigResponse) ProtoMessage()
- func (x *GetOIDCConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetOIDCConfigResponse) Reset()
- func (x *GetOIDCConfigResponse) String() string
- type GetOIDCConfigResponse_Config
- type GetOIDCConfigResponse_Error
- type GetRoutesRequest
- type GetRoutesResponse
- func (*GetRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoutesResponse) GetError() *Error
- func (x *GetRoutesResponse) GetResult() isGetRoutesResponse_Result
- func (x *GetRoutesResponse) GetRoutes() *RouteList
- func (*GetRoutesResponse) ProtoMessage()
- func (x *GetRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoutesResponse) Reset()
- func (x *GetRoutesResponse) String() string
- type GetRoutesResponse_Error
- type GetRoutesResponse_Routes
- type GetScrapeTargetsRequest
- type GetScrapeTargetsResponse
- type GetUIManifestRequest
- type GetUIManifestResponse
- func (*GetUIManifestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUIManifestResponse) GetError() *Error
- func (x *GetUIManifestResponse) GetManifest() *UIManifest
- func (x *GetUIManifestResponse) GetResult() isGetUIManifestResponse_Result
- func (*GetUIManifestResponse) ProtoMessage()
- func (x *GetUIManifestResponse) ProtoReflect() protoreflect.Message
- func (x *GetUIManifestResponse) Reset()
- func (x *GetUIManifestResponse) String() string
- type GetUIManifestResponse_Error
- type GetUIManifestResponse_Manifest
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetError() *Error
- func (x *GetUserResponse) GetResult() isGetUserResponse_Result
- func (x *GetUserResponse) GetUser() *UserInfo
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type GetUserResponse_Error
- type GetUserResponse_User
- type HandleHTTPRequest
- type HandleHTTPResponse
- type HandleRequest
- func (*HandleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandleRequest) GetBody() []byte
- func (x *HandleRequest) GetHeaders() map[string]string
- func (x *HandleRequest) GetMethod() string
- func (x *HandleRequest) GetPath() string
- func (x *HandleRequest) GetPathParams() map[string]string
- func (x *HandleRequest) GetRawQuery() string
- func (x *HandleRequest) GetRoles() []string
- func (x *HandleRequest) GetUserId() string
- func (*HandleRequest) ProtoMessage()
- func (x *HandleRequest) ProtoReflect() protoreflect.Message
- func (x *HandleRequest) Reset()
- func (x *HandleRequest) String() string
- type HandleResponse
- func (*HandleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HandleResponse) GetBody() []byte
- func (x *HandleResponse) GetHeaders() map[string]string
- func (x *HandleResponse) GetStatus() int32
- func (*HandleResponse) ProtoMessage()
- func (x *HandleResponse) ProtoReflect() protoreflect.Message
- func (x *HandleResponse) Reset()
- func (x *HandleResponse) String() string
- type HealthRequest
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetMessage() string
- func (x *HealthResponse) GetStatus() HealthResponse_Status
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type HealthResponse_Status
- func (HealthResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x HealthResponse_Status) Enum() *HealthResponse_Status
- func (HealthResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthResponse_Status) Number() protoreflect.EnumNumber
- func (x HealthResponse_Status) String() string
- func (HealthResponse_Status) Type() protoreflect.EnumType
- type HealthStatus
- type IdentityFrameworkClient
- type IdentityFrameworkServer
- type IdentityProviderClient
- type IdentityProviderServer
- type IngestLogRequest
- type IngestLogResponse
- type IngestMetricsRequest
- type IngestMetricsResponse
- type IngestSpanRequest
- type IngestSpanResponse
- type JWTClaims
- type JWTValidator
- type ListRolesRequest
- type ListRolesResponse
- func (*ListRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesResponse) GetError() *Error
- func (x *ListRolesResponse) GetResult() isListRolesResponse_Result
- func (x *ListRolesResponse) GetRoles() *RoleList
- func (*ListRolesResponse) ProtoMessage()
- func (x *ListRolesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRolesResponse) Reset()
- func (x *ListRolesResponse) String() string
- type ListRolesResponse_Error
- type ListRolesResponse_Roles
- type ListSessionsRequest
- func (*ListSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsRequest) GetCurrentSessionId() string
- func (x *ListSessionsRequest) GetUserId() string
- func (*ListSessionsRequest) ProtoMessage()
- func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionsRequest) Reset()
- func (x *ListSessionsRequest) String() string
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetError() *Error
- func (x *ListSessionsResponse) GetResult() isListSessionsResponse_Result
- func (x *ListSessionsResponse) GetSessions() *SessionList
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type ListSessionsResponse_Error
- type ListSessionsResponse_Sessions
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetPage() int32
- func (x *ListUsersRequest) GetPageSize() int32
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetError() *Error
- func (x *ListUsersResponse) GetResult() isListUsersResponse_Result
- func (x *ListUsersResponse) GetUsers() *UserList
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type ListUsersResponse_Error
- type ListUsersResponse_Users
- type LogEntry
- type LoginConfig
- func (*LoginConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LoginConfig) GetProviderLogo() string
- func (x *LoginConfig) GetProviderName() string
- func (x *LoginConfig) GetRedirectUrl() string
- func (x *LoginConfig) GetShowForm() bool
- func (*LoginConfig) ProtoMessage()
- func (x *LoginConfig) ProtoReflect() protoreflect.Message
- func (x *LoginConfig) Reset()
- func (x *LoginConfig) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetError() *Error
- func (x *LoginResponse) GetResult() isLoginResponse_Result
- func (x *LoginResponse) GetToken() *TokenSet
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LoginResponse_Error
- type LoginResponse_Token
- type MetricSample
- type MiddlewareRequest
- func (*MiddlewareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareRequest) GetHeaders() map[string]string
- func (x *MiddlewareRequest) GetMethod() string
- func (x *MiddlewareRequest) GetPath() string
- func (x *MiddlewareRequest) GetRoles() []string
- func (x *MiddlewareRequest) GetUserId() string
- func (*MiddlewareRequest) ProtoMessage()
- func (x *MiddlewareRequest) ProtoReflect() protoreflect.Message
- func (x *MiddlewareRequest) Reset()
- func (x *MiddlewareRequest) String() string
- type MiddlewareResponse
- func (*MiddlewareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareResponse) GetAddHeaders() map[string]string
- func (x *MiddlewareResponse) GetAllow() bool
- func (x *MiddlewareResponse) GetDenyReason() string
- func (x *MiddlewareResponse) GetDenyStatus() int32
- func (*MiddlewareResponse) ProtoMessage()
- func (x *MiddlewareResponse) ProtoReflect() protoreflect.Message
- func (x *MiddlewareResponse) Reset()
- func (x *MiddlewareResponse) String() string
- type MonitoringFrameworkClient
- type MonitoringFrameworkServer
- type MonitoringLogsClient
- type MonitoringLogsServer
- type MonitoringSourceClient
- type MonitoringSourceServer
- type MonitoringTracesClient
- type MonitoringTracesServer
- type NavItem
- func (*NavItem) Descriptor() ([]byte, []int)deprecated
- func (x *NavItem) GetHref() string
- func (x *NavItem) GetIcon() string
- func (x *NavItem) GetLabel() string
- func (*NavItem) ProtoMessage()
- func (x *NavItem) ProtoReflect() protoreflect.Message
- func (x *NavItem) Reset()
- func (x *NavItem) String() string
- type OIDCConfig
- func (*OIDCConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OIDCConfig) GetAuthMode() string
- func (x *OIDCConfig) GetAuthority() string
- func (x *OIDCConfig) GetAuthorizationEndpoint() string
- func (x *OIDCConfig) GetClientId() string
- func (x *OIDCConfig) GetEndSessionEndpoint() string
- func (x *OIDCConfig) GetInternalTokenEndpoint() string
- func (x *OIDCConfig) GetJwksUri() string
- func (x *OIDCConfig) GetScopes() []string
- func (x *OIDCConfig) GetTokenEndpoint() string
- func (x *OIDCConfig) GetUserinfoEndpoint() string
- func (*OIDCConfig) ProtoMessage()
- func (x *OIDCConfig) ProtoReflect() protoreflect.Message
- func (x *OIDCConfig) Reset()
- func (x *OIDCConfig) String() string
- type PluginError
- type PluginHTTPClient
- type PluginHealthClient
- type PluginHealthServer
- type PluginMiddlewareClient
- type PluginUIClient
- type ProfileSection
- func (*ProfileSection) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileSection) GetActions() []string
- func (x *ProfileSection) GetDescription() string
- func (x *ProfileSection) GetId() string
- func (x *ProfileSection) GetIframeUrl() string
- func (x *ProfileSection) GetLabel() string
- func (x *ProfileSection) GetSlot() string
- func (*ProfileSection) ProtoMessage()
- func (x *ProfileSection) ProtoReflect() protoreflect.Message
- func (x *ProfileSection) Reset()
- func (x *ProfileSection) String() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetError() *Error
- func (x *RefreshTokenResponse) GetResult() isRefreshTokenResponse_Result
- func (x *RefreshTokenResponse) GetToken() *TokenSet
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type RefreshTokenResponse_Error
- type RefreshTokenResponse_Token
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetFirstName() string
- func (x *RegisterRequest) GetLastName() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetError() *Error
- func (x *RegisterResponse) GetResult() isRegisterResponse_Result
- func (x *RegisterResponse) GetUserId() string
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type RegisterResponse_Error
- type RegisterResponse_UserId
- type RevokeRoleRequest
- func (*RevokeRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRoleRequest) GetRole() string
- func (x *RevokeRoleRequest) GetUserId() string
- func (*RevokeRoleRequest) ProtoMessage()
- func (x *RevokeRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeRoleRequest) Reset()
- func (x *RevokeRoleRequest) String() string
- type RevokeRoleResponse
- func (*RevokeRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRoleResponse) GetError() *Error
- func (x *RevokeRoleResponse) GetOk() bool
- func (x *RevokeRoleResponse) GetResult() isRevokeRoleResponse_Result
- func (*RevokeRoleResponse) ProtoMessage()
- func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeRoleResponse) Reset()
- func (x *RevokeRoleResponse) String() string
- type RevokeRoleResponse_Error
- type RevokeRoleResponse_Ok
- type RevokeSessionRequest
- func (*RevokeSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSessionRequest) GetSessionId() string
- func (x *RevokeSessionRequest) GetUserId() string
- func (*RevokeSessionRequest) ProtoMessage()
- func (x *RevokeSessionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSessionRequest) Reset()
- func (x *RevokeSessionRequest) String() string
- type RevokeSessionResponse
- func (*RevokeSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSessionResponse) GetError() *Error
- func (x *RevokeSessionResponse) GetOk() bool
- func (x *RevokeSessionResponse) GetResult() isRevokeSessionResponse_Result
- func (*RevokeSessionResponse) ProtoMessage()
- func (x *RevokeSessionResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeSessionResponse) Reset()
- func (x *RevokeSessionResponse) String() string
- type RevokeSessionResponse_Error
- type RevokeSessionResponse_Ok
- type RoleList
- type Route
- type RouteList
- type ScrapeTarget
- type SearchUsersRequest
- func (*SearchUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUsersRequest) GetLimit() int32
- func (x *SearchUsersRequest) GetQuery() string
- func (*SearchUsersRequest) ProtoMessage()
- func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message
- func (x *SearchUsersRequest) Reset()
- func (x *SearchUsersRequest) String() string
- type SearchUsersResponse
- func (*SearchUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUsersResponse) GetError() *Error
- func (x *SearchUsersResponse) GetResult() isSearchUsersResponse_Result
- func (x *SearchUsersResponse) GetUsers() *UserList
- func (*SearchUsersResponse) ProtoMessage()
- func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message
- func (x *SearchUsersResponse) Reset()
- func (x *SearchUsersResponse) String() string
- type SearchUsersResponse_Error
- type SearchUsersResponse_Users
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreatedAt() int64
- func (x *Session) GetCurrent() bool
- func (x *Session) GetExpiresAt() int64
- func (x *Session) GetId() string
- func (x *Session) GetIpAddress() string
- func (x *Session) GetLastAccess() int64
- func (x *Session) GetUserAgent() string
- func (x *Session) GetUserId() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionList
- type SettingsPage
- func (*SettingsPage) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsPage) GetHref() string
- func (x *SettingsPage) GetIframeUrl() string
- func (x *SettingsPage) GetLabel() string
- func (x *SettingsPage) GetSlot() string
- func (*SettingsPage) ProtoMessage()
- func (x *SettingsPage) ProtoReflect() protoreflect.Message
- func (x *SettingsPage) Reset()
- func (x *SettingsPage) String() string
- type SignupConfig
- func (*SignupConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SignupConfig) GetEnabled() bool
- func (x *SignupConfig) GetRedirectUrl() string
- func (*SignupConfig) ProtoMessage()
- func (x *SignupConfig) ProtoReflect() protoreflect.Message
- func (x *SignupConfig) Reset()
- func (x *SignupConfig) String() string
- type Span
- type SupportsBillingMetricsRequest
- type SupportsBillingMetricsResponse
- type TokenClaims
- func (*TokenClaims) Descriptor() ([]byte, []int)deprecated
- func (x *TokenClaims) GetEmail() string
- func (x *TokenClaims) GetRoles() []string
- func (x *TokenClaims) GetSubject() string
- func (x *TokenClaims) GetUsername() string
- func (*TokenClaims) ProtoMessage()
- func (x *TokenClaims) ProtoReflect() protoreflect.Message
- func (x *TokenClaims) Reset()
- func (x *TokenClaims) String() string
- type TokenSet
- func (*TokenSet) Descriptor() ([]byte, []int)deprecated
- func (x *TokenSet) GetAccessToken() string
- func (x *TokenSet) GetExpiresIn() int64
- func (x *TokenSet) GetIdToken() string
- func (x *TokenSet) GetRefreshToken() string
- func (x *TokenSet) GetScope() string
- func (x *TokenSet) GetTokenType() string
- func (*TokenSet) ProtoMessage()
- func (x *TokenSet) ProtoReflect() protoreflect.Message
- func (x *TokenSet) Reset()
- func (x *TokenSet) String() string
- type UIManifest
- func (*UIManifest) Descriptor() ([]byte, []int)deprecated
- func (x *UIManifest) GetBundleUrl() string
- func (x *UIManifest) GetLoginConfig() *LoginConfig
- func (x *UIManifest) GetNavItems() []*NavItem
- func (x *UIManifest) GetPluginId() string
- func (x *UIManifest) GetProfileSections() []*ProfileSection
- func (x *UIManifest) GetSettingsPages() []*SettingsPage
- func (x *UIManifest) GetSignupConfig() *SignupConfig
- func (*UIManifest) ProtoMessage()
- func (x *UIManifest) ProtoReflect() protoreflect.Message
- func (x *UIManifest) Reset()
- func (x *UIManifest) String() string
- type UIManifestServiceClient
- type UIManifestServiceServer
- type UnimplementedAPIMiddlewareServer
- type UnimplementedAPIRoutesServer
- type UnimplementedIdentityFrameworkServer
- func (UnimplementedIdentityFrameworkServer) AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error)
- func (UnimplementedIdentityFrameworkServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedIdentityFrameworkServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedIdentityFrameworkServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedIdentityFrameworkServer) EnsureAdmin(context.Context, *EnsureAdminRequest) (*EnsureAdminResponse, error)
- func (UnimplementedIdentityFrameworkServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedIdentityFrameworkServer) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
- func (UnimplementedIdentityFrameworkServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (UnimplementedIdentityFrameworkServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedIdentityFrameworkServer) RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
- func (UnimplementedIdentityFrameworkServer) RevokeSession(context.Context, *RevokeSessionRequest) (*RevokeSessionResponse, error)
- func (UnimplementedIdentityFrameworkServer) SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error)
- func (UnimplementedIdentityFrameworkServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnimplementedIdentityProviderServer
- func (UnimplementedIdentityProviderServer) GetOIDCConfig(context.Context, *GetOIDCConfigRequest) (*GetOIDCConfigResponse, error)
- func (UnimplementedIdentityProviderServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedIdentityProviderServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedIdentityProviderServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedIdentityProviderServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedIdentityProviderServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedIdentityProviderServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
- type UnimplementedMonitoringFrameworkServer
- type UnimplementedMonitoringLogsServer
- type UnimplementedMonitoringSourceServer
- type UnimplementedMonitoringTracesServer
- type UnimplementedPluginHealthServer
- type UnimplementedUIManifestServiceServer
- type UnsafeAPIMiddlewareServer
- type UnsafeAPIRoutesServer
- type UnsafeIdentityFrameworkServer
- type UnsafeIdentityProviderServer
- type UnsafePluginHealthServer
- type UnsafeUIManifestServiceServer
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetFirstName() string
- func (x *UpdateUserRequest) GetLastName() string
- func (x *UpdateUserRequest) GetUserId() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserResponse) GetError() *Error
- func (x *UpdateUserResponse) GetOk() bool
- func (x *UpdateUserResponse) GetResult() isUpdateUserResponse_Result
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- type UpdateUserResponse_Error
- type UpdateUserResponse_Ok
- type UserEntry
- func (*UserEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UserEntry) GetEmail() string
- func (x *UserEntry) GetFirstName() string
- func (x *UserEntry) GetLastName() string
- func (x *UserEntry) GetRoles() []string
- func (x *UserEntry) GetUserId() string
- func (x *UserEntry) GetUsername() string
- func (*UserEntry) ProtoMessage()
- func (x *UserEntry) ProtoReflect() protoreflect.Message
- func (x *UserEntry) Reset()
- func (x *UserEntry) String() string
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetFirstName() string
- func (x *UserInfo) GetLastName() string
- func (x *UserInfo) GetUserId() string
- func (x *UserInfo) GetUsername() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserList
- type ValidateTokenRequest
- func (*ValidateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenRequest) GetToken() string
- func (*ValidateTokenRequest) ProtoMessage()
- func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenRequest) Reset()
- func (x *ValidateTokenRequest) String() string
- type ValidateTokenResponse
- func (*ValidateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenResponse) GetClaims() *TokenClaims
- func (x *ValidateTokenResponse) GetError() *Error
- func (x *ValidateTokenResponse) GetResult() isValidateTokenResponse_Result
- func (*ValidateTokenResponse) ProtoMessage()
- func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenResponse) Reset()
- func (x *ValidateTokenResponse) String() string
- type ValidateTokenResponse_Claims
- type ValidateTokenResponse_Error
Constants ¶
const ( PluginHealth_Health_FullMethodName = "/kleff.plugins.v1.PluginHealth/Health" PluginHealth_GetCapabilities_FullMethodName = "/kleff.plugins.v1.PluginHealth/GetCapabilities" )
const ( CapabilityAPIMiddleware = "api.middleware" CapabilityUIManifest = "ui.manifest" CapabilityAPIRoutes = "api.routes" CapabilityIdentityProvider = "identity.provider" CapabilityIdentityFramework = "identity.framework" CapabilityMonitoringMetrics = "monitoring.metrics" CapabilityMonitoringLogs = "monitoring.logs" CapabilityMonitoringTraces = "monitoring.traces" CapabilityMonitoringSource = "monitoring.source" )
Standard capability keys a plugin can declare via GetCapabilities.
const ( TagFrontend = "frontend" TagBackend = "backend" TagIdentity = "identity" TagDevOps = "devops" )
Layer tag declarations for plugin manifests.
const ( IdentityFramework_CreateUser_FullMethodName = "/kleff.plugins.v1.IdentityFramework/CreateUser" IdentityFramework_UpdateUser_FullMethodName = "/kleff.plugins.v1.IdentityFramework/UpdateUser" IdentityFramework_DeleteUser_FullMethodName = "/kleff.plugins.v1.IdentityFramework/DeleteUser" IdentityFramework_ListUsers_FullMethodName = "/kleff.plugins.v1.IdentityFramework/ListUsers" IdentityFramework_SearchUsers_FullMethodName = "/kleff.plugins.v1.IdentityFramework/SearchUsers" IdentityFramework_AssignRole_FullMethodName = "/kleff.plugins.v1.IdentityFramework/AssignRole" IdentityFramework_RevokeRole_FullMethodName = "/kleff.plugins.v1.IdentityFramework/RevokeRole" IdentityFramework_ListRoles_FullMethodName = "/kleff.plugins.v1.IdentityFramework/ListRoles" IdentityFramework_ListSessions_FullMethodName = "/kleff.plugins.v1.IdentityFramework/ListSessions" IdentityFramework_RevokeSession_FullMethodName = "/kleff.plugins.v1.IdentityFramework/RevokeSession" IdentityFramework_ChangePassword_FullMethodName = "/kleff.plugins.v1.IdentityFramework/ChangePassword" IdentityFramework_EnsureAdmin_FullMethodName = "/kleff.plugins.v1.IdentityFramework/EnsureAdmin" IdentityFramework_Health_FullMethodName = "/kleff.plugins.v1.IdentityFramework/Health" )
const ( IdentityProvider_Login_FullMethodName = "/kleff.plugins.v1.IdentityProvider/Login" IdentityProvider_Register_FullMethodName = "/kleff.plugins.v1.IdentityProvider/Register" IdentityProvider_GetUser_FullMethodName = "/kleff.plugins.v1.IdentityProvider/GetUser" IdentityProvider_ValidateToken_FullMethodName = "/kleff.plugins.v1.IdentityProvider/ValidateToken" IdentityProvider_GetOIDCConfig_FullMethodName = "/kleff.plugins.v1.IdentityProvider/GetOIDCConfig" IdentityProvider_RefreshToken_FullMethodName = "/kleff.plugins.v1.IdentityProvider/RefreshToken" IdentityProvider_Health_FullMethodName = "/kleff.plugins.v1.IdentityProvider/Health" )
const ( APIRoutes_GetRoutes_FullMethodName = "/kleff.plugins.v1.APIRoutes/GetRoutes" APIRoutes_Handle_FullMethodName = "/kleff.plugins.v1.APIRoutes/Handle" )
const (
APIMiddleware_OnRequest_FullMethodName = "/kleff.plugins.v1.APIMiddleware/OnRequest"
)
const (
UIManifestService_GetUIManifest_FullMethodName = "/kleff.plugins.v1.UIManifestService/GetUIManifest"
)
Variables ¶
var ( HealthResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "HEALTHY", 2: "DEGRADED", 3: "UNHEALTHY", } HealthResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "HEALTHY": 1, "DEGRADED": 2, "UNHEALTHY": 3, } )
Enum value maps for HealthResponse_Status.
var ( Error_Code_name = map[int32]string{ 0: "UNKNOWN", 1: "INVALID_ARGUMENT", 2: "UNAUTHORIZED", 3: "CONFLICT", 4: "NOT_FOUND", 5: "INTERNAL", 6: "NOT_SUPPORTED", } Error_Code_value = map[string]int32{ "UNKNOWN": 0, "INVALID_ARGUMENT": 1, "UNAUTHORIZED": 2, "CONFLICT": 3, "NOT_FOUND": 4, "INTERNAL": 5, "NOT_SUPPORTED": 6, } )
Enum value maps for Error_Code.
var APIMiddleware_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.APIMiddleware", HandlerType: (*APIMiddlewareServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnRequest", Handler: _APIMiddleware_OnRequest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/middleware.proto", }
APIMiddleware_ServiceDesc is the grpc.ServiceDesc for APIMiddleware service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var APIRoutes_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.APIRoutes", HandlerType: (*APIRoutesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRoutes", Handler: _APIRoutes_GetRoutes_Handler, }, { MethodName: "Handle", Handler: _APIRoutes_Handle_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/routes.proto", }
APIRoutes_ServiceDesc is the grpc.ServiceDesc for APIRoutes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_middleware_proto protoreflect.FileDescriptor
var File_api_routes_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_identity_framework_proto protoreflect.FileDescriptor
var File_identity_provider_proto protoreflect.FileDescriptor
var File_ui_manifest_proto protoreflect.FileDescriptor
var IdentityFramework_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.IdentityFramework", HandlerType: (*IdentityFrameworkServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _IdentityFramework_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _IdentityFramework_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _IdentityFramework_DeleteUser_Handler, }, { MethodName: "ListUsers", Handler: _IdentityFramework_ListUsers_Handler, }, { MethodName: "SearchUsers", Handler: _IdentityFramework_SearchUsers_Handler, }, { MethodName: "AssignRole", Handler: _IdentityFramework_AssignRole_Handler, }, { MethodName: "RevokeRole", Handler: _IdentityFramework_RevokeRole_Handler, }, { MethodName: "ListRoles", Handler: _IdentityFramework_ListRoles_Handler, }, { MethodName: "ListSessions", Handler: _IdentityFramework_ListSessions_Handler, }, { MethodName: "RevokeSession", Handler: _IdentityFramework_RevokeSession_Handler, }, { MethodName: "ChangePassword", Handler: _IdentityFramework_ChangePassword_Handler, }, { MethodName: "EnsureAdmin", Handler: _IdentityFramework_EnsureAdmin_Handler, }, { MethodName: "Health", Handler: _IdentityFramework_Health_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "identity/framework.proto", }
IdentityFramework_ServiceDesc is the grpc.ServiceDesc for IdentityFramework service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IdentityProvider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.IdentityProvider", HandlerType: (*IdentityProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _IdentityProvider_Login_Handler, }, { MethodName: "Register", Handler: _IdentityProvider_Register_Handler, }, { MethodName: "GetUser", Handler: _IdentityProvider_GetUser_Handler, }, { MethodName: "ValidateToken", Handler: _IdentityProvider_ValidateToken_Handler, }, { MethodName: "GetOIDCConfig", Handler: _IdentityProvider_GetOIDCConfig_Handler, }, { MethodName: "RefreshToken", Handler: _IdentityProvider_RefreshToken_Handler, }, { MethodName: "Health", Handler: _IdentityProvider_Health_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "identity/provider.proto", }
IdentityProvider_ServiceDesc is the grpc.ServiceDesc for IdentityProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MonitoringFramework_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.MonitoringFramework", HandlerType: (*MonitoringFrameworkServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IngestMetrics", Handler: _MonitoringFramework_IngestMetrics_Handler, }, { MethodName: "SupportsBillingMetrics", Handler: _MonitoringFramework_SupportsBillingMetrics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "monitoring.proto", }
var MonitoringLogs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.MonitoringLogs", HandlerType: (*MonitoringLogsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IngestLog", Handler: _MonitoringLogs_IngestLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "monitoring.proto", }
var MonitoringSource_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.MonitoringSource", HandlerType: (*MonitoringSourceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetScrapeTargets", Handler: _MonitoringSource_GetScrapeTargets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "monitoring.proto", }
var MonitoringTraces_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.MonitoringTraces", HandlerType: (*MonitoringTracesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IngestSpan", Handler: _MonitoringTraces_IngestSpan_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "monitoring.proto", }
var PluginHealth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.PluginHealth", HandlerType: (*PluginHealthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _PluginHealth_Health_Handler, }, { MethodName: "GetCapabilities", Handler: _PluginHealth_GetCapabilities_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "common.proto", }
PluginHealth_ServiceDesc is the grpc.ServiceDesc for PluginHealth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UIManifestService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kleff.plugins.v1.UIManifestService", HandlerType: (*UIManifestServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUIManifest", Handler: _UIManifestService_GetUIManifest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ui/manifest.proto", }
UIManifestService_ServiceDesc is the grpc.ServiceDesc for UIManifestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DefaultAddr ¶ added in v0.1.7
func DefaultAddr() string
DefaultAddr returns the standard plugin gRPC address from the PORT env var, defaulting to :50051 if unset.
func RegisterAPIMiddlewareServer ¶ added in v0.1.7
func RegisterAPIMiddlewareServer(s grpc.ServiceRegistrar, srv APIMiddlewareServer)
func RegisterAPIRoutesServer ¶ added in v0.1.7
func RegisterAPIRoutesServer(s grpc.ServiceRegistrar, srv APIRoutesServer)
func RegisterIdentityFrameworkServer ¶ added in v0.1.7
func RegisterIdentityFrameworkServer(s grpc.ServiceRegistrar, srv IdentityFrameworkServer)
func RegisterIdentityProviderServer ¶ added in v0.1.7
func RegisterIdentityProviderServer(s grpc.ServiceRegistrar, srv IdentityProviderServer)
func RegisterMonitoringFrameworkServer ¶ added in v0.1.8
func RegisterMonitoringFrameworkServer(s grpc.ServiceRegistrar, srv MonitoringFrameworkServer)
func RegisterMonitoringLogsServer ¶ added in v0.1.8
func RegisterMonitoringLogsServer(s grpc.ServiceRegistrar, srv MonitoringLogsServer)
func RegisterMonitoringSourceServer ¶ added in v0.1.8
func RegisterMonitoringSourceServer(s grpc.ServiceRegistrar, srv MonitoringSourceServer)
func RegisterMonitoringTracesServer ¶ added in v0.1.8
func RegisterMonitoringTracesServer(s grpc.ServiceRegistrar, srv MonitoringTracesServer)
func RegisterPluginHealthServer ¶
func RegisterPluginHealthServer(s grpc.ServiceRegistrar, srv PluginHealthServer)
func RegisterUIManifestServiceServer ¶ added in v0.1.7
func RegisterUIManifestServiceServer(s grpc.ServiceRegistrar, srv UIManifestServiceServer)
func Serve ¶ added in v0.1.7
func Serve(addr string, base *BasePlugin, register ...func(*grpc.Server)) error
Serve starts the gRPC server on the given address, registers all provided service registrars, and blocks until SIGTERM/SIGINT. It always registers the PluginHealth service (backed by the BasePlugin itself).
Example:
p := &MyPlugin{BasePlugin: *pluginsv1.NewBasePlugin("my-plugin", "1.0.0", []string{pluginsv1.CapabilityUIManifest})}
pluginsv1.Serve(":50051", p, func(s *grpc.Server) {
pluginsv1.RegisterMyPluginServer(s, p)
})
Types ¶
type APIMiddlewareClient ¶ added in v0.1.7
type APIMiddlewareClient interface {
OnRequest(ctx context.Context, in *MiddlewareRequest, opts ...grpc.CallOption) (*MiddlewareResponse, error)
}
APIMiddlewareClient is the client API for APIMiddleware 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 NewAPIMiddlewareClient ¶ added in v0.1.7
func NewAPIMiddlewareClient(cc grpc.ClientConnInterface) APIMiddlewareClient
type APIMiddlewareServer ¶ added in v0.1.7
type APIMiddlewareServer interface {
OnRequest(context.Context, *MiddlewareRequest) (*MiddlewareResponse, error)
// contains filtered or unexported methods
}
APIMiddlewareServer is the server API for APIMiddleware service. All implementations must embed UnimplementedAPIMiddlewareServer for forward compatibility.
type APIRoutesClient ¶ added in v0.1.7
type APIRoutesClient interface {
// Called once at plugin registration to declare owned routes.
GetRoutes(ctx context.Context, in *GetRoutesRequest, opts ...grpc.CallOption) (*GetRoutesResponse, error)
// Called for every matched request.
Handle(ctx context.Context, in *HandleRequest, opts ...grpc.CallOption) (*HandleResponse, error)
}
APIRoutesClient is the client API for APIRoutes 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 NewAPIRoutesClient ¶ added in v0.1.7
func NewAPIRoutesClient(cc grpc.ClientConnInterface) APIRoutesClient
type APIRoutesServer ¶ added in v0.1.7
type APIRoutesServer interface {
// Called once at plugin registration to declare owned routes.
GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error)
// Called for every matched request.
Handle(context.Context, *HandleRequest) (*HandleResponse, error)
// contains filtered or unexported methods
}
APIRoutesServer is the server API for APIRoutes service. All implementations must embed UnimplementedAPIRoutesServer for forward compatibility.
type AssignRoleRequest ¶ added in v0.1.7
type AssignRoleRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
// contains filtered or unexported fields
}
func (*AssignRoleRequest) Descriptor
deprecated
added in
v0.1.7
func (*AssignRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleRequest.ProtoReflect.Descriptor instead.
func (*AssignRoleRequest) GetRole ¶ added in v0.1.7
func (x *AssignRoleRequest) GetRole() string
func (*AssignRoleRequest) GetUserId ¶ added in v0.1.7
func (x *AssignRoleRequest) GetUserId() string
func (*AssignRoleRequest) ProtoMessage ¶ added in v0.1.7
func (*AssignRoleRequest) ProtoMessage()
func (*AssignRoleRequest) ProtoReflect ¶ added in v0.1.7
func (x *AssignRoleRequest) ProtoReflect() protoreflect.Message
func (*AssignRoleRequest) Reset ¶ added in v0.1.7
func (x *AssignRoleRequest) Reset()
func (*AssignRoleRequest) String ¶ added in v0.1.7
func (x *AssignRoleRequest) String() string
type AssignRoleResponse ¶ added in v0.1.7
type AssignRoleResponse struct {
// Types that are valid to be assigned to Result:
//
// *AssignRoleResponse_Ok
// *AssignRoleResponse_Error
Result isAssignRoleResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*AssignRoleResponse) Descriptor
deprecated
added in
v0.1.7
func (*AssignRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleResponse.ProtoReflect.Descriptor instead.
func (*AssignRoleResponse) GetError ¶ added in v0.1.7
func (x *AssignRoleResponse) GetError() *Error
func (*AssignRoleResponse) GetOk ¶ added in v0.1.7
func (x *AssignRoleResponse) GetOk() bool
func (*AssignRoleResponse) GetResult ¶ added in v0.1.7
func (x *AssignRoleResponse) GetResult() isAssignRoleResponse_Result
func (*AssignRoleResponse) ProtoMessage ¶ added in v0.1.7
func (*AssignRoleResponse) ProtoMessage()
func (*AssignRoleResponse) ProtoReflect ¶ added in v0.1.7
func (x *AssignRoleResponse) ProtoReflect() protoreflect.Message
func (*AssignRoleResponse) Reset ¶ added in v0.1.7
func (x *AssignRoleResponse) Reset()
func (*AssignRoleResponse) String ¶ added in v0.1.7
func (x *AssignRoleResponse) String() string
type AssignRoleResponse_Error ¶ added in v0.1.7
type AssignRoleResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type AssignRoleResponse_Ok ¶ added in v0.1.7
type AssignRoleResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type BasePlugin ¶ added in v0.1.7
type BasePlugin struct {
UnimplementedPluginHealthServer
// contains filtered or unexported fields
}
BasePlugin provides the boilerplate every plugin needs: health/capabilities server, gRPC server setup, and graceful shutdown. Embed it in your plugin struct and override the capability methods you implement.
type MyPlugin struct {
pluginsv1.BasePlugin
}
Call Serve() from main() to start the gRPC server and block until SIGTERM.
func NewBasePlugin ¶ added in v0.1.7
func NewBasePlugin(name, version string, capabilities []string) *BasePlugin
NewBasePlugin creates a BasePlugin. name and version are reported by the Health RPC. capabilities lists the capability strings the plugin declares (e.g. CapabilityUIManifest, CapabilityIdentityProvider).
func (*BasePlugin) GetCapabilities ¶ added in v0.1.7
func (b *BasePlugin) GetCapabilities(_ context.Context, _ *GetCapabilitiesRequest) (*GetCapabilitiesResponse, error)
GetCapabilities implements PluginHealthServer.
func (*BasePlugin) Health ¶ added in v0.1.7
func (b *BasePlugin) Health(_ context.Context, _ *HealthRequest) (*HealthResponse, error)
Health implements PluginHealthServer.
func (*BasePlugin) WithLogger ¶ added in v0.1.7
func (b *BasePlugin) WithLogger(l *slog.Logger) *BasePlugin
WithLogger overrides the logger used for startup/shutdown messages.
type ChangePasswordRequest ¶
type ChangePasswordRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CurrentPassword string `protobuf:"bytes,2,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
// contains filtered or unexported fields
}
func (*ChangePasswordRequest) Descriptor
deprecated
added in
v0.1.7
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetCurrentPassword ¶ added in v0.1.7
func (x *ChangePasswordRequest) GetCurrentPassword() string
func (*ChangePasswordRequest) GetNewPassword ¶ added in v0.1.7
func (x *ChangePasswordRequest) GetNewPassword() string
func (*ChangePasswordRequest) GetUserId ¶ added in v0.1.7
func (x *ChangePasswordRequest) GetUserId() string
func (*ChangePasswordRequest) ProtoMessage ¶ added in v0.1.7
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶ added in v0.1.7
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶ added in v0.1.7
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶ added in v0.1.7
func (x *ChangePasswordRequest) String() string
type ChangePasswordResponse ¶
type ChangePasswordResponse struct {
// Types that are valid to be assigned to Result:
//
// *ChangePasswordResponse_Ok
// *ChangePasswordResponse_Error
Result isChangePasswordResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*ChangePasswordResponse) Descriptor
deprecated
added in
v0.1.7
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetError ¶ added in v0.1.7
func (x *ChangePasswordResponse) GetError() *Error
func (*ChangePasswordResponse) GetOk ¶ added in v0.1.7
func (x *ChangePasswordResponse) GetOk() bool
func (*ChangePasswordResponse) GetResult ¶ added in v0.1.7
func (x *ChangePasswordResponse) GetResult() isChangePasswordResponse_Result
func (*ChangePasswordResponse) ProtoMessage ¶ added in v0.1.7
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶ added in v0.1.7
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶ added in v0.1.7
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶ added in v0.1.7
func (x *ChangePasswordResponse) String() string
type ChangePasswordResponse_Error ¶ added in v0.1.7
type ChangePasswordResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ChangePasswordResponse_Ok ¶ added in v0.1.7
type ChangePasswordResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type CreateUserRequest ¶ added in v0.1.7
type CreateUserRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
added in
v0.1.7
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶ added in v0.1.7
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetFirstName ¶ added in v0.1.7
func (x *CreateUserRequest) GetFirstName() string
func (*CreateUserRequest) GetLastName ¶ added in v0.1.7
func (x *CreateUserRequest) GetLastName() string
func (*CreateUserRequest) GetPassword ¶ added in v0.1.7
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetUsername ¶ added in v0.1.7
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶ added in v0.1.7
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶ added in v0.1.7
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶ added in v0.1.7
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶ added in v0.1.7
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶ added in v0.1.7
type CreateUserResponse struct {
// Types that are valid to be assigned to Result:
//
// *CreateUserResponse_UserId
// *CreateUserResponse_Error
Result isCreateUserResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*CreateUserResponse) Descriptor
deprecated
added in
v0.1.7
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetError ¶ added in v0.1.7
func (x *CreateUserResponse) GetError() *Error
func (*CreateUserResponse) GetResult ¶ added in v0.1.7
func (x *CreateUserResponse) GetResult() isCreateUserResponse_Result
func (*CreateUserResponse) GetUserId ¶ added in v0.1.7
func (x *CreateUserResponse) GetUserId() string
func (*CreateUserResponse) ProtoMessage ¶ added in v0.1.7
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶ added in v0.1.7
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶ added in v0.1.7
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶ added in v0.1.7
func (x *CreateUserResponse) String() string
type CreateUserResponse_Error ¶ added in v0.1.7
type CreateUserResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CreateUserResponse_UserId ¶ added in v0.1.7
type CreateUserResponse_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}
type DeleteUserRequest ¶ added in v0.1.7
type DeleteUserRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
added in
v0.1.7
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetUserId ¶ added in v0.1.7
func (x *DeleteUserRequest) GetUserId() string
func (*DeleteUserRequest) ProtoMessage ¶ added in v0.1.7
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.1.7
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶ added in v0.1.7
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶ added in v0.1.7
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶ added in v0.1.7
type DeleteUserResponse struct {
// Types that are valid to be assigned to Result:
//
// *DeleteUserResponse_Ok
// *DeleteUserResponse_Error
Result isDeleteUserResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
added in
v0.1.7
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) GetError ¶ added in v0.1.7
func (x *DeleteUserResponse) GetError() *Error
func (*DeleteUserResponse) GetOk ¶ added in v0.1.7
func (x *DeleteUserResponse) GetOk() bool
func (*DeleteUserResponse) GetResult ¶ added in v0.1.7
func (x *DeleteUserResponse) GetResult() isDeleteUserResponse_Result
func (*DeleteUserResponse) ProtoMessage ¶ added in v0.1.7
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶ added in v0.1.7
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶ added in v0.1.7
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶ added in v0.1.7
func (x *DeleteUserResponse) String() string
type DeleteUserResponse_Error ¶ added in v0.1.7
type DeleteUserResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type DeleteUserResponse_Ok ¶ added in v0.1.7
type DeleteUserResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type EnsureAdminRequest ¶
type EnsureAdminRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureAdminRequest) Descriptor
deprecated
added in
v0.1.7
func (*EnsureAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsureAdminRequest.ProtoReflect.Descriptor instead.
func (*EnsureAdminRequest) GetEmail ¶ added in v0.1.7
func (x *EnsureAdminRequest) GetEmail() string
func (*EnsureAdminRequest) GetPassword ¶ added in v0.1.7
func (x *EnsureAdminRequest) GetPassword() string
func (*EnsureAdminRequest) GetUsername ¶ added in v0.1.7
func (x *EnsureAdminRequest) GetUsername() string
func (*EnsureAdminRequest) ProtoMessage ¶ added in v0.1.7
func (*EnsureAdminRequest) ProtoMessage()
func (*EnsureAdminRequest) ProtoReflect ¶ added in v0.1.7
func (x *EnsureAdminRequest) ProtoReflect() protoreflect.Message
func (*EnsureAdminRequest) Reset ¶ added in v0.1.7
func (x *EnsureAdminRequest) Reset()
func (*EnsureAdminRequest) String ¶ added in v0.1.7
func (x *EnsureAdminRequest) String() string
type EnsureAdminResponse ¶
type EnsureAdminResponse struct {
// Types that are valid to be assigned to Result:
//
// *EnsureAdminResponse_UserId
// *EnsureAdminResponse_Error
Result isEnsureAdminResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*EnsureAdminResponse) Descriptor
deprecated
added in
v0.1.7
func (*EnsureAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsureAdminResponse.ProtoReflect.Descriptor instead.
func (*EnsureAdminResponse) GetError ¶ added in v0.1.7
func (x *EnsureAdminResponse) GetError() *Error
func (*EnsureAdminResponse) GetResult ¶ added in v0.1.7
func (x *EnsureAdminResponse) GetResult() isEnsureAdminResponse_Result
func (*EnsureAdminResponse) GetUserId ¶ added in v0.1.7
func (x *EnsureAdminResponse) GetUserId() string
func (*EnsureAdminResponse) ProtoMessage ¶ added in v0.1.7
func (*EnsureAdminResponse) ProtoMessage()
func (*EnsureAdminResponse) ProtoReflect ¶ added in v0.1.7
func (x *EnsureAdminResponse) ProtoReflect() protoreflect.Message
func (*EnsureAdminResponse) Reset ¶ added in v0.1.7
func (x *EnsureAdminResponse) Reset()
func (*EnsureAdminResponse) String ¶ added in v0.1.7
func (x *EnsureAdminResponse) String() string
type EnsureAdminResponse_Error ¶ added in v0.1.7
type EnsureAdminResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type EnsureAdminResponse_UserId ¶ added in v0.1.7
type EnsureAdminResponse_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}
type Error ¶ added in v0.1.7
type Error struct {
Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=kleff.plugins.v1.Error_Code" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
added in
v0.1.7
func (*Error) GetCode ¶ added in v0.1.7
func (x *Error) GetCode() Error_Code
func (*Error) GetMessage ¶ added in v0.1.7
func (*Error) ProtoMessage ¶ added in v0.1.7
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.1.7
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorCode ¶
type ErrorCode = Error_Code
ErrorCode aliases the generated Error_Code enum for backward compatibility.
const ( ErrorCodeUnknown ErrorCode = Error_UNKNOWN ErrorCodeInvalidArgument ErrorCode = Error_INVALID_ARGUMENT ErrorCodeConflict ErrorCode = Error_CONFLICT ErrorCodeNotFound ErrorCode = Error_NOT_FOUND ErrorCodeInternal ErrorCode = Error_INTERNAL ErrorCodeNotSupported ErrorCode = Error_NOT_SUPPORTED )
ErrorCode constants matching the generated Error_Code enum values.
type Error_Code ¶ added in v0.1.7
type Error_Code int32
const ( Error_UNKNOWN Error_Code = 0 Error_INVALID_ARGUMENT Error_Code = 1 Error_UNAUTHORIZED Error_Code = 2 Error_CONFLICT Error_Code = 3 // e.g. user already exists Error_NOT_FOUND Error_Code = 4 Error_INTERNAL Error_Code = 5 Error_NOT_SUPPORTED Error_Code = 6 // plugin does not implement this operation )
func (Error_Code) Descriptor ¶ added in v0.1.7
func (Error_Code) Descriptor() protoreflect.EnumDescriptor
func (Error_Code) Enum ¶ added in v0.1.7
func (x Error_Code) Enum() *Error_Code
func (Error_Code) EnumDescriptor
deprecated
added in
v0.1.7
func (Error_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use Error_Code.Descriptor instead.
func (Error_Code) Number ¶ added in v0.1.7
func (x Error_Code) Number() protoreflect.EnumNumber
func (Error_Code) String ¶ added in v0.1.7
func (x Error_Code) String() string
func (Error_Code) Type ¶ added in v0.1.7
func (Error_Code) Type() protoreflect.EnumType
type GetCapabilitiesRequest ¶
type GetCapabilitiesRequest struct {
// contains filtered or unexported fields
}
func (*GetCapabilitiesRequest) Descriptor
deprecated
added in
v0.1.7
func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCapabilitiesRequest.ProtoReflect.Descriptor instead.
func (*GetCapabilitiesRequest) ProtoMessage ¶ added in v0.1.7
func (*GetCapabilitiesRequest) ProtoMessage()
func (*GetCapabilitiesRequest) ProtoReflect ¶ added in v0.1.7
func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message
func (*GetCapabilitiesRequest) Reset ¶ added in v0.1.7
func (x *GetCapabilitiesRequest) Reset()
func (*GetCapabilitiesRequest) String ¶ added in v0.1.7
func (x *GetCapabilitiesRequest) String() string
type GetCapabilitiesResponse ¶
type GetCapabilitiesResponse struct {
// Standard capability keys: "identity.provider", "api.middleware",
// "ui.manifest", "api.routes". Return empty list for none.
Capabilities []string `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
func (*GetCapabilitiesResponse) Descriptor
deprecated
added in
v0.1.7
func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
func (*GetCapabilitiesResponse) GetCapabilities ¶ added in v0.1.7
func (x *GetCapabilitiesResponse) GetCapabilities() []string
func (*GetCapabilitiesResponse) ProtoMessage ¶ added in v0.1.7
func (*GetCapabilitiesResponse) ProtoMessage()
func (*GetCapabilitiesResponse) ProtoReflect ¶ added in v0.1.7
func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message
func (*GetCapabilitiesResponse) Reset ¶ added in v0.1.7
func (x *GetCapabilitiesResponse) Reset()
func (*GetCapabilitiesResponse) String ¶ added in v0.1.7
func (x *GetCapabilitiesResponse) String() string
type GetOIDCConfigRequest ¶
type GetOIDCConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetOIDCConfigRequest) Descriptor
deprecated
added in
v0.1.7
func (*GetOIDCConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCConfigRequest.ProtoReflect.Descriptor instead.
func (*GetOIDCConfigRequest) ProtoMessage ¶ added in v0.1.7
func (*GetOIDCConfigRequest) ProtoMessage()
func (*GetOIDCConfigRequest) ProtoReflect ¶ added in v0.1.7
func (x *GetOIDCConfigRequest) ProtoReflect() protoreflect.Message
func (*GetOIDCConfigRequest) Reset ¶ added in v0.1.7
func (x *GetOIDCConfigRequest) Reset()
func (*GetOIDCConfigRequest) String ¶ added in v0.1.7
func (x *GetOIDCConfigRequest) String() string
type GetOIDCConfigResponse ¶
type GetOIDCConfigResponse struct {
// Types that are valid to be assigned to Result:
//
// *GetOIDCConfigResponse_Config
// *GetOIDCConfigResponse_Error
Result isGetOIDCConfigResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*GetOIDCConfigResponse) Descriptor
deprecated
added in
v0.1.7
func (*GetOIDCConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCConfigResponse.ProtoReflect.Descriptor instead.
func (*GetOIDCConfigResponse) GetConfig ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) GetConfig() *OIDCConfig
func (*GetOIDCConfigResponse) GetError ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) GetError() *Error
func (*GetOIDCConfigResponse) GetResult ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) GetResult() isGetOIDCConfigResponse_Result
func (*GetOIDCConfigResponse) ProtoMessage ¶ added in v0.1.7
func (*GetOIDCConfigResponse) ProtoMessage()
func (*GetOIDCConfigResponse) ProtoReflect ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) ProtoReflect() protoreflect.Message
func (*GetOIDCConfigResponse) Reset ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) Reset()
func (*GetOIDCConfigResponse) String ¶ added in v0.1.7
func (x *GetOIDCConfigResponse) String() string
type GetOIDCConfigResponse_Config ¶ added in v0.1.7
type GetOIDCConfigResponse_Config struct {
Config *OIDCConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}
type GetOIDCConfigResponse_Error ¶ added in v0.1.7
type GetOIDCConfigResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetRoutesRequest ¶
type GetRoutesRequest struct {
// contains filtered or unexported fields
}
func (*GetRoutesRequest) Descriptor
deprecated
added in
v0.1.7
func (*GetRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoutesRequest.ProtoReflect.Descriptor instead.
func (*GetRoutesRequest) ProtoMessage ¶ added in v0.1.7
func (*GetRoutesRequest) ProtoMessage()
func (*GetRoutesRequest) ProtoReflect ¶ added in v0.1.7
func (x *GetRoutesRequest) ProtoReflect() protoreflect.Message
func (*GetRoutesRequest) Reset ¶ added in v0.1.7
func (x *GetRoutesRequest) Reset()
func (*GetRoutesRequest) String ¶ added in v0.1.7
func (x *GetRoutesRequest) String() string
type GetRoutesResponse ¶
type GetRoutesResponse struct {
// Types that are valid to be assigned to Result:
//
// *GetRoutesResponse_Routes
// *GetRoutesResponse_Error
Result isGetRoutesResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*GetRoutesResponse) Descriptor
deprecated
added in
v0.1.7
func (*GetRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoutesResponse.ProtoReflect.Descriptor instead.
func (*GetRoutesResponse) GetError ¶ added in v0.1.7
func (x *GetRoutesResponse) GetError() *Error
func (*GetRoutesResponse) GetResult ¶ added in v0.1.7
func (x *GetRoutesResponse) GetResult() isGetRoutesResponse_Result
func (*GetRoutesResponse) GetRoutes ¶ added in v0.1.7
func (x *GetRoutesResponse) GetRoutes() *RouteList
func (*GetRoutesResponse) ProtoMessage ¶ added in v0.1.7
func (*GetRoutesResponse) ProtoMessage()
func (*GetRoutesResponse) ProtoReflect ¶ added in v0.1.7
func (x *GetRoutesResponse) ProtoReflect() protoreflect.Message
func (*GetRoutesResponse) Reset ¶ added in v0.1.7
func (x *GetRoutesResponse) Reset()
func (*GetRoutesResponse) String ¶ added in v0.1.7
func (x *GetRoutesResponse) String() string
type GetRoutesResponse_Error ¶ added in v0.1.7
type GetRoutesResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetRoutesResponse_Routes ¶ added in v0.1.7
type GetRoutesResponse_Routes struct {
Routes *RouteList `protobuf:"bytes,1,opt,name=routes,proto3,oneof"`
}
type GetScrapeTargetsRequest ¶ added in v0.1.8
type GetScrapeTargetsRequest struct{}
GetScrapeTargetsRequest is the request for GetScrapeTargets.
type GetScrapeTargetsResponse ¶ added in v0.1.8
type GetScrapeTargetsResponse struct {
Targets []*ScrapeTarget
}
GetScrapeTargetsResponse carries the list of scrape targets.
type GetUIManifestRequest ¶
type GetUIManifestRequest struct {
// contains filtered or unexported fields
}
func (*GetUIManifestRequest) Descriptor
deprecated
added in
v0.1.7
func (*GetUIManifestRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUIManifestRequest.ProtoReflect.Descriptor instead.
func (*GetUIManifestRequest) ProtoMessage ¶ added in v0.1.7
func (*GetUIManifestRequest) ProtoMessage()
func (*GetUIManifestRequest) ProtoReflect ¶ added in v0.1.7
func (x *GetUIManifestRequest) ProtoReflect() protoreflect.Message
func (*GetUIManifestRequest) Reset ¶ added in v0.1.7
func (x *GetUIManifestRequest) Reset()
func (*GetUIManifestRequest) String ¶ added in v0.1.7
func (x *GetUIManifestRequest) String() string
type GetUIManifestResponse ¶
type GetUIManifestResponse struct {
// Types that are valid to be assigned to Result:
//
// *GetUIManifestResponse_Manifest
// *GetUIManifestResponse_Error
Result isGetUIManifestResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*GetUIManifestResponse) Descriptor
deprecated
added in
v0.1.7
func (*GetUIManifestResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUIManifestResponse.ProtoReflect.Descriptor instead.
func (*GetUIManifestResponse) GetError ¶ added in v0.1.7
func (x *GetUIManifestResponse) GetError() *Error
func (*GetUIManifestResponse) GetManifest ¶ added in v0.1.7
func (x *GetUIManifestResponse) GetManifest() *UIManifest
func (*GetUIManifestResponse) GetResult ¶ added in v0.1.7
func (x *GetUIManifestResponse) GetResult() isGetUIManifestResponse_Result
func (*GetUIManifestResponse) ProtoMessage ¶ added in v0.1.7
func (*GetUIManifestResponse) ProtoMessage()
func (*GetUIManifestResponse) ProtoReflect ¶ added in v0.1.7
func (x *GetUIManifestResponse) ProtoReflect() protoreflect.Message
func (*GetUIManifestResponse) Reset ¶ added in v0.1.7
func (x *GetUIManifestResponse) Reset()
func (*GetUIManifestResponse) String ¶ added in v0.1.7
func (x *GetUIManifestResponse) String() string
type GetUIManifestResponse_Error ¶ added in v0.1.7
type GetUIManifestResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetUIManifestResponse_Manifest ¶ added in v0.1.7
type GetUIManifestResponse_Manifest struct {
Manifest *UIManifest `protobuf:"bytes,1,opt,name=manifest,proto3,oneof"`
}
type GetUserRequest ¶
type GetUserRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
added in
v0.1.7
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetUserId ¶ added in v0.1.7
func (x *GetUserRequest) GetUserId() string
func (*GetUserRequest) ProtoMessage ¶ added in v0.1.7
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶ added in v0.1.7
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶ added in v0.1.7
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶ added in v0.1.7
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
// Types that are valid to be assigned to Result:
//
// *GetUserResponse_User
// *GetUserResponse_Error
Result isGetUserResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*GetUserResponse) Descriptor
deprecated
added in
v0.1.7
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetError ¶ added in v0.1.7
func (x *GetUserResponse) GetError() *Error
func (*GetUserResponse) GetResult ¶ added in v0.1.7
func (x *GetUserResponse) GetResult() isGetUserResponse_Result
func (*GetUserResponse) GetUser ¶ added in v0.1.7
func (x *GetUserResponse) GetUser() *UserInfo
func (*GetUserResponse) ProtoMessage ¶ added in v0.1.7
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶ added in v0.1.7
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶ added in v0.1.7
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶ added in v0.1.7
func (x *GetUserResponse) String() string
type GetUserResponse_Error ¶ added in v0.1.7
type GetUserResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetUserResponse_User ¶ added in v0.1.7
type GetUserResponse_User struct {
User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}
type HandleHTTPRequest ¶
type HandleHTTPRequest = HandleRequest
HandleHTTPRequest and HandleHTTPResponse are the old names for the route handler request/response types, now generated as HandleRequest/HandleResponse.
type HandleHTTPResponse ¶
type HandleHTTPResponse = HandleResponse
type HandleRequest ¶ added in v0.1.7
type HandleRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Headers map[string]string `` /* 141-byte string literal not displayed */
Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
PathParams map[string]string `` /* 165-byte string literal not displayed */
UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Roles []string `protobuf:"bytes,7,rep,name=roles,proto3" json:"roles,omitempty"`
RawQuery string `protobuf:"bytes,8,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
// contains filtered or unexported fields
}
func (*HandleRequest) Descriptor
deprecated
added in
v0.1.7
func (*HandleRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandleRequest.ProtoReflect.Descriptor instead.
func (*HandleRequest) GetBody ¶ added in v0.1.7
func (x *HandleRequest) GetBody() []byte
func (*HandleRequest) GetHeaders ¶ added in v0.1.7
func (x *HandleRequest) GetHeaders() map[string]string
func (*HandleRequest) GetMethod ¶ added in v0.1.7
func (x *HandleRequest) GetMethod() string
func (*HandleRequest) GetPath ¶ added in v0.1.7
func (x *HandleRequest) GetPath() string
func (*HandleRequest) GetPathParams ¶ added in v0.1.7
func (x *HandleRequest) GetPathParams() map[string]string
func (*HandleRequest) GetRawQuery ¶ added in v0.1.7
func (x *HandleRequest) GetRawQuery() string
func (*HandleRequest) GetRoles ¶ added in v0.1.7
func (x *HandleRequest) GetRoles() []string
func (*HandleRequest) GetUserId ¶ added in v0.1.7
func (x *HandleRequest) GetUserId() string
func (*HandleRequest) ProtoMessage ¶ added in v0.1.7
func (*HandleRequest) ProtoMessage()
func (*HandleRequest) ProtoReflect ¶ added in v0.1.7
func (x *HandleRequest) ProtoReflect() protoreflect.Message
func (*HandleRequest) Reset ¶ added in v0.1.7
func (x *HandleRequest) Reset()
func (*HandleRequest) String ¶ added in v0.1.7
func (x *HandleRequest) String() string
type HandleResponse ¶ added in v0.1.7
type HandleResponse struct {
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Headers map[string]string `` /* 141-byte string literal not displayed */
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*HandleResponse) Descriptor
deprecated
added in
v0.1.7
func (*HandleResponse) Descriptor() ([]byte, []int)
Deprecated: Use HandleResponse.ProtoReflect.Descriptor instead.
func (*HandleResponse) GetBody ¶ added in v0.1.7
func (x *HandleResponse) GetBody() []byte
func (*HandleResponse) GetHeaders ¶ added in v0.1.7
func (x *HandleResponse) GetHeaders() map[string]string
func (*HandleResponse) GetStatus ¶ added in v0.1.7
func (x *HandleResponse) GetStatus() int32
func (*HandleResponse) ProtoMessage ¶ added in v0.1.7
func (*HandleResponse) ProtoMessage()
func (*HandleResponse) ProtoReflect ¶ added in v0.1.7
func (x *HandleResponse) ProtoReflect() protoreflect.Message
func (*HandleResponse) Reset ¶ added in v0.1.7
func (x *HandleResponse) Reset()
func (*HandleResponse) String ¶ added in v0.1.7
func (x *HandleResponse) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
added in
v0.1.7
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶ added in v0.1.7
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶ added in v0.1.7
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶ added in v0.1.7
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶ added in v0.1.7
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
Status HealthResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=kleff.plugins.v1.HealthResponse_Status" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // optional human-readable detail
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
added in
v0.1.7
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetMessage ¶ added in v0.1.7
func (x *HealthResponse) GetMessage() string
func (*HealthResponse) GetStatus ¶ added in v0.1.7
func (x *HealthResponse) GetStatus() HealthResponse_Status
func (*HealthResponse) ProtoMessage ¶ added in v0.1.7
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶ added in v0.1.7
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶ added in v0.1.7
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶ added in v0.1.7
func (x *HealthResponse) String() string
type HealthResponse_Status ¶ added in v0.1.7
type HealthResponse_Status int32
const ( HealthResponse_UNKNOWN HealthResponse_Status = 0 HealthResponse_HEALTHY HealthResponse_Status = 1 HealthResponse_DEGRADED HealthResponse_Status = 2 // running but some non-critical issue HealthResponse_UNHEALTHY HealthResponse_Status = 3 // not able to serve requests )
func (HealthResponse_Status) Descriptor ¶ added in v0.1.7
func (HealthResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (HealthResponse_Status) Enum ¶ added in v0.1.7
func (x HealthResponse_Status) Enum() *HealthResponse_Status
func (HealthResponse_Status) EnumDescriptor
deprecated
added in
v0.1.7
func (HealthResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthResponse_Status.Descriptor instead.
func (HealthResponse_Status) Number ¶ added in v0.1.7
func (x HealthResponse_Status) Number() protoreflect.EnumNumber
func (HealthResponse_Status) String ¶ added in v0.1.7
func (x HealthResponse_Status) String() string
func (HealthResponse_Status) Type ¶ added in v0.1.7
func (HealthResponse_Status) Type() protoreflect.EnumType
type HealthStatus ¶
type HealthStatus = HealthResponse_Status
HealthStatus aliases the generated HealthResponse_Status enum for backward compatibility.
const ( HealthStatusUnknown HealthStatus = HealthResponse_UNKNOWN HealthStatusHealthy HealthStatus = HealthResponse_HEALTHY HealthStatusDegraded HealthStatus = HealthResponse_DEGRADED HealthStatusUnhealthy HealthStatus = HealthResponse_UNHEALTHY )
HealthStatus constants matching the generated HealthResponse_Status enum values.
type IdentityFrameworkClient ¶ added in v0.1.7
type IdentityFrameworkClient interface {
// User lifecycle
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*SearchUsersResponse, error)
// Roles
AssignRole(ctx context.Context, in *AssignRoleRequest, opts ...grpc.CallOption) (*AssignRoleResponse, error)
RevokeRole(ctx context.Context, in *RevokeRoleRequest, opts ...grpc.CallOption) (*RevokeRoleResponse, error)
ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
// Sessions
ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error)
RevokeSession(ctx context.Context, in *RevokeSessionRequest, opts ...grpc.CallOption) (*RevokeSessionResponse, error)
// Password
ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
EnsureAdmin(ctx context.Context, in *EnsureAdminRequest, opts ...grpc.CallOption) (*EnsureAdminResponse, error)
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
IdentityFrameworkClient is the client API for IdentityFramework 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 NewIdentityFrameworkClient ¶ added in v0.1.7
func NewIdentityFrameworkClient(cc grpc.ClientConnInterface) IdentityFrameworkClient
type IdentityFrameworkServer ¶ added in v0.1.7
type IdentityFrameworkServer interface {
// User lifecycle
CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error)
// Roles
AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error)
RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
// Sessions
ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
RevokeSession(context.Context, *RevokeSessionRequest) (*RevokeSessionResponse, error)
// Password
ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
EnsureAdmin(context.Context, *EnsureAdminRequest) (*EnsureAdminResponse, error)
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// contains filtered or unexported methods
}
IdentityFrameworkServer is the server API for IdentityFramework service. All implementations must embed UnimplementedIdentityFrameworkServer for forward compatibility.
type IdentityProviderClient ¶ added in v0.1.7
type IdentityProviderClient interface {
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
ValidateToken(ctx context.Context, in *ValidateTokenRequest, opts ...grpc.CallOption) (*ValidateTokenResponse, error)
GetOIDCConfig(ctx context.Context, in *GetOIDCConfigRequest, opts ...grpc.CallOption) (*GetOIDCConfigResponse, error)
RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
IdentityProviderClient is the client API for IdentityProvider 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 NewIdentityProviderClient ¶ added in v0.1.7
func NewIdentityProviderClient(cc grpc.ClientConnInterface) IdentityProviderClient
type IdentityProviderServer ¶ added in v0.1.7
type IdentityProviderServer interface {
Login(context.Context, *LoginRequest) (*LoginResponse, error)
Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
GetOIDCConfig(context.Context, *GetOIDCConfigRequest) (*GetOIDCConfigResponse, error)
RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// contains filtered or unexported methods
}
IdentityProviderServer is the server API for IdentityProvider service. All implementations must embed UnimplementedIdentityProviderServer for forward compatibility.
type IngestLogRequest ¶ added in v0.1.8
type IngestLogRequest struct {
Entry *LogEntry
}
IngestLogRequest carries a single log entry to the plugin.
type IngestLogResponse ¶ added in v0.1.8
type IngestLogResponse struct {
Error *PluginError
}
IngestLogResponse is returned by IngestLog.
type IngestMetricsRequest ¶ added in v0.1.8
type IngestMetricsRequest struct {
Sample *MetricSample
}
IngestMetricsRequest carries a single metric sample to the plugin.
type IngestMetricsResponse ¶ added in v0.1.8
type IngestMetricsResponse struct {
Error *PluginError
}
IngestMetricsResponse is returned by IngestMetrics.
type IngestSpanRequest ¶ added in v0.1.8
type IngestSpanRequest struct {
Span *Span
}
IngestSpanRequest carries a single span to the plugin.
type IngestSpanResponse ¶ added in v0.1.8
type IngestSpanResponse struct {
Error *PluginError
}
IngestSpanResponse is returned by IngestSpan.
type JWTClaims ¶
type JWTClaims struct {
Subject string
Username string
Email string
Roles []string
// SessionID is the value of the "sid" claim, if present.
// Used for session revocation: after RevokeSession is called with this ID,
// ValidateToken will return an error for any token carrying the same sid.
SessionID string
// ExpiresAt is the token expiry (unix seconds), used to auto-evict
// the revocation entry once the token can no longer be used anyway.
ExpiresAt int64
}
JWTClaims holds the verified identity extracted from a validated JWT.
type JWTValidator ¶
type JWTValidator struct {
// contains filtered or unexported fields
}
JWTValidator verifies RS256 JWTs against a JWKS endpoint and enforces session revocation in-process. Safe for concurrent use.
Per-instance state (keys cache, revocation set) avoids the package-level global bug that arises when a single package hosts multiple validator instances.
func NewJWTValidator ¶
func NewJWTValidator(jwksURL string) *JWTValidator
NewJWTValidator creates a validator that fetches JWKS from jwksURL. The JWKS response is cached for 5 minutes; a cache miss triggers one re-fetch.
func (*JWTValidator) RevokeSession ¶
func (v *JWTValidator) RevokeSession(sessionID string, ttl time.Duration)
RevokeSession marks sessionID as revoked until ttl elapses. Any subsequent ValidateToken call for a token carrying this session ID will return an error, regardless of the token's cryptographic validity.
Set ttl to at least the maximum access-token lifetime for your IDP so that the revocation outlives any tokens that were issued for this session.
func (*JWTValidator) ValidateToken ¶
ValidateToken verifies an RS256 JWT and returns its claims. Returns an error if the signature is invalid, the token is expired, or the session has been explicitly revoked via RevokeSession.
type ListRolesRequest ¶ added in v0.1.7
type ListRolesRequest struct {
// contains filtered or unexported fields
}
func (*ListRolesRequest) Descriptor
deprecated
added in
v0.1.7
func (*ListRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.
func (*ListRolesRequest) ProtoMessage ¶ added in v0.1.7
func (*ListRolesRequest) ProtoMessage()
func (*ListRolesRequest) ProtoReflect ¶ added in v0.1.7
func (x *ListRolesRequest) ProtoReflect() protoreflect.Message
func (*ListRolesRequest) Reset ¶ added in v0.1.7
func (x *ListRolesRequest) Reset()
func (*ListRolesRequest) String ¶ added in v0.1.7
func (x *ListRolesRequest) String() string
type ListRolesResponse ¶ added in v0.1.7
type ListRolesResponse struct {
// Types that are valid to be assigned to Result:
//
// *ListRolesResponse_Roles
// *ListRolesResponse_Error
Result isListRolesResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*ListRolesResponse) Descriptor
deprecated
added in
v0.1.7
func (*ListRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.
func (*ListRolesResponse) GetError ¶ added in v0.1.7
func (x *ListRolesResponse) GetError() *Error
func (*ListRolesResponse) GetResult ¶ added in v0.1.7
func (x *ListRolesResponse) GetResult() isListRolesResponse_Result
func (*ListRolesResponse) GetRoles ¶ added in v0.1.7
func (x *ListRolesResponse) GetRoles() *RoleList
func (*ListRolesResponse) ProtoMessage ¶ added in v0.1.7
func (*ListRolesResponse) ProtoMessage()
func (*ListRolesResponse) ProtoReflect ¶ added in v0.1.7
func (x *ListRolesResponse) ProtoReflect() protoreflect.Message
func (*ListRolesResponse) Reset ¶ added in v0.1.7
func (x *ListRolesResponse) Reset()
func (*ListRolesResponse) String ¶ added in v0.1.7
func (x *ListRolesResponse) String() string
type ListRolesResponse_Error ¶ added in v0.1.7
type ListRolesResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ListRolesResponse_Roles ¶ added in v0.1.7
type ListRolesResponse_Roles struct {
Roles *RoleList `protobuf:"bytes,1,opt,name=roles,proto3,oneof"`
}
type ListSessionsRequest ¶
type ListSessionsRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CurrentSessionId string `protobuf:"bytes,2,opt,name=current_session_id,json=currentSessionId,proto3" json:"current_session_id,omitempty"` // hint for marking the active session
// contains filtered or unexported fields
}
func (*ListSessionsRequest) Descriptor
deprecated
added in
v0.1.7
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) GetCurrentSessionId ¶ added in v0.1.7
func (x *ListSessionsRequest) GetCurrentSessionId() string
func (*ListSessionsRequest) GetUserId ¶ added in v0.1.7
func (x *ListSessionsRequest) GetUserId() string
func (*ListSessionsRequest) ProtoMessage ¶ added in v0.1.7
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶ added in v0.1.7
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶ added in v0.1.7
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶ added in v0.1.7
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct {
// Types that are valid to be assigned to Result:
//
// *ListSessionsResponse_Sessions
// *ListSessionsResponse_Error
Result isListSessionsResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*ListSessionsResponse) Descriptor
deprecated
added in
v0.1.7
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetError ¶ added in v0.1.7
func (x *ListSessionsResponse) GetError() *Error
func (*ListSessionsResponse) GetResult ¶ added in v0.1.7
func (x *ListSessionsResponse) GetResult() isListSessionsResponse_Result
func (*ListSessionsResponse) GetSessions ¶ added in v0.1.7
func (x *ListSessionsResponse) GetSessions() *SessionList
func (*ListSessionsResponse) ProtoMessage ¶ added in v0.1.7
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶ added in v0.1.7
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶ added in v0.1.7
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶ added in v0.1.7
func (x *ListSessionsResponse) String() string
type ListSessionsResponse_Error ¶ added in v0.1.7
type ListSessionsResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ListSessionsResponse_Sessions ¶ added in v0.1.7
type ListSessionsResponse_Sessions struct {
Sessions *SessionList `protobuf:"bytes,1,opt,name=sessions,proto3,oneof"`
}
type ListUsersRequest ¶ added in v0.1.7
type ListUsersRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersRequest) Descriptor
deprecated
added in
v0.1.7
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetPage ¶ added in v0.1.7
func (x *ListUsersRequest) GetPage() int32
func (*ListUsersRequest) GetPageSize ¶ added in v0.1.7
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) ProtoMessage ¶ added in v0.1.7
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶ added in v0.1.7
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶ added in v0.1.7
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶ added in v0.1.7
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶ added in v0.1.7
type ListUsersResponse struct {
// Types that are valid to be assigned to Result:
//
// *ListUsersResponse_Users
// *ListUsersResponse_Error
Result isListUsersResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) Descriptor
deprecated
added in
v0.1.7
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetError ¶ added in v0.1.7
func (x *ListUsersResponse) GetError() *Error
func (*ListUsersResponse) GetResult ¶ added in v0.1.7
func (x *ListUsersResponse) GetResult() isListUsersResponse_Result
func (*ListUsersResponse) GetUsers ¶ added in v0.1.7
func (x *ListUsersResponse) GetUsers() *UserList
func (*ListUsersResponse) ProtoMessage ¶ added in v0.1.7
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶ added in v0.1.7
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶ added in v0.1.7
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶ added in v0.1.7
func (x *ListUsersResponse) String() string
type ListUsersResponse_Error ¶ added in v0.1.7
type ListUsersResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ListUsersResponse_Users ¶ added in v0.1.7
type ListUsersResponse_Users struct {
Users *UserList `protobuf:"bytes,1,opt,name=users,proto3,oneof"`
}
type LogEntry ¶ added in v0.1.8
type LogEntry struct {
WorkloadID string
WorkloadName string
OrgID string
ProjectID string
Level string
Labels map[string]string
Timestamp int64
Message string
}
LogEntry is a single structured log line from a workload.
type LoginConfig ¶
type LoginConfig struct {
ShowForm bool `protobuf:"varint,1,opt,name=show_form,json=showForm,proto3" json:"show_form,omitempty"` // render username/password form
RedirectUrl string `protobuf:"bytes,2,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` // OIDC redirect if show_form = false
ProviderName string `protobuf:"bytes,3,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
ProviderLogo string `protobuf:"bytes,4,opt,name=provider_logo,json=providerLogo,proto3" json:"provider_logo,omitempty"`
// contains filtered or unexported fields
}
func (*LoginConfig) Descriptor
deprecated
added in
v0.1.7
func (*LoginConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoginConfig.ProtoReflect.Descriptor instead.
func (*LoginConfig) GetProviderLogo ¶ added in v0.1.7
func (x *LoginConfig) GetProviderLogo() string
func (*LoginConfig) GetProviderName ¶ added in v0.1.7
func (x *LoginConfig) GetProviderName() string
func (*LoginConfig) GetRedirectUrl ¶ added in v0.1.7
func (x *LoginConfig) GetRedirectUrl() string
func (*LoginConfig) GetShowForm ¶ added in v0.1.7
func (x *LoginConfig) GetShowForm() bool
func (*LoginConfig) ProtoMessage ¶ added in v0.1.7
func (*LoginConfig) ProtoMessage()
func (*LoginConfig) ProtoReflect ¶ added in v0.1.7
func (x *LoginConfig) ProtoReflect() protoreflect.Message
func (*LoginConfig) Reset ¶ added in v0.1.7
func (x *LoginConfig) Reset()
func (*LoginConfig) String ¶ added in v0.1.7
func (x *LoginConfig) String() string
type LoginRequest ¶
type LoginRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*LoginRequest) Descriptor
deprecated
added in
v0.1.7
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶ added in v0.1.7
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶ added in v0.1.7
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶ added in v0.1.7
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v0.1.7
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶ added in v0.1.7
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶ added in v0.1.7
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct {
// Types that are valid to be assigned to Result:
//
// *LoginResponse_Token
// *LoginResponse_Error
Result isLoginResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*LoginResponse) Descriptor
deprecated
added in
v0.1.7
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetError ¶ added in v0.1.7
func (x *LoginResponse) GetError() *Error
func (*LoginResponse) GetResult ¶ added in v0.1.7
func (x *LoginResponse) GetResult() isLoginResponse_Result
func (*LoginResponse) GetToken ¶ added in v0.1.7
func (x *LoginResponse) GetToken() *TokenSet
func (*LoginResponse) ProtoMessage ¶ added in v0.1.7
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶ added in v0.1.7
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶ added in v0.1.7
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶ added in v0.1.7
func (x *LoginResponse) String() string
type LoginResponse_Error ¶ added in v0.1.7
type LoginResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type LoginResponse_Token ¶ added in v0.1.7
type LoginResponse_Token struct {
Token *TokenSet `protobuf:"bytes,1,opt,name=token,proto3,oneof"`
}
type MetricSample ¶ added in v0.1.8
type MetricSample struct {
Timestamp int64
WorkloadID string
WorkloadName string
NodeID string
OrgID string
ProjectID string
CPUMillicores int64
MemoryMB int64
NetworkRxMB float64
NetworkTxMB float64
DiskReadMB float64
DiskWriteMB float64
}
MetricSample is a single resource-usage snapshot for a workload.
type MiddlewareRequest ¶
type MiddlewareRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
Headers map[string]string `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*MiddlewareRequest) Descriptor
deprecated
added in
v0.1.7
func (*MiddlewareRequest) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareRequest.ProtoReflect.Descriptor instead.
func (*MiddlewareRequest) GetHeaders ¶ added in v0.1.7
func (x *MiddlewareRequest) GetHeaders() map[string]string
func (*MiddlewareRequest) GetMethod ¶ added in v0.1.7
func (x *MiddlewareRequest) GetMethod() string
func (*MiddlewareRequest) GetPath ¶ added in v0.1.7
func (x *MiddlewareRequest) GetPath() string
func (*MiddlewareRequest) GetRoles ¶ added in v0.1.7
func (x *MiddlewareRequest) GetRoles() []string
func (*MiddlewareRequest) GetUserId ¶ added in v0.1.7
func (x *MiddlewareRequest) GetUserId() string
func (*MiddlewareRequest) ProtoMessage ¶ added in v0.1.7
func (*MiddlewareRequest) ProtoMessage()
func (*MiddlewareRequest) ProtoReflect ¶ added in v0.1.7
func (x *MiddlewareRequest) ProtoReflect() protoreflect.Message
func (*MiddlewareRequest) Reset ¶ added in v0.1.7
func (x *MiddlewareRequest) Reset()
func (*MiddlewareRequest) String ¶ added in v0.1.7
func (x *MiddlewareRequest) String() string
type MiddlewareResponse ¶
type MiddlewareResponse struct {
Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"`
AddHeaders map[string]string `` // injected into the upstream request
/* 165-byte string literal not displayed */
DenyReason string `protobuf:"bytes,3,opt,name=deny_reason,json=denyReason,proto3" json:"deny_reason,omitempty"` // shown to caller if allow = false
DenyStatus int32 `protobuf:"varint,4,opt,name=deny_status,json=denyStatus,proto3" json:"deny_status,omitempty"` // HTTP status if allow = false (default 403)
// contains filtered or unexported fields
}
func (*MiddlewareResponse) Descriptor
deprecated
added in
v0.1.7
func (*MiddlewareResponse) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareResponse.ProtoReflect.Descriptor instead.
func (*MiddlewareResponse) GetAddHeaders ¶ added in v0.1.7
func (x *MiddlewareResponse) GetAddHeaders() map[string]string
func (*MiddlewareResponse) GetAllow ¶ added in v0.1.7
func (x *MiddlewareResponse) GetAllow() bool
func (*MiddlewareResponse) GetDenyReason ¶ added in v0.1.7
func (x *MiddlewareResponse) GetDenyReason() string
func (*MiddlewareResponse) GetDenyStatus ¶ added in v0.1.7
func (x *MiddlewareResponse) GetDenyStatus() int32
func (*MiddlewareResponse) ProtoMessage ¶ added in v0.1.7
func (*MiddlewareResponse) ProtoMessage()
func (*MiddlewareResponse) ProtoReflect ¶ added in v0.1.7
func (x *MiddlewareResponse) ProtoReflect() protoreflect.Message
func (*MiddlewareResponse) Reset ¶ added in v0.1.7
func (x *MiddlewareResponse) Reset()
func (*MiddlewareResponse) String ¶ added in v0.1.7
func (x *MiddlewareResponse) String() string
type MonitoringFrameworkClient ¶ added in v0.1.8
type MonitoringFrameworkClient interface {
IngestMetrics(ctx context.Context, in *IngestMetricsRequest, opts ...grpc.CallOption) (*IngestMetricsResponse, error)
SupportsBillingMetrics(ctx context.Context, in *SupportsBillingMetricsRequest, opts ...grpc.CallOption) (*SupportsBillingMetricsResponse, error)
}
func NewMonitoringFrameworkClient ¶ added in v0.1.8
func NewMonitoringFrameworkClient(cc grpc.ClientConnInterface) MonitoringFrameworkClient
type MonitoringFrameworkServer ¶ added in v0.1.8
type MonitoringFrameworkServer interface {
IngestMetrics(context.Context, *IngestMetricsRequest) (*IngestMetricsResponse, error)
SupportsBillingMetrics(context.Context, *SupportsBillingMetricsRequest) (*SupportsBillingMetricsResponse, error)
}
type MonitoringLogsClient ¶ added in v0.1.8
type MonitoringLogsClient interface {
IngestLog(ctx context.Context, in *IngestLogRequest, opts ...grpc.CallOption) (*IngestLogResponse, error)
}
func NewMonitoringLogsClient ¶ added in v0.1.8
func NewMonitoringLogsClient(cc grpc.ClientConnInterface) MonitoringLogsClient
type MonitoringLogsServer ¶ added in v0.1.8
type MonitoringLogsServer interface {
IngestLog(context.Context, *IngestLogRequest) (*IngestLogResponse, error)
}
type MonitoringSourceClient ¶ added in v0.1.8
type MonitoringSourceClient interface {
GetScrapeTargets(ctx context.Context, in *GetScrapeTargetsRequest, opts ...grpc.CallOption) (*GetScrapeTargetsResponse, error)
}
func NewMonitoringSourceClient ¶ added in v0.1.8
func NewMonitoringSourceClient(cc grpc.ClientConnInterface) MonitoringSourceClient
type MonitoringSourceServer ¶ added in v0.1.8
type MonitoringSourceServer interface {
GetScrapeTargets(context.Context, *GetScrapeTargetsRequest) (*GetScrapeTargetsResponse, error)
}
type MonitoringTracesClient ¶ added in v0.1.8
type MonitoringTracesClient interface {
IngestSpan(ctx context.Context, in *IngestSpanRequest, opts ...grpc.CallOption) (*IngestSpanResponse, error)
}
func NewMonitoringTracesClient ¶ added in v0.1.8
func NewMonitoringTracesClient(cc grpc.ClientConnInterface) MonitoringTracesClient
type MonitoringTracesServer ¶ added in v0.1.8
type MonitoringTracesServer interface {
IngestSpan(context.Context, *IngestSpanRequest) (*IngestSpanResponse, error)
}
type NavItem ¶
type NavItem struct {
// contains filtered or unexported fields
}
func (*NavItem) Descriptor
deprecated
added in
v0.1.7
func (*NavItem) ProtoMessage ¶ added in v0.1.7
func (*NavItem) ProtoMessage()
func (*NavItem) ProtoReflect ¶ added in v0.1.7
func (x *NavItem) ProtoReflect() protoreflect.Message
type OIDCConfig ¶
type OIDCConfig struct {
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
JwksUri string `protobuf:"bytes,3,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
AuthMode string `protobuf:"bytes,5,opt,name=auth_mode,json=authMode,proto3" json:"auth_mode,omitempty"` // "headless" or "redirect"
TokenEndpoint string `protobuf:"bytes,6,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"`
AuthorizationEndpoint string `protobuf:"bytes,7,opt,name=authorization_endpoint,json=authorizationEndpoint,proto3" json:"authorization_endpoint,omitempty"`
UserinfoEndpoint string `protobuf:"bytes,8,opt,name=userinfo_endpoint,json=userinfoEndpoint,proto3" json:"userinfo_endpoint,omitempty"`
EndSessionEndpoint string `protobuf:"bytes,9,opt,name=end_session_endpoint,json=endSessionEndpoint,proto3" json:"end_session_endpoint,omitempty"`
InternalTokenEndpoint string `` // Docker-internal URL for server-side PKCE proxy
/* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*OIDCConfig) Descriptor
deprecated
added in
v0.1.7
func (*OIDCConfig) Descriptor() ([]byte, []int)
Deprecated: Use OIDCConfig.ProtoReflect.Descriptor instead.
func (*OIDCConfig) GetAuthMode ¶ added in v0.1.7
func (x *OIDCConfig) GetAuthMode() string
func (*OIDCConfig) GetAuthority ¶ added in v0.1.7
func (x *OIDCConfig) GetAuthority() string
func (*OIDCConfig) GetAuthorizationEndpoint ¶ added in v0.1.7
func (x *OIDCConfig) GetAuthorizationEndpoint() string
func (*OIDCConfig) GetClientId ¶ added in v0.1.7
func (x *OIDCConfig) GetClientId() string
func (*OIDCConfig) GetEndSessionEndpoint ¶ added in v0.1.7
func (x *OIDCConfig) GetEndSessionEndpoint() string
func (*OIDCConfig) GetInternalTokenEndpoint ¶ added in v0.1.7
func (x *OIDCConfig) GetInternalTokenEndpoint() string
func (*OIDCConfig) GetJwksUri ¶ added in v0.1.7
func (x *OIDCConfig) GetJwksUri() string
func (*OIDCConfig) GetScopes ¶ added in v0.1.7
func (x *OIDCConfig) GetScopes() []string
func (*OIDCConfig) GetTokenEndpoint ¶ added in v0.1.7
func (x *OIDCConfig) GetTokenEndpoint() string
func (*OIDCConfig) GetUserinfoEndpoint ¶ added in v0.1.7
func (x *OIDCConfig) GetUserinfoEndpoint() string
func (*OIDCConfig) ProtoMessage ¶ added in v0.1.7
func (*OIDCConfig) ProtoMessage()
func (*OIDCConfig) ProtoReflect ¶ added in v0.1.7
func (x *OIDCConfig) ProtoReflect() protoreflect.Message
func (*OIDCConfig) Reset ¶ added in v0.1.7
func (x *OIDCConfig) Reset()
func (*OIDCConfig) String ¶ added in v0.1.7
func (x *OIDCConfig) String() string
type PluginError ¶
PluginError is a backward-compatible Go error type that wraps a proto Error. Callers that previously type-asserted errors to *PluginError can continue to do so.
func ProtoErrorToPluginError ¶ added in v0.1.7
func ProtoErrorToPluginError(e *Error) *PluginError
ProtoErrorToPluginError converts a proto *Error into a *PluginError. Returns nil if e is nil.
func (*PluginError) Error ¶
func (e *PluginError) Error() string
type PluginHTTPClient ¶
type PluginHTTPClient = APIRoutesClient
func NewPluginHTTPClient ¶
func NewPluginHTTPClient(cc grpc.ClientConnInterface) PluginHTTPClient
type PluginHealthClient ¶
type PluginHealthClient interface {
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
// GetCapabilities declares which optional extension points this plugin
// implements. Return an empty list (not an error) for no extra capabilities.
GetCapabilities(ctx context.Context, in *GetCapabilitiesRequest, opts ...grpc.CallOption) (*GetCapabilitiesResponse, error)
}
PluginHealthClient is the client API for PluginHealth 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.
Every plugin must implement PluginHealth. The platform polls Health every 30 seconds and calls GetCapabilities once at registration time to discover which optional services the plugin exposes.
func NewPluginHealthClient ¶
func NewPluginHealthClient(cc grpc.ClientConnInterface) PluginHealthClient
type PluginHealthServer ¶
type PluginHealthServer interface {
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// GetCapabilities declares which optional extension points this plugin
// implements. Return an empty list (not an error) for no extra capabilities.
GetCapabilities(context.Context, *GetCapabilitiesRequest) (*GetCapabilitiesResponse, error)
// contains filtered or unexported methods
}
PluginHealthServer is the server API for PluginHealth service. All implementations must embed UnimplementedPluginHealthServer for forward compatibility.
Every plugin must implement PluginHealth. The platform polls Health every 30 seconds and calls GetCapabilities once at registration time to discover which optional services the plugin exposes.
type PluginMiddlewareClient ¶
type PluginMiddlewareClient = APIMiddlewareClient
func NewPluginMiddlewareClient ¶
func NewPluginMiddlewareClient(cc grpc.ClientConnInterface) PluginMiddlewareClient
NewPluginMiddlewareClient, NewPluginUIClient, NewPluginHTTPClient are the old constructor names; they forward to the generated constructors.
type PluginUIClient ¶
type PluginUIClient = UIManifestServiceClient
func NewPluginUIClient ¶
func NewPluginUIClient(cc grpc.ClientConnInterface) PluginUIClient
type ProfileSection ¶
type ProfileSection struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Slot string `protobuf:"bytes,2,opt,name=slot,proto3" json:"slot,omitempty"` // component slot ID in the bundle
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // unique identifier for this section
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
IframeUrl string `protobuf:"bytes,5,opt,name=iframe_url,json=iframeUrl,proto3" json:"iframe_url,omitempty"` // if set, embed as iframe
Actions []string `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"` // native action keys (e.g. "change_password")
// contains filtered or unexported fields
}
func (*ProfileSection) Descriptor
deprecated
added in
v0.1.7
func (*ProfileSection) Descriptor() ([]byte, []int)
Deprecated: Use ProfileSection.ProtoReflect.Descriptor instead.
func (*ProfileSection) GetActions ¶ added in v0.1.7
func (x *ProfileSection) GetActions() []string
func (*ProfileSection) GetDescription ¶ added in v0.1.7
func (x *ProfileSection) GetDescription() string
func (*ProfileSection) GetId ¶ added in v0.1.7
func (x *ProfileSection) GetId() string
func (*ProfileSection) GetIframeUrl ¶ added in v0.1.7
func (x *ProfileSection) GetIframeUrl() string
func (*ProfileSection) GetLabel ¶ added in v0.1.7
func (x *ProfileSection) GetLabel() string
func (*ProfileSection) GetSlot ¶ added in v0.1.7
func (x *ProfileSection) GetSlot() string
func (*ProfileSection) ProtoMessage ¶ added in v0.1.7
func (*ProfileSection) ProtoMessage()
func (*ProfileSection) ProtoReflect ¶ added in v0.1.7
func (x *ProfileSection) ProtoReflect() protoreflect.Message
func (*ProfileSection) Reset ¶ added in v0.1.7
func (x *ProfileSection) Reset()
func (*ProfileSection) String ¶ added in v0.1.7
func (x *ProfileSection) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
// contains filtered or unexported fields
}
func (*RefreshTokenRequest) Descriptor
deprecated
added in
v0.1.7
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetRefreshToken ¶ added in v0.1.7
func (x *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) ProtoMessage ¶ added in v0.1.7
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶ added in v0.1.7
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶ added in v0.1.7
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶ added in v0.1.7
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct {
// Types that are valid to be assigned to Result:
//
// *RefreshTokenResponse_Token
// *RefreshTokenResponse_Error
Result isRefreshTokenResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*RefreshTokenResponse) Descriptor
deprecated
added in
v0.1.7
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetError ¶ added in v0.1.7
func (x *RefreshTokenResponse) GetError() *Error
func (*RefreshTokenResponse) GetResult ¶ added in v0.1.7
func (x *RefreshTokenResponse) GetResult() isRefreshTokenResponse_Result
func (*RefreshTokenResponse) GetToken ¶ added in v0.1.7
func (x *RefreshTokenResponse) GetToken() *TokenSet
func (*RefreshTokenResponse) ProtoMessage ¶ added in v0.1.7
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶ added in v0.1.7
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶ added in v0.1.7
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶ added in v0.1.7
func (x *RefreshTokenResponse) String() string
type RefreshTokenResponse_Error ¶ added in v0.1.7
type RefreshTokenResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RefreshTokenResponse_Token ¶ added in v0.1.7
type RefreshTokenResponse_Token struct {
Token *TokenSet `protobuf:"bytes,1,opt,name=token,proto3,oneof"`
}
type RegisterRequest ¶
type RegisterRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterRequest) Descriptor
deprecated
added in
v0.1.7
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetEmail ¶ added in v0.1.7
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetFirstName ¶ added in v0.1.7
func (x *RegisterRequest) GetFirstName() string
func (*RegisterRequest) GetLastName ¶ added in v0.1.7
func (x *RegisterRequest) GetLastName() string
func (*RegisterRequest) GetPassword ¶ added in v0.1.7
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetUsername ¶ added in v0.1.7
func (x *RegisterRequest) GetUsername() string
func (*RegisterRequest) ProtoMessage ¶ added in v0.1.7
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶ added in v0.1.7
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶ added in v0.1.7
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶ added in v0.1.7
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct {
// Types that are valid to be assigned to Result:
//
// *RegisterResponse_UserId
// *RegisterResponse_Error
Result isRegisterResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*RegisterResponse) Descriptor
deprecated
added in
v0.1.7
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetError ¶ added in v0.1.7
func (x *RegisterResponse) GetError() *Error
func (*RegisterResponse) GetResult ¶ added in v0.1.7
func (x *RegisterResponse) GetResult() isRegisterResponse_Result
func (*RegisterResponse) GetUserId ¶ added in v0.1.7
func (x *RegisterResponse) GetUserId() string
func (*RegisterResponse) ProtoMessage ¶ added in v0.1.7
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶ added in v0.1.7
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶ added in v0.1.7
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶ added in v0.1.7
func (x *RegisterResponse) String() string
type RegisterResponse_Error ¶ added in v0.1.7
type RegisterResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RegisterResponse_UserId ¶ added in v0.1.7
type RegisterResponse_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}
type RevokeRoleRequest ¶ added in v0.1.7
type RevokeRoleRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeRoleRequest) Descriptor
deprecated
added in
v0.1.7
func (*RevokeRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeRoleRequest.ProtoReflect.Descriptor instead.
func (*RevokeRoleRequest) GetRole ¶ added in v0.1.7
func (x *RevokeRoleRequest) GetRole() string
func (*RevokeRoleRequest) GetUserId ¶ added in v0.1.7
func (x *RevokeRoleRequest) GetUserId() string
func (*RevokeRoleRequest) ProtoMessage ¶ added in v0.1.7
func (*RevokeRoleRequest) ProtoMessage()
func (*RevokeRoleRequest) ProtoReflect ¶ added in v0.1.7
func (x *RevokeRoleRequest) ProtoReflect() protoreflect.Message
func (*RevokeRoleRequest) Reset ¶ added in v0.1.7
func (x *RevokeRoleRequest) Reset()
func (*RevokeRoleRequest) String ¶ added in v0.1.7
func (x *RevokeRoleRequest) String() string
type RevokeRoleResponse ¶ added in v0.1.7
type RevokeRoleResponse struct {
// Types that are valid to be assigned to Result:
//
// *RevokeRoleResponse_Ok
// *RevokeRoleResponse_Error
Result isRevokeRoleResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*RevokeRoleResponse) Descriptor
deprecated
added in
v0.1.7
func (*RevokeRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeRoleResponse.ProtoReflect.Descriptor instead.
func (*RevokeRoleResponse) GetError ¶ added in v0.1.7
func (x *RevokeRoleResponse) GetError() *Error
func (*RevokeRoleResponse) GetOk ¶ added in v0.1.7
func (x *RevokeRoleResponse) GetOk() bool
func (*RevokeRoleResponse) GetResult ¶ added in v0.1.7
func (x *RevokeRoleResponse) GetResult() isRevokeRoleResponse_Result
func (*RevokeRoleResponse) ProtoMessage ¶ added in v0.1.7
func (*RevokeRoleResponse) ProtoMessage()
func (*RevokeRoleResponse) ProtoReflect ¶ added in v0.1.7
func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message
func (*RevokeRoleResponse) Reset ¶ added in v0.1.7
func (x *RevokeRoleResponse) Reset()
func (*RevokeRoleResponse) String ¶ added in v0.1.7
func (x *RevokeRoleResponse) String() string
type RevokeRoleResponse_Error ¶ added in v0.1.7
type RevokeRoleResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RevokeRoleResponse_Ok ¶ added in v0.1.7
type RevokeRoleResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type RevokeSessionRequest ¶
type RevokeSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeSessionRequest) Descriptor
deprecated
added in
v0.1.7
func (*RevokeSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSessionRequest.ProtoReflect.Descriptor instead.
func (*RevokeSessionRequest) GetSessionId ¶ added in v0.1.7
func (x *RevokeSessionRequest) GetSessionId() string
func (*RevokeSessionRequest) GetUserId ¶ added in v0.1.7
func (x *RevokeSessionRequest) GetUserId() string
func (*RevokeSessionRequest) ProtoMessage ¶ added in v0.1.7
func (*RevokeSessionRequest) ProtoMessage()
func (*RevokeSessionRequest) ProtoReflect ¶ added in v0.1.7
func (x *RevokeSessionRequest) ProtoReflect() protoreflect.Message
func (*RevokeSessionRequest) Reset ¶ added in v0.1.7
func (x *RevokeSessionRequest) Reset()
func (*RevokeSessionRequest) String ¶ added in v0.1.7
func (x *RevokeSessionRequest) String() string
type RevokeSessionResponse ¶
type RevokeSessionResponse struct {
// Types that are valid to be assigned to Result:
//
// *RevokeSessionResponse_Ok
// *RevokeSessionResponse_Error
Result isRevokeSessionResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*RevokeSessionResponse) Descriptor
deprecated
added in
v0.1.7
func (*RevokeSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSessionResponse.ProtoReflect.Descriptor instead.
func (*RevokeSessionResponse) GetError ¶ added in v0.1.7
func (x *RevokeSessionResponse) GetError() *Error
func (*RevokeSessionResponse) GetOk ¶ added in v0.1.7
func (x *RevokeSessionResponse) GetOk() bool
func (*RevokeSessionResponse) GetResult ¶ added in v0.1.7
func (x *RevokeSessionResponse) GetResult() isRevokeSessionResponse_Result
func (*RevokeSessionResponse) ProtoMessage ¶ added in v0.1.7
func (*RevokeSessionResponse) ProtoMessage()
func (*RevokeSessionResponse) ProtoReflect ¶ added in v0.1.7
func (x *RevokeSessionResponse) ProtoReflect() protoreflect.Message
func (*RevokeSessionResponse) Reset ¶ added in v0.1.7
func (x *RevokeSessionResponse) Reset()
func (*RevokeSessionResponse) String ¶ added in v0.1.7
func (x *RevokeSessionResponse) String() string
type RevokeSessionResponse_Error ¶ added in v0.1.7
type RevokeSessionResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RevokeSessionResponse_Ok ¶ added in v0.1.7
type RevokeSessionResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type RoleList ¶ added in v0.1.7
type RoleList struct {
Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*RoleList) Descriptor
deprecated
added in
v0.1.7
func (*RoleList) ProtoMessage ¶ added in v0.1.7
func (*RoleList) ProtoMessage()
func (*RoleList) ProtoReflect ¶ added in v0.1.7
func (x *RoleList) ProtoReflect() protoreflect.Message
type Route ¶
type Route struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // "GET", "POST", etc. — "*" for any
Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` // e.g. "/users/{id}"
// contains filtered or unexported fields
}
func (*Route) Descriptor
deprecated
added in
v0.1.7
func (*Route) GetPattern ¶ added in v0.1.7
func (*Route) ProtoMessage ¶ added in v0.1.7
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v0.1.7
func (x *Route) ProtoReflect() protoreflect.Message
type RouteList ¶ added in v0.1.7
type RouteList struct {
Items []*Route `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*RouteList) Descriptor
deprecated
added in
v0.1.7
func (*RouteList) ProtoMessage ¶ added in v0.1.7
func (*RouteList) ProtoMessage()
func (*RouteList) ProtoReflect ¶ added in v0.1.7
func (x *RouteList) ProtoReflect() protoreflect.Message
type ScrapeTarget ¶ added in v0.1.8
type ScrapeTarget struct {
Address string
MetricsPath string
Scheme string
Labels map[string]string
}
ScrapeTarget describes a Prometheus-compatible scrape endpoint.
type SearchUsersRequest ¶ added in v0.1.7
type SearchUsersRequest struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*SearchUsersRequest) Descriptor
deprecated
added in
v0.1.7
func (*SearchUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.
func (*SearchUsersRequest) GetLimit ¶ added in v0.1.7
func (x *SearchUsersRequest) GetLimit() int32
func (*SearchUsersRequest) GetQuery ¶ added in v0.1.7
func (x *SearchUsersRequest) GetQuery() string
func (*SearchUsersRequest) ProtoMessage ¶ added in v0.1.7
func (*SearchUsersRequest) ProtoMessage()
func (*SearchUsersRequest) ProtoReflect ¶ added in v0.1.7
func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message
func (*SearchUsersRequest) Reset ¶ added in v0.1.7
func (x *SearchUsersRequest) Reset()
func (*SearchUsersRequest) String ¶ added in v0.1.7
func (x *SearchUsersRequest) String() string
type SearchUsersResponse ¶ added in v0.1.7
type SearchUsersResponse struct {
// Types that are valid to be assigned to Result:
//
// *SearchUsersResponse_Users
// *SearchUsersResponse_Error
Result isSearchUsersResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*SearchUsersResponse) Descriptor
deprecated
added in
v0.1.7
func (*SearchUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchUsersResponse.ProtoReflect.Descriptor instead.
func (*SearchUsersResponse) GetError ¶ added in v0.1.7
func (x *SearchUsersResponse) GetError() *Error
func (*SearchUsersResponse) GetResult ¶ added in v0.1.7
func (x *SearchUsersResponse) GetResult() isSearchUsersResponse_Result
func (*SearchUsersResponse) GetUsers ¶ added in v0.1.7
func (x *SearchUsersResponse) GetUsers() *UserList
func (*SearchUsersResponse) ProtoMessage ¶ added in v0.1.7
func (*SearchUsersResponse) ProtoMessage()
func (*SearchUsersResponse) ProtoReflect ¶ added in v0.1.7
func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message
func (*SearchUsersResponse) Reset ¶ added in v0.1.7
func (x *SearchUsersResponse) Reset()
func (*SearchUsersResponse) String ¶ added in v0.1.7
func (x *SearchUsersResponse) String() string
type SearchUsersResponse_Error ¶ added in v0.1.7
type SearchUsersResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SearchUsersResponse_Users ¶ added in v0.1.7
type SearchUsersResponse_Users struct {
Users *UserList `protobuf:"bytes,1,opt,name=users,proto3,oneof"`
}
type Session ¶
type Session struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
UserAgent string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
LastAccess int64 `protobuf:"varint,7,opt,name=last_access,json=lastAccess,proto3" json:"last_access,omitempty"`
Current bool `protobuf:"varint,8,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
added in
v0.1.7
func (*Session) GetCreatedAt ¶ added in v0.1.7
func (*Session) GetCurrent ¶ added in v0.1.7
func (*Session) GetExpiresAt ¶ added in v0.1.7
func (*Session) GetIpAddress ¶ added in v0.1.7
func (*Session) GetLastAccess ¶ added in v0.1.7
func (*Session) GetUserAgent ¶ added in v0.1.7
func (*Session) ProtoMessage ¶ added in v0.1.7
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶ added in v0.1.7
func (x *Session) ProtoReflect() protoreflect.Message
type SessionList ¶ added in v0.1.7
type SessionList struct {
Items []*Session `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*SessionList) Descriptor
deprecated
added in
v0.1.7
func (*SessionList) Descriptor() ([]byte, []int)
Deprecated: Use SessionList.ProtoReflect.Descriptor instead.
func (*SessionList) GetItems ¶ added in v0.1.7
func (x *SessionList) GetItems() []*Session
func (*SessionList) ProtoMessage ¶ added in v0.1.7
func (*SessionList) ProtoMessage()
func (*SessionList) ProtoReflect ¶ added in v0.1.7
func (x *SessionList) ProtoReflect() protoreflect.Message
func (*SessionList) Reset ¶ added in v0.1.7
func (x *SessionList) Reset()
func (*SessionList) String ¶ added in v0.1.7
func (x *SessionList) String() string
type SettingsPage ¶
type SettingsPage struct {
Href string `protobuf:"bytes,1,opt,name=href,proto3" json:"href,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Slot string `protobuf:"bytes,3,opt,name=slot,proto3" json:"slot,omitempty"` // component slot ID in the bundle
IframeUrl string `protobuf:"bytes,4,opt,name=iframe_url,json=iframeUrl,proto3" json:"iframe_url,omitempty"` // if set, embed as iframe
// contains filtered or unexported fields
}
func (*SettingsPage) Descriptor
deprecated
added in
v0.1.7
func (*SettingsPage) Descriptor() ([]byte, []int)
Deprecated: Use SettingsPage.ProtoReflect.Descriptor instead.
func (*SettingsPage) GetHref ¶ added in v0.1.7
func (x *SettingsPage) GetHref() string
func (*SettingsPage) GetIframeUrl ¶ added in v0.1.7
func (x *SettingsPage) GetIframeUrl() string
func (*SettingsPage) GetLabel ¶ added in v0.1.7
func (x *SettingsPage) GetLabel() string
func (*SettingsPage) GetSlot ¶ added in v0.1.7
func (x *SettingsPage) GetSlot() string
func (*SettingsPage) ProtoMessage ¶ added in v0.1.7
func (*SettingsPage) ProtoMessage()
func (*SettingsPage) ProtoReflect ¶ added in v0.1.7
func (x *SettingsPage) ProtoReflect() protoreflect.Message
func (*SettingsPage) Reset ¶ added in v0.1.7
func (x *SettingsPage) Reset()
func (*SettingsPage) String ¶ added in v0.1.7
func (x *SettingsPage) String() string
type SignupConfig ¶
type SignupConfig struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
RedirectUrl string `protobuf:"bytes,2,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
// contains filtered or unexported fields
}
func (*SignupConfig) Descriptor
deprecated
added in
v0.1.7
func (*SignupConfig) Descriptor() ([]byte, []int)
Deprecated: Use SignupConfig.ProtoReflect.Descriptor instead.
func (*SignupConfig) GetEnabled ¶ added in v0.1.7
func (x *SignupConfig) GetEnabled() bool
func (*SignupConfig) GetRedirectUrl ¶ added in v0.1.7
func (x *SignupConfig) GetRedirectUrl() string
func (*SignupConfig) ProtoMessage ¶ added in v0.1.7
func (*SignupConfig) ProtoMessage()
func (*SignupConfig) ProtoReflect ¶ added in v0.1.7
func (x *SignupConfig) ProtoReflect() protoreflect.Message
func (*SignupConfig) Reset ¶ added in v0.1.7
func (x *SignupConfig) Reset()
func (*SignupConfig) String ¶ added in v0.1.7
func (x *SignupConfig) String() string
type Span ¶ added in v0.1.8
type Span struct {
TraceID string
SpanID string
ParentSpanID string
Name string
StartTimeNs int64
EndTimeNs int64
WorkloadID string
OrgID string
ProjectID string
Status string
Attributes map[string]string
}
Span is a single distributed-tracing span from a workload.
type SupportsBillingMetricsRequest ¶ added in v0.1.8
type SupportsBillingMetricsRequest struct{}
SupportsBillingMetricsRequest is the request for SupportsBillingMetrics.
type SupportsBillingMetricsResponse ¶ added in v0.1.8
type SupportsBillingMetricsResponse struct {
Supported bool
}
SupportsBillingMetricsResponse indicates whether billing-grade metrics are available.
type TokenClaims ¶
type TokenClaims struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*TokenClaims) Descriptor
deprecated
added in
v0.1.7
func (*TokenClaims) Descriptor() ([]byte, []int)
Deprecated: Use TokenClaims.ProtoReflect.Descriptor instead.
func (*TokenClaims) GetEmail ¶ added in v0.1.7
func (x *TokenClaims) GetEmail() string
func (*TokenClaims) GetRoles ¶ added in v0.1.7
func (x *TokenClaims) GetRoles() []string
func (*TokenClaims) GetSubject ¶ added in v0.1.7
func (x *TokenClaims) GetSubject() string
func (*TokenClaims) GetUsername ¶ added in v0.1.7
func (x *TokenClaims) GetUsername() string
func (*TokenClaims) ProtoMessage ¶ added in v0.1.7
func (*TokenClaims) ProtoMessage()
func (*TokenClaims) ProtoReflect ¶ added in v0.1.7
func (x *TokenClaims) ProtoReflect() protoreflect.Message
func (*TokenClaims) Reset ¶ added in v0.1.7
func (x *TokenClaims) Reset()
func (*TokenClaims) String ¶ added in v0.1.7
func (x *TokenClaims) String() string
type TokenSet ¶
type TokenSet struct {
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
IdToken string `protobuf:"bytes,3,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
TokenType string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
ExpiresIn int64 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
// contains filtered or unexported fields
}
func (*TokenSet) Descriptor
deprecated
added in
v0.1.7
func (*TokenSet) GetAccessToken ¶ added in v0.1.7
func (*TokenSet) GetExpiresIn ¶ added in v0.1.7
func (*TokenSet) GetIdToken ¶ added in v0.1.7
func (*TokenSet) GetRefreshToken ¶ added in v0.1.7
func (*TokenSet) GetTokenType ¶ added in v0.1.7
func (*TokenSet) ProtoMessage ¶ added in v0.1.7
func (*TokenSet) ProtoMessage()
func (*TokenSet) ProtoReflect ¶ added in v0.1.7
func (x *TokenSet) ProtoReflect() protoreflect.Message
type UIManifest ¶
type UIManifest struct {
SettingsPages []*SettingsPage `protobuf:"bytes,2,rep,name=settings_pages,json=settingsPages,proto3" json:"settings_pages,omitempty"`
ProfileSections []*ProfileSection `protobuf:"bytes,3,rep,name=profile_sections,json=profileSections,proto3" json:"profile_sections,omitempty"`
LoginConfig *LoginConfig `protobuf:"bytes,4,opt,name=login_config,json=loginConfig,proto3" json:"login_config,omitempty"`
SignupConfig *SignupConfig `protobuf:"bytes,5,opt,name=signup_config,json=signupConfig,proto3" json:"signup_config,omitempty"`
BundleUrl string `protobuf:"bytes,6,opt,name=bundle_url,json=bundleUrl,proto3" json:"bundle_url,omitempty"` // JS module URL for dynamic loading
PluginId string `protobuf:"bytes,7,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // set by the platform after fetching
// contains filtered or unexported fields
}
func (*UIManifest) Descriptor
deprecated
added in
v0.1.7
func (*UIManifest) Descriptor() ([]byte, []int)
Deprecated: Use UIManifest.ProtoReflect.Descriptor instead.
func (*UIManifest) GetBundleUrl ¶ added in v0.1.7
func (x *UIManifest) GetBundleUrl() string
func (*UIManifest) GetLoginConfig ¶ added in v0.1.7
func (x *UIManifest) GetLoginConfig() *LoginConfig
func (*UIManifest) GetNavItems ¶ added in v0.1.7
func (x *UIManifest) GetNavItems() []*NavItem
func (*UIManifest) GetPluginId ¶ added in v0.1.7
func (x *UIManifest) GetPluginId() string
func (*UIManifest) GetProfileSections ¶ added in v0.1.7
func (x *UIManifest) GetProfileSections() []*ProfileSection
func (*UIManifest) GetSettingsPages ¶ added in v0.1.7
func (x *UIManifest) GetSettingsPages() []*SettingsPage
func (*UIManifest) GetSignupConfig ¶ added in v0.1.7
func (x *UIManifest) GetSignupConfig() *SignupConfig
func (*UIManifest) ProtoMessage ¶ added in v0.1.7
func (*UIManifest) ProtoMessage()
func (*UIManifest) ProtoReflect ¶ added in v0.1.7
func (x *UIManifest) ProtoReflect() protoreflect.Message
func (*UIManifest) Reset ¶ added in v0.1.7
func (x *UIManifest) Reset()
func (*UIManifest) String ¶ added in v0.1.7
func (x *UIManifest) String() string
type UIManifestServiceClient ¶ added in v0.1.7
type UIManifestServiceClient interface {
GetUIManifest(ctx context.Context, in *GetUIManifestRequest, opts ...grpc.CallOption) (*GetUIManifestResponse, error)
}
UIManifestServiceClient is the client API for UIManifestService 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 NewUIManifestServiceClient ¶ added in v0.1.7
func NewUIManifestServiceClient(cc grpc.ClientConnInterface) UIManifestServiceClient
type UIManifestServiceServer ¶ added in v0.1.7
type UIManifestServiceServer interface {
GetUIManifest(context.Context, *GetUIManifestRequest) (*GetUIManifestResponse, error)
// contains filtered or unexported methods
}
UIManifestServiceServer is the server API for UIManifestService service. All implementations must embed UnimplementedUIManifestServiceServer for forward compatibility.
type UnimplementedAPIMiddlewareServer ¶ added in v0.1.7
type UnimplementedAPIMiddlewareServer struct{}
UnimplementedAPIMiddlewareServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAPIMiddlewareServer) OnRequest ¶ added in v0.1.7
func (UnimplementedAPIMiddlewareServer) OnRequest(context.Context, *MiddlewareRequest) (*MiddlewareResponse, error)
type UnimplementedAPIRoutesServer ¶ added in v0.1.7
type UnimplementedAPIRoutesServer struct{}
UnimplementedAPIRoutesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAPIRoutesServer) GetRoutes ¶ added in v0.1.7
func (UnimplementedAPIRoutesServer) GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error)
func (UnimplementedAPIRoutesServer) Handle ¶ added in v0.1.7
func (UnimplementedAPIRoutesServer) Handle(context.Context, *HandleRequest) (*HandleResponse, error)
type UnimplementedIdentityFrameworkServer ¶ added in v0.1.7
type UnimplementedIdentityFrameworkServer struct{}
UnimplementedIdentityFrameworkServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIdentityFrameworkServer) AssignRole ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error)
func (UnimplementedIdentityFrameworkServer) ChangePassword ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedIdentityFrameworkServer) CreateUser ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedIdentityFrameworkServer) DeleteUser ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedIdentityFrameworkServer) EnsureAdmin ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) EnsureAdmin(context.Context, *EnsureAdminRequest) (*EnsureAdminResponse, error)
func (UnimplementedIdentityFrameworkServer) Health ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedIdentityFrameworkServer) ListRoles ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
func (UnimplementedIdentityFrameworkServer) ListSessions ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (UnimplementedIdentityFrameworkServer) ListUsers ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedIdentityFrameworkServer) RevokeRole ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
func (UnimplementedIdentityFrameworkServer) RevokeSession ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) RevokeSession(context.Context, *RevokeSessionRequest) (*RevokeSessionResponse, error)
func (UnimplementedIdentityFrameworkServer) SearchUsers ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error)
func (UnimplementedIdentityFrameworkServer) UpdateUser ¶ added in v0.1.7
func (UnimplementedIdentityFrameworkServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
type UnimplementedIdentityProviderServer ¶ added in v0.1.7
type UnimplementedIdentityProviderServer struct{}
UnimplementedIdentityProviderServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIdentityProviderServer) GetOIDCConfig ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) GetOIDCConfig(context.Context, *GetOIDCConfigRequest) (*GetOIDCConfigResponse, error)
func (UnimplementedIdentityProviderServer) GetUser ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedIdentityProviderServer) Health ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedIdentityProviderServer) Login ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedIdentityProviderServer) RefreshToken ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedIdentityProviderServer) Register ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedIdentityProviderServer) ValidateToken ¶ added in v0.1.7
func (UnimplementedIdentityProviderServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
type UnimplementedMonitoringFrameworkServer ¶ added in v0.1.8
type UnimplementedMonitoringFrameworkServer struct{}
func (UnimplementedMonitoringFrameworkServer) IngestMetrics ¶ added in v0.1.8
func (UnimplementedMonitoringFrameworkServer) IngestMetrics(context.Context, *IngestMetricsRequest) (*IngestMetricsResponse, error)
func (UnimplementedMonitoringFrameworkServer) SupportsBillingMetrics ¶ added in v0.1.8
func (UnimplementedMonitoringFrameworkServer) SupportsBillingMetrics(context.Context, *SupportsBillingMetricsRequest) (*SupportsBillingMetricsResponse, error)
type UnimplementedMonitoringLogsServer ¶ added in v0.1.8
type UnimplementedMonitoringLogsServer struct{}
func (UnimplementedMonitoringLogsServer) IngestLog ¶ added in v0.1.8
func (UnimplementedMonitoringLogsServer) IngestLog(context.Context, *IngestLogRequest) (*IngestLogResponse, error)
type UnimplementedMonitoringSourceServer ¶ added in v0.1.8
type UnimplementedMonitoringSourceServer struct{}
func (UnimplementedMonitoringSourceServer) GetScrapeTargets ¶ added in v0.1.8
func (UnimplementedMonitoringSourceServer) GetScrapeTargets(context.Context, *GetScrapeTargetsRequest) (*GetScrapeTargetsResponse, error)
type UnimplementedMonitoringTracesServer ¶ added in v0.1.8
type UnimplementedMonitoringTracesServer struct{}
func (UnimplementedMonitoringTracesServer) IngestSpan ¶ added in v0.1.8
func (UnimplementedMonitoringTracesServer) IngestSpan(context.Context, *IngestSpanRequest) (*IngestSpanResponse, error)
type UnimplementedPluginHealthServer ¶
type UnimplementedPluginHealthServer struct{}
UnimplementedPluginHealthServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPluginHealthServer) GetCapabilities ¶
func (UnimplementedPluginHealthServer) GetCapabilities(context.Context, *GetCapabilitiesRequest) (*GetCapabilitiesResponse, error)
func (UnimplementedPluginHealthServer) Health ¶
func (UnimplementedPluginHealthServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
type UnimplementedUIManifestServiceServer ¶ added in v0.1.7
type UnimplementedUIManifestServiceServer struct{}
UnimplementedUIManifestServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUIManifestServiceServer) GetUIManifest ¶ added in v0.1.7
func (UnimplementedUIManifestServiceServer) GetUIManifest(context.Context, *GetUIManifestRequest) (*GetUIManifestResponse, error)
type UnsafeAPIMiddlewareServer ¶ added in v0.1.7
type UnsafeAPIMiddlewareServer interface {
// contains filtered or unexported methods
}
UnsafeAPIMiddlewareServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIMiddlewareServer will result in compilation errors.
type UnsafeAPIRoutesServer ¶ added in v0.1.7
type UnsafeAPIRoutesServer interface {
// contains filtered or unexported methods
}
UnsafeAPIRoutesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIRoutesServer will result in compilation errors.
type UnsafeIdentityFrameworkServer ¶ added in v0.1.7
type UnsafeIdentityFrameworkServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityFrameworkServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityFrameworkServer will result in compilation errors.
type UnsafeIdentityProviderServer ¶ added in v0.1.7
type UnsafeIdentityProviderServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityProviderServer will result in compilation errors.
type UnsafePluginHealthServer ¶ added in v0.1.7
type UnsafePluginHealthServer interface {
// contains filtered or unexported methods
}
UnsafePluginHealthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginHealthServer will result in compilation errors.
type UnsafeUIManifestServiceServer ¶ added in v0.1.7
type UnsafeUIManifestServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUIManifestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UIManifestServiceServer will result in compilation errors.
type UpdateUserRequest ¶ added in v0.1.7
type UpdateUserRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserRequest) Descriptor
deprecated
added in
v0.1.7
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetEmail ¶ added in v0.1.7
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetFirstName ¶ added in v0.1.7
func (x *UpdateUserRequest) GetFirstName() string
func (*UpdateUserRequest) GetLastName ¶ added in v0.1.7
func (x *UpdateUserRequest) GetLastName() string
func (*UpdateUserRequest) GetUserId ¶ added in v0.1.7
func (x *UpdateUserRequest) GetUserId() string
func (*UpdateUserRequest) ProtoMessage ¶ added in v0.1.7
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶ added in v0.1.7
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶ added in v0.1.7
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶ added in v0.1.7
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶ added in v0.1.7
type UpdateUserResponse struct {
// Types that are valid to be assigned to Result:
//
// *UpdateUserResponse_Ok
// *UpdateUserResponse_Error
Result isUpdateUserResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
added in
v0.1.7
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetError ¶ added in v0.1.7
func (x *UpdateUserResponse) GetError() *Error
func (*UpdateUserResponse) GetOk ¶ added in v0.1.7
func (x *UpdateUserResponse) GetOk() bool
func (*UpdateUserResponse) GetResult ¶ added in v0.1.7
func (x *UpdateUserResponse) GetResult() isUpdateUserResponse_Result
func (*UpdateUserResponse) ProtoMessage ¶ added in v0.1.7
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶ added in v0.1.7
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶ added in v0.1.7
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶ added in v0.1.7
func (x *UpdateUserResponse) String() string
type UpdateUserResponse_Error ¶ added in v0.1.7
type UpdateUserResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type UpdateUserResponse_Ok ¶ added in v0.1.7
type UpdateUserResponse_Ok struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3,oneof"`
}
type UserEntry ¶ added in v0.1.7
type UserEntry struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
Roles []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*UserEntry) Descriptor
deprecated
added in
v0.1.7
func (*UserEntry) GetFirstName ¶ added in v0.1.7
func (*UserEntry) GetLastName ¶ added in v0.1.7
func (*UserEntry) GetUsername ¶ added in v0.1.7
func (*UserEntry) ProtoMessage ¶ added in v0.1.7
func (*UserEntry) ProtoMessage()
func (*UserEntry) ProtoReflect ¶ added in v0.1.7
func (x *UserEntry) ProtoReflect() protoreflect.Message
type UserInfo ¶
type UserInfo struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*UserInfo) Descriptor
deprecated
added in
v0.1.7
func (*UserInfo) GetFirstName ¶ added in v0.1.7
func (*UserInfo) GetLastName ¶ added in v0.1.7
func (*UserInfo) GetUsername ¶ added in v0.1.7
func (*UserInfo) ProtoMessage ¶ added in v0.1.7
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶ added in v0.1.7
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserList ¶ added in v0.1.7
type UserList struct {
Items []*UserEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*UserList) Descriptor
deprecated
added in
v0.1.7
func (*UserList) ProtoMessage ¶ added in v0.1.7
func (*UserList) ProtoMessage()
func (*UserList) ProtoReflect ¶ added in v0.1.7
func (x *UserList) ProtoReflect() protoreflect.Message
type ValidateTokenRequest ¶
type ValidateTokenRequest struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*ValidateTokenRequest) Descriptor
deprecated
added in
v0.1.7
func (*ValidateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead.
func (*ValidateTokenRequest) GetToken ¶ added in v0.1.7
func (x *ValidateTokenRequest) GetToken() string
func (*ValidateTokenRequest) ProtoMessage ¶ added in v0.1.7
func (*ValidateTokenRequest) ProtoMessage()
func (*ValidateTokenRequest) ProtoReflect ¶ added in v0.1.7
func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
func (*ValidateTokenRequest) Reset ¶ added in v0.1.7
func (x *ValidateTokenRequest) Reset()
func (*ValidateTokenRequest) String ¶ added in v0.1.7
func (x *ValidateTokenRequest) String() string
type ValidateTokenResponse ¶
type ValidateTokenResponse struct {
// Types that are valid to be assigned to Result:
//
// *ValidateTokenResponse_Claims
// *ValidateTokenResponse_Error
Result isValidateTokenResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*ValidateTokenResponse) Descriptor
deprecated
added in
v0.1.7
func (*ValidateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead.
func (*ValidateTokenResponse) GetClaims ¶ added in v0.1.7
func (x *ValidateTokenResponse) GetClaims() *TokenClaims
func (*ValidateTokenResponse) GetError ¶ added in v0.1.7
func (x *ValidateTokenResponse) GetError() *Error
func (*ValidateTokenResponse) GetResult ¶ added in v0.1.7
func (x *ValidateTokenResponse) GetResult() isValidateTokenResponse_Result
func (*ValidateTokenResponse) ProtoMessage ¶ added in v0.1.7
func (*ValidateTokenResponse) ProtoMessage()
func (*ValidateTokenResponse) ProtoReflect ¶ added in v0.1.7
func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
func (*ValidateTokenResponse) Reset ¶ added in v0.1.7
func (x *ValidateTokenResponse) Reset()
func (*ValidateTokenResponse) String ¶ added in v0.1.7
func (x *ValidateTokenResponse) String() string
type ValidateTokenResponse_Claims ¶ added in v0.1.7
type ValidateTokenResponse_Claims struct {
Claims *TokenClaims `protobuf:"bytes,1,opt,name=claims,proto3,oneof"`
}
type ValidateTokenResponse_Error ¶ added in v0.1.7
type ValidateTokenResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
Source Files
¶
- common.pb.go
- common_grpc.pb.go
- compat.go
- identity_framework.pb.go
- identity_framework_grpc.pb.go
- identity_provider.pb.go
- identity_provider_grpc.pb.go
- jwt.go
- manifest.pb.go
- manifest_grpc.pb.go
- middleware.pb.go
- middleware_grpc.pb.go
- monitoring_codec.go
- monitoring_types.go
- observability.go
- routes.pb.go
- routes_grpc.pb.go
- server.go