Documentation ¶
Index ¶
- Variables
- func RegisterAuditLogServer(s grpc.ServiceRegistrar, srv AuditLogServer)
- func RegisterCertificateServer(s grpc.ServiceRegistrar, srv CertificateServer)
- func RegisterClusterAccessServer(s grpc.ServiceRegistrar, srv ClusterAccessServer)
- func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer)
- func RegisterCommandHandlerExtensionsServer(s grpc.ServiceRegistrar, srv CommandHandlerExtensionsServer)
- func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type AuditLogClient
- type AuditLogServer
- type AuditLog_GetByDateRangeClient
- type AuditLog_GetByDateRangeServer
- type AuditLog_GetByUserClient
- type AuditLog_GetByUserServer
- type AuditLog_GetUserActionsClient
- type AuditLog_GetUserActionsServer
- type AuditLog_GetUsersOverviewClient
- type AuditLog_GetUsersOverviewServer
- type CertificateClient
- type CertificateServer
- type ClusterAccessClient
- type ClusterAccessServer
- type ClusterAccess_GetClusterAccessByTenantIdClient
- type ClusterAccess_GetClusterAccessByTenantIdServer
- type ClusterAccess_GetClusterAccessByUserIdClient
- type ClusterAccess_GetClusterAccessByUserIdServer
- type ClusterAccess_GetTenantClusterMappingsByClusterIdClient
- type ClusterAccess_GetTenantClusterMappingsByClusterIdServer
- type ClusterAccess_GetTenantClusterMappingsByTenantIdClient
- type ClusterAccess_GetTenantClusterMappingsByTenantIdServer
- type ClusterClient
- type ClusterServer
- type Cluster_GetAllClient
- type Cluster_GetAllServer
- type CommandHandlerExtensionsClient
- type CommandHandlerExtensionsServer
- type GetAllRequest
- func (*GetAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllRequest) GetIncludeDeleted() bool
- func (*GetAllRequest) ProtoMessage()
- func (x *GetAllRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllRequest) Reset()
- func (x *GetAllRequest) String() string
- func (m *GetAllRequest) Validate() error
- func (m *GetAllRequest) ValidateAll() error
- type GetAllRequestMultiError
- type GetAllRequestValidationError
- func (e GetAllRequestValidationError) Cause() error
- func (e GetAllRequestValidationError) Error() string
- func (e GetAllRequestValidationError) ErrorName() string
- func (e GetAllRequestValidationError) Field() string
- func (e GetAllRequestValidationError) Key() bool
- func (e GetAllRequestValidationError) Reason() string
- type GetAuditLogByDateRangeRequest
- func (*GetAuditLogByDateRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuditLogByDateRangeRequest) GetMaxTimestamp() *timestamppb.Timestamp
- func (x *GetAuditLogByDateRangeRequest) GetMinTimestamp() *timestamppb.Timestamp
- func (*GetAuditLogByDateRangeRequest) ProtoMessage()
- func (x *GetAuditLogByDateRangeRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuditLogByDateRangeRequest) Reset()
- func (x *GetAuditLogByDateRangeRequest) String() string
- func (m *GetAuditLogByDateRangeRequest) Validate() error
- func (m *GetAuditLogByDateRangeRequest) ValidateAll() error
- type GetAuditLogByDateRangeRequestMultiError
- type GetAuditLogByDateRangeRequestValidationError
- func (e GetAuditLogByDateRangeRequestValidationError) Cause() error
- func (e GetAuditLogByDateRangeRequestValidationError) Error() string
- func (e GetAuditLogByDateRangeRequestValidationError) ErrorName() string
- func (e GetAuditLogByDateRangeRequestValidationError) Field() string
- func (e GetAuditLogByDateRangeRequestValidationError) Key() bool
- func (e GetAuditLogByDateRangeRequestValidationError) Reason() string
- type GetByUserRequest
- func (*GetByUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByUserRequest) GetDateRange() *GetAuditLogByDateRangeRequest
- func (x *GetByUserRequest) GetEmail() *wrapperspb.StringValue
- func (*GetByUserRequest) ProtoMessage()
- func (x *GetByUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetByUserRequest) Reset()
- func (x *GetByUserRequest) String() string
- func (m *GetByUserRequest) Validate() error
- func (m *GetByUserRequest) ValidateAll() error
- type GetByUserRequestMultiError
- type GetByUserRequestValidationError
- func (e GetByUserRequestValidationError) Cause() error
- func (e GetByUserRequestValidationError) Error() string
- func (e GetByUserRequestValidationError) ErrorName() string
- func (e GetByUserRequestValidationError) Field() string
- func (e GetByUserRequestValidationError) Key() bool
- func (e GetByUserRequestValidationError) Reason() string
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetAggregateId() string
- func (x *GetCertificateRequest) GetAggregateType() string
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (x *GetCertificateRequest) String() string
- func (m *GetCertificateRequest) Validate() error
- func (m *GetCertificateRequest) ValidateAll() error
- type GetCertificateRequestMultiError
- type GetCertificateRequestValidationError
- func (e GetCertificateRequestValidationError) Cause() error
- func (e GetCertificateRequestValidationError) Error() string
- func (e GetCertificateRequestValidationError) ErrorName() string
- func (e GetCertificateRequestValidationError) Field() string
- func (e GetCertificateRequestValidationError) Key() bool
- func (e GetCertificateRequestValidationError) Reason() string
- type GetClusterMappingRequest
- func (*GetClusterMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterMappingRequest) GetClusterId() string
- func (x *GetClusterMappingRequest) GetTenantId() string
- func (*GetClusterMappingRequest) ProtoMessage()
- func (x *GetClusterMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterMappingRequest) Reset()
- func (x *GetClusterMappingRequest) String() string
- func (m *GetClusterMappingRequest) Validate() error
- func (m *GetClusterMappingRequest) ValidateAll() error
- type GetClusterMappingRequestMultiError
- type GetClusterMappingRequestValidationError
- func (e GetClusterMappingRequestValidationError) Cause() error
- func (e GetClusterMappingRequestValidationError) Error() string
- func (e GetClusterMappingRequestValidationError) ErrorName() string
- func (e GetClusterMappingRequestValidationError) Field() string
- func (e GetClusterMappingRequestValidationError) Key() bool
- func (e GetClusterMappingRequestValidationError) Reason() string
- type GetCountRequest
- func (*GetCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCountRequest) GetIncludeDeleted() bool
- func (*GetCountRequest) ProtoMessage()
- func (x *GetCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetCountRequest) Reset()
- func (x *GetCountRequest) String() string
- func (m *GetCountRequest) Validate() error
- func (m *GetCountRequest) ValidateAll() error
- type GetCountRequestMultiError
- type GetCountRequestValidationError
- func (e GetCountRequestValidationError) Cause() error
- func (e GetCountRequestValidationError) Error() string
- func (e GetCountRequestValidationError) ErrorName() string
- func (e GetCountRequestValidationError) Field() string
- func (e GetCountRequestValidationError) Key() bool
- func (e GetCountRequestValidationError) Reason() string
- type GetCountResult
- func (*GetCountResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetCountResult) GetCount() int64
- func (*GetCountResult) ProtoMessage()
- func (x *GetCountResult) ProtoReflect() protoreflect.Message
- func (x *GetCountResult) Reset()
- func (x *GetCountResult) String() string
- func (m *GetCountResult) Validate() error
- func (m *GetCountResult) ValidateAll() error
- type GetCountResultMultiError
- type GetCountResultValidationError
- func (e GetCountResultValidationError) Cause() error
- func (e GetCountResultValidationError) Error() string
- func (e GetCountResultValidationError) ErrorName() string
- func (e GetCountResultValidationError) Field() string
- func (e GetCountResultValidationError) Key() bool
- func (e GetCountResultValidationError) Reason() string
- type GetUserActionsRequest
- func (*GetUserActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserActionsRequest) GetDateRange() *GetAuditLogByDateRangeRequest
- func (x *GetUserActionsRequest) GetEmail() *wrapperspb.StringValue
- func (*GetUserActionsRequest) ProtoMessage()
- func (x *GetUserActionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserActionsRequest) Reset()
- func (x *GetUserActionsRequest) String() string
- func (m *GetUserActionsRequest) Validate() error
- func (m *GetUserActionsRequest) ValidateAll() error
- type GetUserActionsRequestMultiError
- type GetUserActionsRequestValidationError
- func (e GetUserActionsRequestValidationError) Cause() error
- func (e GetUserActionsRequestValidationError) Error() string
- func (e GetUserActionsRequestValidationError) ErrorName() string
- func (e GetUserActionsRequestValidationError) Field() string
- func (e GetUserActionsRequestValidationError) Key() bool
- func (e GetUserActionsRequestValidationError) Reason() string
- type GetUsersOverviewRequest
- func (*GetUsersOverviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersOverviewRequest) GetTimestamp() *timestamppb.Timestamp
- func (*GetUsersOverviewRequest) ProtoMessage()
- func (x *GetUsersOverviewRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersOverviewRequest) Reset()
- func (x *GetUsersOverviewRequest) String() string
- func (m *GetUsersOverviewRequest) Validate() error
- func (m *GetUsersOverviewRequest) ValidateAll() error
- type GetUsersOverviewRequestMultiError
- type GetUsersOverviewRequestValidationError
- func (e GetUsersOverviewRequestValidationError) Cause() error
- func (e GetUsersOverviewRequestValidationError) Error() string
- func (e GetUsersOverviewRequestValidationError) ErrorName() string
- func (e GetUsersOverviewRequestValidationError) Field() string
- func (e GetUsersOverviewRequestValidationError) Key() bool
- func (e GetUsersOverviewRequestValidationError) Reason() string
- type PermissionModel
- func (*PermissionModel) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionModel) GetRoles() []string
- func (x *PermissionModel) GetScopes() []string
- func (*PermissionModel) ProtoMessage()
- func (x *PermissionModel) ProtoReflect() protoreflect.Message
- func (x *PermissionModel) Reset()
- func (x *PermissionModel) String() string
- func (m *PermissionModel) Validate() error
- func (m *PermissionModel) ValidateAll() error
- type PermissionModelMultiError
- type PermissionModelValidationError
- func (e PermissionModelValidationError) Cause() error
- func (e PermissionModelValidationError) Error() string
- func (e PermissionModelValidationError) ErrorName() string
- func (e PermissionModelValidationError) Field() string
- func (e PermissionModelValidationError) Key() bool
- func (e PermissionModelValidationError) Reason() string
- type TenantClient
- type TenantServer
- type Tenant_GetAllClient
- type Tenant_GetAllServer
- type Tenant_GetUsersClient
- type Tenant_GetUsersServer
- type UnimplementedAuditLogServer
- func (UnimplementedAuditLogServer) GetByDateRange(*GetAuditLogByDateRangeRequest, AuditLog_GetByDateRangeServer) error
- func (UnimplementedAuditLogServer) GetByUser(*GetByUserRequest, AuditLog_GetByUserServer) error
- func (UnimplementedAuditLogServer) GetUserActions(*GetUserActionsRequest, AuditLog_GetUserActionsServer) error
- func (UnimplementedAuditLogServer) GetUsersOverview(*GetUsersOverviewRequest, AuditLog_GetUsersOverviewServer) error
- type UnimplementedCertificateServer
- type UnimplementedClusterAccessServer
- func (UnimplementedClusterAccessServer) GetClusterAccessByTenantId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByTenantIdServer) error
- func (UnimplementedClusterAccessServer) GetClusterAccessByUserId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByUserIdServer) error
- func (UnimplementedClusterAccessServer) GetTenantClusterMappingByTenantAndClusterId(context.Context, *GetClusterMappingRequest) (*projections.TenantClusterBinding, error)
- func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByClusterId(*wrapperspb.StringValue, ...) error
- func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByTenantId(*wrapperspb.StringValue, ...) error
- type UnimplementedClusterServer
- func (UnimplementedClusterServer) GetAll(*GetAllRequest, Cluster_GetAllServer) error
- func (UnimplementedClusterServer) GetBootstrapToken(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
- func (UnimplementedClusterServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
- func (UnimplementedClusterServer) GetByName(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
- type UnimplementedCommandHandlerExtensionsServer
- type UnimplementedTenantServer
- func (UnimplementedTenantServer) GetAll(*GetAllRequest, Tenant_GetAllServer) error
- func (UnimplementedTenantServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
- func (UnimplementedTenantServer) GetByName(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
- func (UnimplementedTenantServer) GetUsers(*wrapperspb.StringValue, Tenant_GetUsersServer) error
- type UnimplementedUserServer
- func (UnimplementedUserServer) GetAll(*GetAllRequest, User_GetAllServer) error
- func (UnimplementedUserServer) GetByEmail(context.Context, *wrapperspb.StringValue) (*projections.User, error)
- func (UnimplementedUserServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.User, error)
- func (UnimplementedUserServer) GetCount(context.Context, *GetCountRequest) (*GetCountResult, error)
- func (UnimplementedUserServer) GetRoleBindingsById(*wrapperspb.StringValue, User_GetRoleBindingsByIdServer) error
- type UnsafeAuditLogServer
- type UnsafeCertificateServer
- type UnsafeClusterAccessServer
- type UnsafeClusterServer
- type UnsafeCommandHandlerExtensionsServer
- type UnsafeTenantServer
- type UnsafeUserServer
- type UserClient
- type UserServer
- type User_GetAllClient
- type User_GetAllServer
- type User_GetRoleBindingsByIdClient
- type User_GetRoleBindingsByIdServer
Constants ¶
This section is empty.
Variables ¶
var AuditLog_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.AuditLog", HandlerType: (*AuditLogServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetByDateRange", Handler: _AuditLog_GetByDateRange_Handler, ServerStreams: true, }, { StreamName: "GetByUser", Handler: _AuditLog_GetByUser_Handler, ServerStreams: true, }, { StreamName: "GetUserActions", Handler: _AuditLog_GetUserActions_Handler, ServerStreams: true, }, { StreamName: "GetUsersOverview", Handler: _AuditLog_GetUsersOverview_Handler, ServerStreams: true, }, }, Metadata: "api/domain/queryhandler_service.proto", }
AuditLog_ServiceDesc is the grpc.ServiceDesc for AuditLog service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Certificate_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.Certificate", HandlerType: (*CertificateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCertificate", Handler: _Certificate_GetCertificate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/domain/queryhandler_service.proto", }
Certificate_ServiceDesc is the grpc.ServiceDesc for Certificate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClusterAccess_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.ClusterAccess", HandlerType: (*ClusterAccessServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTenantClusterMappingByTenantAndClusterId", Handler: _ClusterAccess_GetTenantClusterMappingByTenantAndClusterId_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetClusterAccessByTenantId", Handler: _ClusterAccess_GetClusterAccessByTenantId_Handler, ServerStreams: true, }, { StreamName: "GetClusterAccessByUserId", Handler: _ClusterAccess_GetClusterAccessByUserId_Handler, ServerStreams: true, }, { StreamName: "GetTenantClusterMappingsByTenantId", Handler: _ClusterAccess_GetTenantClusterMappingsByTenantId_Handler, ServerStreams: true, }, { StreamName: "GetTenantClusterMappingsByClusterId", Handler: _ClusterAccess_GetTenantClusterMappingsByClusterId_Handler, ServerStreams: true, }, }, Metadata: "api/domain/queryhandler_service.proto", }
ClusterAccess_ServiceDesc is the grpc.ServiceDesc for ClusterAccess service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Cluster_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.Cluster", HandlerType: (*ClusterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetById", Handler: _Cluster_GetById_Handler, }, { MethodName: "GetByName", Handler: _Cluster_GetByName_Handler, }, { MethodName: "GetBootstrapToken", Handler: _Cluster_GetBootstrapToken_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _Cluster_GetAll_Handler, ServerStreams: true, }, }, Metadata: "api/domain/queryhandler_service.proto", }
Cluster_ServiceDesc is the grpc.ServiceDesc for Cluster service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommandHandlerExtensions_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.CommandHandlerExtensions", HandlerType: (*CommandHandlerExtensionsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPermissionModel", Handler: _CommandHandlerExtensions_GetPermissionModel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/domain/commandhandler_service.proto", }
CommandHandlerExtensions_ServiceDesc is the grpc.ServiceDesc for CommandHandlerExtensions 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_domain_commandhandler_service_proto protoreflect.FileDescriptor
var File_api_domain_queryhandler_service_proto protoreflect.FileDescriptor
var Tenant_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.Tenant", HandlerType: (*TenantServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetById", Handler: _Tenant_GetById_Handler, }, { MethodName: "GetByName", Handler: _Tenant_GetByName_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _Tenant_GetAll_Handler, ServerStreams: true, }, { StreamName: "GetUsers", Handler: _Tenant_GetUsers_Handler, ServerStreams: true, }, }, Metadata: "api/domain/queryhandler_service.proto", }
Tenant_ServiceDesc is the grpc.ServiceDesc for Tenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "domain.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetById", Handler: _User_GetById_Handler, }, { MethodName: "GetByEmail", Handler: _User_GetByEmail_Handler, }, { MethodName: "GetCount", Handler: _User_GetCount_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _User_GetAll_Handler, ServerStreams: true, }, { StreamName: "GetRoleBindingsById", Handler: _User_GetRoleBindingsById_Handler, ServerStreams: true, }, }, Metadata: "api/domain/queryhandler_service.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuditLogServer ¶ added in v0.3.5
func RegisterAuditLogServer(s grpc.ServiceRegistrar, srv AuditLogServer)
func RegisterCertificateServer ¶
func RegisterCertificateServer(s grpc.ServiceRegistrar, srv CertificateServer)
func RegisterClusterAccessServer ¶ added in v0.3.0
func RegisterClusterAccessServer(s grpc.ServiceRegistrar, srv ClusterAccessServer)
func RegisterClusterServer ¶
func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer)
func RegisterCommandHandlerExtensionsServer ¶
func RegisterCommandHandlerExtensionsServer(s grpc.ServiceRegistrar, srv CommandHandlerExtensionsServer)
func RegisterTenantServer ¶
func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type AuditLogClient ¶ added in v0.3.5
type AuditLogClient interface { // GetByDateRange returns human-readable events within the specified data range GetByDateRange(ctx context.Context, in *GetAuditLogByDateRangeRequest, opts ...grpc.CallOption) (AuditLog_GetByDateRangeClient, error) // GetByUser returns human-readable events caused by others actions on the given user GetByUser(ctx context.Context, in *GetByUserRequest, opts ...grpc.CallOption) (AuditLog_GetByUserClient, error) // GetUserActions returns human-readable events caused by the given user actions GetUserActions(ctx context.Context, in *GetUserActionsRequest, opts ...grpc.CallOption) (AuditLog_GetUserActionsClient, error) // GetUsersOverview returns users overview at the specified timestamp, tenants/clusters they belong to, and their roles GetUsersOverview(ctx context.Context, in *GetUsersOverviewRequest, opts ...grpc.CallOption) (AuditLog_GetUsersOverviewClient, error) }
AuditLogClient is the client API for AuditLog 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 NewAuditLogClient ¶ added in v0.3.5
func NewAuditLogClient(cc grpc.ClientConnInterface) AuditLogClient
type AuditLogServer ¶ added in v0.3.5
type AuditLogServer interface { // GetByDateRange returns human-readable events within the specified data range GetByDateRange(*GetAuditLogByDateRangeRequest, AuditLog_GetByDateRangeServer) error // GetByUser returns human-readable events caused by others actions on the given user GetByUser(*GetByUserRequest, AuditLog_GetByUserServer) error // GetUserActions returns human-readable events caused by the given user actions GetUserActions(*GetUserActionsRequest, AuditLog_GetUserActionsServer) error // GetUsersOverview returns users overview at the specified timestamp, tenants/clusters they belong to, and their roles GetUsersOverview(*GetUsersOverviewRequest, AuditLog_GetUsersOverviewServer) error // contains filtered or unexported methods }
AuditLogServer is the server API for AuditLog service. All implementations must embed UnimplementedAuditLogServer for forward compatibility
type AuditLog_GetByDateRangeClient ¶ added in v0.3.5
type AuditLog_GetByDateRangeClient interface { Recv() (*audit.HumanReadableEvent, error) grpc.ClientStream }
type AuditLog_GetByDateRangeServer ¶ added in v0.3.5
type AuditLog_GetByDateRangeServer interface { Send(*audit.HumanReadableEvent) error grpc.ServerStream }
type AuditLog_GetByUserClient ¶ added in v0.3.6
type AuditLog_GetByUserClient interface { Recv() (*audit.HumanReadableEvent, error) grpc.ClientStream }
type AuditLog_GetByUserServer ¶ added in v0.3.6
type AuditLog_GetByUserServer interface { Send(*audit.HumanReadableEvent) error grpc.ServerStream }
type AuditLog_GetUserActionsClient ¶ added in v0.3.6
type AuditLog_GetUserActionsClient interface { Recv() (*audit.HumanReadableEvent, error) grpc.ClientStream }
type AuditLog_GetUserActionsServer ¶ added in v0.3.6
type AuditLog_GetUserActionsServer interface { Send(*audit.HumanReadableEvent) error grpc.ServerStream }
type AuditLog_GetUsersOverviewClient ¶ added in v0.3.6
type AuditLog_GetUsersOverviewClient interface { Recv() (*audit.UserOverview, error) grpc.ClientStream }
type AuditLog_GetUsersOverviewServer ¶ added in v0.3.6
type AuditLog_GetUsersOverviewServer interface { Send(*audit.UserOverview) error grpc.ServerStream }
type CertificateClient ¶
type CertificateClient interface {
GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*projections.Certificate, error)
}
CertificateClient is the client API for Certificate 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 NewCertificateClient ¶
func NewCertificateClient(cc grpc.ClientConnInterface) CertificateClient
type CertificateServer ¶
type CertificateServer interface { GetCertificate(context.Context, *GetCertificateRequest) (*projections.Certificate, error) // contains filtered or unexported methods }
CertificateServer is the server API for Certificate service. All implementations must embed UnimplementedCertificateServer for forward compatibility
type ClusterAccessClient ¶ added in v0.3.0
type ClusterAccessClient interface { // GetClusterAccessByTenantId returns clusters which the given tenant has access to by it's UUID GetClusterAccessByTenantId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetClusterAccessByTenantIdClient, error) // GetClusterAccessByUserId returns clusters which the given user has access to by it's UUID GetClusterAccessByUserId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetClusterAccessByUserIdClient, error) // GetTenantClusterMappingsByTenantId returns bindings which belong to the given tenant by it's UUID GetTenantClusterMappingsByTenantId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetTenantClusterMappingsByTenantIdClient, error) // GetTenantClusterMappingsByClusterId returns bindings which belong to the given cluster by it's UUID GetTenantClusterMappingsByClusterId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetTenantClusterMappingsByClusterIdClient, error) // GetTenantClusterMappingsByClusterId returns the binding which belongs to the given tenant and cluster by their UUIDs GetTenantClusterMappingByTenantAndClusterId(ctx context.Context, in *GetClusterMappingRequest, opts ...grpc.CallOption) (*projections.TenantClusterBinding, error) }
ClusterAccessClient is the client API for ClusterAccess 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 NewClusterAccessClient ¶ added in v0.3.0
func NewClusterAccessClient(cc grpc.ClientConnInterface) ClusterAccessClient
type ClusterAccessServer ¶ added in v0.3.0
type ClusterAccessServer interface { // GetClusterAccessByTenantId returns clusters which the given tenant has access to by it's UUID GetClusterAccessByTenantId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByTenantIdServer) error // GetClusterAccessByUserId returns clusters which the given user has access to by it's UUID GetClusterAccessByUserId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByUserIdServer) error // GetTenantClusterMappingsByTenantId returns bindings which belong to the given tenant by it's UUID GetTenantClusterMappingsByTenantId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByTenantIdServer) error // GetTenantClusterMappingsByClusterId returns bindings which belong to the given cluster by it's UUID GetTenantClusterMappingsByClusterId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByClusterIdServer) error // GetTenantClusterMappingsByClusterId returns the binding which belongs to the given tenant and cluster by their UUIDs GetTenantClusterMappingByTenantAndClusterId(context.Context, *GetClusterMappingRequest) (*projections.TenantClusterBinding, error) // contains filtered or unexported methods }
ClusterAccessServer is the server API for ClusterAccess service. All implementations must embed UnimplementedClusterAccessServer for forward compatibility
type ClusterAccess_GetClusterAccessByTenantIdClient ¶ added in v0.3.0
type ClusterAccess_GetClusterAccessByTenantIdClient interface { Recv() (*projections.Cluster, error) grpc.ClientStream }
type ClusterAccess_GetClusterAccessByTenantIdServer ¶ added in v0.3.0
type ClusterAccess_GetClusterAccessByTenantIdServer interface { Send(*projections.Cluster) error grpc.ServerStream }
type ClusterAccess_GetClusterAccessByUserIdClient ¶ added in v0.3.0
type ClusterAccess_GetClusterAccessByUserIdClient interface { Recv() (*projections.Cluster, error) grpc.ClientStream }
type ClusterAccess_GetClusterAccessByUserIdServer ¶ added in v0.3.0
type ClusterAccess_GetClusterAccessByUserIdServer interface { Send(*projections.Cluster) error grpc.ServerStream }
type ClusterAccess_GetTenantClusterMappingsByClusterIdClient ¶ added in v0.3.0
type ClusterAccess_GetTenantClusterMappingsByClusterIdClient interface { Recv() (*projections.TenantClusterBinding, error) grpc.ClientStream }
type ClusterAccess_GetTenantClusterMappingsByClusterIdServer ¶ added in v0.3.0
type ClusterAccess_GetTenantClusterMappingsByClusterIdServer interface { Send(*projections.TenantClusterBinding) error grpc.ServerStream }
type ClusterAccess_GetTenantClusterMappingsByTenantIdClient ¶ added in v0.3.0
type ClusterAccess_GetTenantClusterMappingsByTenantIdClient interface { Recv() (*projections.TenantClusterBinding, error) grpc.ClientStream }
type ClusterAccess_GetTenantClusterMappingsByTenantIdServer ¶ added in v0.3.0
type ClusterAccess_GetTenantClusterMappingsByTenantIdServer interface { Send(*projections.TenantClusterBinding) error grpc.ServerStream }
type ClusterClient ¶
type ClusterClient interface { // GetAll returns all known clusters GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (Cluster_GetAllClient, error) // GetById returns a cluster by its UUID GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Cluster, error) // GetByName returns a cluster by its name GetByName(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Cluster, error) // GetBootstrapToken returns the JWT token for cluster authentication for the // cluster with the given UUID GetBootstrapToken(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) }
ClusterClient is the client API for Cluster 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 NewClusterClient ¶
func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient
type ClusterServer ¶
type ClusterServer interface { // GetAll returns all known clusters GetAll(*GetAllRequest, Cluster_GetAllServer) error // GetById returns a cluster by its UUID GetById(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error) // GetByName returns a cluster by its name GetByName(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error) // GetBootstrapToken returns the JWT token for cluster authentication for the // cluster with the given UUID GetBootstrapToken(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error) // contains filtered or unexported methods }
ClusterServer is the server API for Cluster service. All implementations must embed UnimplementedClusterServer for forward compatibility
type Cluster_GetAllClient ¶
type Cluster_GetAllClient interface { Recv() (*projections.Cluster, error) grpc.ClientStream }
type Cluster_GetAllServer ¶
type Cluster_GetAllServer interface { Send(*projections.Cluster) error grpc.ServerStream }
type CommandHandlerExtensionsClient ¶
type CommandHandlerExtensionsClient interface { // Returns roles and scopes available. GetPermissionModel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PermissionModel, error) }
CommandHandlerExtensionsClient is the client API for CommandHandlerExtensions 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 NewCommandHandlerExtensionsClient ¶
func NewCommandHandlerExtensionsClient(cc grpc.ClientConnInterface) CommandHandlerExtensionsClient
type CommandHandlerExtensionsServer ¶
type CommandHandlerExtensionsServer interface { // Returns roles and scopes available. GetPermissionModel(context.Context, *emptypb.Empty) (*PermissionModel, error) // contains filtered or unexported methods }
CommandHandlerExtensionsServer is the server API for CommandHandlerExtensions service. All implementations must embed UnimplementedCommandHandlerExtensionsServer for forward compatibility
type GetAllRequest ¶
type GetAllRequest struct { IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"` // contains filtered or unexported fields }
GetAllRequest is the generic request to query all instances of a certain projection
func (*GetAllRequest) Descriptor
deprecated
func (*GetAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.
func (*GetAllRequest) GetIncludeDeleted ¶
func (x *GetAllRequest) GetIncludeDeleted() bool
func (*GetAllRequest) ProtoMessage ¶
func (*GetAllRequest) ProtoMessage()
func (*GetAllRequest) ProtoReflect ¶
func (x *GetAllRequest) ProtoReflect() protoreflect.Message
func (*GetAllRequest) Reset ¶
func (x *GetAllRequest) Reset()
func (*GetAllRequest) String ¶
func (x *GetAllRequest) String() string
func (*GetAllRequest) Validate ¶ added in v0.3.0
func (m *GetAllRequest) Validate() error
Validate checks the field values on GetAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAllRequest) ValidateAll ¶ added in v0.3.0
func (m *GetAllRequest) ValidateAll() error
ValidateAll checks the field values on GetAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAllRequestMultiError, or nil if none found.
type GetAllRequestMultiError ¶ added in v0.3.0
type GetAllRequestMultiError []error
GetAllRequestMultiError is an error wrapping multiple validation errors returned by GetAllRequest.ValidateAll() if the designated constraints aren't met.
func (GetAllRequestMultiError) AllErrors ¶ added in v0.3.0
func (m GetAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllRequestMultiError) Error ¶ added in v0.3.0
func (m GetAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllRequestValidationError ¶ added in v0.3.0
type GetAllRequestValidationError struct {
// contains filtered or unexported fields
}
GetAllRequestValidationError is the validation error returned by GetAllRequest.Validate if the designated constraints aren't met.
func (GetAllRequestValidationError) Cause ¶ added in v0.3.0
func (e GetAllRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAllRequestValidationError) Error ¶ added in v0.3.0
func (e GetAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllRequestValidationError) ErrorName ¶ added in v0.3.0
func (e GetAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllRequestValidationError) Field ¶ added in v0.3.0
func (e GetAllRequestValidationError) Field() string
Field function returns field value.
func (GetAllRequestValidationError) Key ¶ added in v0.3.0
func (e GetAllRequestValidationError) Key() bool
Key function returns key value.
func (GetAllRequestValidationError) Reason ¶ added in v0.3.0
func (e GetAllRequestValidationError) Reason() string
Reason function returns reason value.
type GetAuditLogByDateRangeRequest ¶ added in v0.3.5
type GetAuditLogByDateRangeRequest struct { MinTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"` MaxTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=max_timestamp,json=maxTimestamp,proto3" json:"max_timestamp,omitempty"` // contains filtered or unexported fields }
func (*GetAuditLogByDateRangeRequest) Descriptor
deprecated
added in
v0.3.5
func (*GetAuditLogByDateRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuditLogByDateRangeRequest.ProtoReflect.Descriptor instead.
func (*GetAuditLogByDateRangeRequest) GetMaxTimestamp ¶ added in v0.3.5
func (x *GetAuditLogByDateRangeRequest) GetMaxTimestamp() *timestamppb.Timestamp
func (*GetAuditLogByDateRangeRequest) GetMinTimestamp ¶ added in v0.3.5
func (x *GetAuditLogByDateRangeRequest) GetMinTimestamp() *timestamppb.Timestamp
func (*GetAuditLogByDateRangeRequest) ProtoMessage ¶ added in v0.3.5
func (*GetAuditLogByDateRangeRequest) ProtoMessage()
func (*GetAuditLogByDateRangeRequest) ProtoReflect ¶ added in v0.3.5
func (x *GetAuditLogByDateRangeRequest) ProtoReflect() protoreflect.Message
func (*GetAuditLogByDateRangeRequest) Reset ¶ added in v0.3.5
func (x *GetAuditLogByDateRangeRequest) Reset()
func (*GetAuditLogByDateRangeRequest) String ¶ added in v0.3.5
func (x *GetAuditLogByDateRangeRequest) String() string
func (*GetAuditLogByDateRangeRequest) Validate ¶ added in v0.3.5
func (m *GetAuditLogByDateRangeRequest) Validate() error
Validate checks the field values on GetAuditLogByDateRangeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuditLogByDateRangeRequest) ValidateAll ¶ added in v0.3.5
func (m *GetAuditLogByDateRangeRequest) ValidateAll() error
ValidateAll checks the field values on GetAuditLogByDateRangeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuditLogByDateRangeRequestMultiError, or nil if none found.
type GetAuditLogByDateRangeRequestMultiError ¶ added in v0.3.5
type GetAuditLogByDateRangeRequestMultiError []error
GetAuditLogByDateRangeRequestMultiError is an error wrapping multiple validation errors returned by GetAuditLogByDateRangeRequest.ValidateAll() if the designated constraints aren't met.
func (GetAuditLogByDateRangeRequestMultiError) AllErrors ¶ added in v0.3.5
func (m GetAuditLogByDateRangeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuditLogByDateRangeRequestMultiError) Error ¶ added in v0.3.5
func (m GetAuditLogByDateRangeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuditLogByDateRangeRequestValidationError ¶ added in v0.3.5
type GetAuditLogByDateRangeRequestValidationError struct {
// contains filtered or unexported fields
}
GetAuditLogByDateRangeRequestValidationError is the validation error returned by GetAuditLogByDateRangeRequest.Validate if the designated constraints aren't met.
func (GetAuditLogByDateRangeRequestValidationError) Cause ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAuditLogByDateRangeRequestValidationError) Error ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuditLogByDateRangeRequestValidationError) ErrorName ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuditLogByDateRangeRequestValidationError) Field ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) Field() string
Field function returns field value.
func (GetAuditLogByDateRangeRequestValidationError) Key ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) Key() bool
Key function returns key value.
func (GetAuditLogByDateRangeRequestValidationError) Reason ¶ added in v0.3.5
func (e GetAuditLogByDateRangeRequestValidationError) Reason() string
Reason function returns reason value.
type GetByUserRequest ¶ added in v0.3.6
type GetByUserRequest struct { Email *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` DateRange *GetAuditLogByDateRangeRequest `protobuf:"bytes,2,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"` // contains filtered or unexported fields }
func (*GetByUserRequest) Descriptor
deprecated
added in
v0.3.6
func (*GetByUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByUserRequest.ProtoReflect.Descriptor instead.
func (*GetByUserRequest) GetDateRange ¶ added in v0.3.6
func (x *GetByUserRequest) GetDateRange() *GetAuditLogByDateRangeRequest
func (*GetByUserRequest) GetEmail ¶ added in v0.3.6
func (x *GetByUserRequest) GetEmail() *wrapperspb.StringValue
func (*GetByUserRequest) ProtoMessage ¶ added in v0.3.6
func (*GetByUserRequest) ProtoMessage()
func (*GetByUserRequest) ProtoReflect ¶ added in v0.3.6
func (x *GetByUserRequest) ProtoReflect() protoreflect.Message
func (*GetByUserRequest) Reset ¶ added in v0.3.6
func (x *GetByUserRequest) Reset()
func (*GetByUserRequest) String ¶ added in v0.3.6
func (x *GetByUserRequest) String() string
func (*GetByUserRequest) Validate ¶ added in v0.3.6
func (m *GetByUserRequest) Validate() error
Validate checks the field values on GetByUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetByUserRequest) ValidateAll ¶ added in v0.3.6
func (m *GetByUserRequest) ValidateAll() error
ValidateAll checks the field values on GetByUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByUserRequestMultiError, or nil if none found.
type GetByUserRequestMultiError ¶ added in v0.3.6
type GetByUserRequestMultiError []error
GetByUserRequestMultiError is an error wrapping multiple validation errors returned by GetByUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetByUserRequestMultiError) AllErrors ¶ added in v0.3.6
func (m GetByUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByUserRequestMultiError) Error ¶ added in v0.3.6
func (m GetByUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByUserRequestValidationError ¶ added in v0.3.6
type GetByUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetByUserRequestValidationError is the validation error returned by GetByUserRequest.Validate if the designated constraints aren't met.
func (GetByUserRequestValidationError) Cause ¶ added in v0.3.6
func (e GetByUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetByUserRequestValidationError) Error ¶ added in v0.3.6
func (e GetByUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetByUserRequestValidationError) ErrorName ¶ added in v0.3.6
func (e GetByUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetByUserRequestValidationError) Field ¶ added in v0.3.6
func (e GetByUserRequestValidationError) Field() string
Field function returns field value.
func (GetByUserRequestValidationError) Key ¶ added in v0.3.6
func (e GetByUserRequestValidationError) Key() bool
Key function returns key value.
func (GetByUserRequestValidationError) Reason ¶ added in v0.3.6
func (e GetByUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetCertificateRequest ¶
type GetCertificateRequest struct { // Unique identifier of the aggregate referenced (UUID 128-bit number) AggregateId string `protobuf:"bytes,1,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"` // Type of the aggregate referenced AggregateType string `protobuf:"bytes,2,opt,name=aggregate_type,json=aggregateType,proto3" json:"aggregate_type,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateRequest) Descriptor
deprecated
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetAggregateId ¶
func (x *GetCertificateRequest) GetAggregateId() string
func (*GetCertificateRequest) GetAggregateType ¶
func (x *GetCertificateRequest) GetAggregateType() string
func (*GetCertificateRequest) ProtoMessage ¶
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) String ¶
func (x *GetCertificateRequest) String() string
func (*GetCertificateRequest) Validate ¶ added in v0.3.0
func (m *GetCertificateRequest) Validate() error
Validate checks the field values on GetCertificateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCertificateRequest) ValidateAll ¶ added in v0.3.0
func (m *GetCertificateRequest) ValidateAll() error
ValidateAll checks the field values on GetCertificateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCertificateRequestMultiError, or nil if none found.
type GetCertificateRequestMultiError ¶ added in v0.3.0
type GetCertificateRequestMultiError []error
GetCertificateRequestMultiError is an error wrapping multiple validation errors returned by GetCertificateRequest.ValidateAll() if the designated constraints aren't met.
func (GetCertificateRequestMultiError) AllErrors ¶ added in v0.3.0
func (m GetCertificateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCertificateRequestMultiError) Error ¶ added in v0.3.0
func (m GetCertificateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCertificateRequestValidationError ¶ added in v0.3.0
type GetCertificateRequestValidationError struct {
// contains filtered or unexported fields
}
GetCertificateRequestValidationError is the validation error returned by GetCertificateRequest.Validate if the designated constraints aren't met.
func (GetCertificateRequestValidationError) Cause ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCertificateRequestValidationError) Error ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCertificateRequestValidationError) ErrorName ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCertificateRequestValidationError) Field ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) Field() string
Field function returns field value.
func (GetCertificateRequestValidationError) Key ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) Key() bool
Key function returns key value.
func (GetCertificateRequestValidationError) Reason ¶ added in v0.3.0
func (e GetCertificateRequestValidationError) Reason() string
Reason function returns reason value.
type GetClusterMappingRequest ¶ added in v0.3.0
type GetClusterMappingRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
func (*GetClusterMappingRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetClusterMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterMappingRequest.ProtoReflect.Descriptor instead.
func (*GetClusterMappingRequest) GetClusterId ¶ added in v0.3.0
func (x *GetClusterMappingRequest) GetClusterId() string
func (*GetClusterMappingRequest) GetTenantId ¶ added in v0.3.0
func (x *GetClusterMappingRequest) GetTenantId() string
func (*GetClusterMappingRequest) ProtoMessage ¶ added in v0.3.0
func (*GetClusterMappingRequest) ProtoMessage()
func (*GetClusterMappingRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetClusterMappingRequest) ProtoReflect() protoreflect.Message
func (*GetClusterMappingRequest) Reset ¶ added in v0.3.0
func (x *GetClusterMappingRequest) Reset()
func (*GetClusterMappingRequest) String ¶ added in v0.3.0
func (x *GetClusterMappingRequest) String() string
func (*GetClusterMappingRequest) Validate ¶ added in v0.3.0
func (m *GetClusterMappingRequest) Validate() error
Validate checks the field values on GetClusterMappingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetClusterMappingRequest) ValidateAll ¶ added in v0.3.0
func (m *GetClusterMappingRequest) ValidateAll() error
ValidateAll checks the field values on GetClusterMappingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetClusterMappingRequestMultiError, or nil if none found.
type GetClusterMappingRequestMultiError ¶ added in v0.3.0
type GetClusterMappingRequestMultiError []error
GetClusterMappingRequestMultiError is an error wrapping multiple validation errors returned by GetClusterMappingRequest.ValidateAll() if the designated constraints aren't met.
func (GetClusterMappingRequestMultiError) AllErrors ¶ added in v0.3.0
func (m GetClusterMappingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetClusterMappingRequestMultiError) Error ¶ added in v0.3.0
func (m GetClusterMappingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetClusterMappingRequestValidationError ¶ added in v0.3.0
type GetClusterMappingRequestValidationError struct {
// contains filtered or unexported fields
}
GetClusterMappingRequestValidationError is the validation error returned by GetClusterMappingRequest.Validate if the designated constraints aren't met.
func (GetClusterMappingRequestValidationError) Cause ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) Cause() error
Cause function returns cause value.
func (GetClusterMappingRequestValidationError) Error ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetClusterMappingRequestValidationError) ErrorName ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetClusterMappingRequestValidationError) Field ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) Field() string
Field function returns field value.
func (GetClusterMappingRequestValidationError) Key ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) Key() bool
Key function returns key value.
func (GetClusterMappingRequestValidationError) Reason ¶ added in v0.3.0
func (e GetClusterMappingRequestValidationError) Reason() string
Reason function returns reason value.
type GetCountRequest ¶ added in v0.3.0
type GetCountRequest struct { IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"` // contains filtered or unexported fields }
func (*GetCountRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCountRequest.ProtoReflect.Descriptor instead.
func (*GetCountRequest) GetIncludeDeleted ¶ added in v0.3.0
func (x *GetCountRequest) GetIncludeDeleted() bool
func (*GetCountRequest) ProtoMessage ¶ added in v0.3.0
func (*GetCountRequest) ProtoMessage()
func (*GetCountRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetCountRequest) ProtoReflect() protoreflect.Message
func (*GetCountRequest) Reset ¶ added in v0.3.0
func (x *GetCountRequest) Reset()
func (*GetCountRequest) String ¶ added in v0.3.0
func (x *GetCountRequest) String() string
func (*GetCountRequest) Validate ¶ added in v0.3.0
func (m *GetCountRequest) Validate() error
Validate checks the field values on GetCountRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCountRequest) ValidateAll ¶ added in v0.3.0
func (m *GetCountRequest) ValidateAll() error
ValidateAll checks the field values on GetCountRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCountRequestMultiError, or nil if none found.
type GetCountRequestMultiError ¶ added in v0.3.0
type GetCountRequestMultiError []error
GetCountRequestMultiError is an error wrapping multiple validation errors returned by GetCountRequest.ValidateAll() if the designated constraints aren't met.
func (GetCountRequestMultiError) AllErrors ¶ added in v0.3.0
func (m GetCountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCountRequestMultiError) Error ¶ added in v0.3.0
func (m GetCountRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCountRequestValidationError ¶ added in v0.3.0
type GetCountRequestValidationError struct {
// contains filtered or unexported fields
}
GetCountRequestValidationError is the validation error returned by GetCountRequest.Validate if the designated constraints aren't met.
func (GetCountRequestValidationError) Cause ¶ added in v0.3.0
func (e GetCountRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCountRequestValidationError) Error ¶ added in v0.3.0
func (e GetCountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCountRequestValidationError) ErrorName ¶ added in v0.3.0
func (e GetCountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCountRequestValidationError) Field ¶ added in v0.3.0
func (e GetCountRequestValidationError) Field() string
Field function returns field value.
func (GetCountRequestValidationError) Key ¶ added in v0.3.0
func (e GetCountRequestValidationError) Key() bool
Key function returns key value.
func (GetCountRequestValidationError) Reason ¶ added in v0.3.0
func (e GetCountRequestValidationError) Reason() string
Reason function returns reason value.
type GetCountResult ¶ added in v0.3.0
type GetCountResult struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetCountResult) Descriptor
deprecated
added in
v0.3.0
func (*GetCountResult) Descriptor() ([]byte, []int)
Deprecated: Use GetCountResult.ProtoReflect.Descriptor instead.
func (*GetCountResult) GetCount ¶ added in v0.3.0
func (x *GetCountResult) GetCount() int64
func (*GetCountResult) ProtoMessage ¶ added in v0.3.0
func (*GetCountResult) ProtoMessage()
func (*GetCountResult) ProtoReflect ¶ added in v0.3.0
func (x *GetCountResult) ProtoReflect() protoreflect.Message
func (*GetCountResult) Reset ¶ added in v0.3.0
func (x *GetCountResult) Reset()
func (*GetCountResult) String ¶ added in v0.3.0
func (x *GetCountResult) String() string
func (*GetCountResult) Validate ¶ added in v0.3.0
func (m *GetCountResult) Validate() error
Validate checks the field values on GetCountResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCountResult) ValidateAll ¶ added in v0.3.0
func (m *GetCountResult) ValidateAll() error
ValidateAll checks the field values on GetCountResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCountResultMultiError, or nil if none found.
type GetCountResultMultiError ¶ added in v0.3.0
type GetCountResultMultiError []error
GetCountResultMultiError is an error wrapping multiple validation errors returned by GetCountResult.ValidateAll() if the designated constraints aren't met.
func (GetCountResultMultiError) AllErrors ¶ added in v0.3.0
func (m GetCountResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCountResultMultiError) Error ¶ added in v0.3.0
func (m GetCountResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCountResultValidationError ¶ added in v0.3.0
type GetCountResultValidationError struct {
// contains filtered or unexported fields
}
GetCountResultValidationError is the validation error returned by GetCountResult.Validate if the designated constraints aren't met.
func (GetCountResultValidationError) Cause ¶ added in v0.3.0
func (e GetCountResultValidationError) Cause() error
Cause function returns cause value.
func (GetCountResultValidationError) Error ¶ added in v0.3.0
func (e GetCountResultValidationError) Error() string
Error satisfies the builtin error interface
func (GetCountResultValidationError) ErrorName ¶ added in v0.3.0
func (e GetCountResultValidationError) ErrorName() string
ErrorName returns error name.
func (GetCountResultValidationError) Field ¶ added in v0.3.0
func (e GetCountResultValidationError) Field() string
Field function returns field value.
func (GetCountResultValidationError) Key ¶ added in v0.3.0
func (e GetCountResultValidationError) Key() bool
Key function returns key value.
func (GetCountResultValidationError) Reason ¶ added in v0.3.0
func (e GetCountResultValidationError) Reason() string
Reason function returns reason value.
type GetUserActionsRequest ¶ added in v0.3.6
type GetUserActionsRequest struct { Email *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` DateRange *GetAuditLogByDateRangeRequest `protobuf:"bytes,2,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"` // contains filtered or unexported fields }
func (*GetUserActionsRequest) Descriptor
deprecated
added in
v0.3.6
func (*GetUserActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserActionsRequest.ProtoReflect.Descriptor instead.
func (*GetUserActionsRequest) GetDateRange ¶ added in v0.3.6
func (x *GetUserActionsRequest) GetDateRange() *GetAuditLogByDateRangeRequest
func (*GetUserActionsRequest) GetEmail ¶ added in v0.3.6
func (x *GetUserActionsRequest) GetEmail() *wrapperspb.StringValue
func (*GetUserActionsRequest) ProtoMessage ¶ added in v0.3.6
func (*GetUserActionsRequest) ProtoMessage()
func (*GetUserActionsRequest) ProtoReflect ¶ added in v0.3.6
func (x *GetUserActionsRequest) ProtoReflect() protoreflect.Message
func (*GetUserActionsRequest) Reset ¶ added in v0.3.6
func (x *GetUserActionsRequest) Reset()
func (*GetUserActionsRequest) String ¶ added in v0.3.6
func (x *GetUserActionsRequest) String() string
func (*GetUserActionsRequest) Validate ¶ added in v0.3.6
func (m *GetUserActionsRequest) Validate() error
Validate checks the field values on GetUserActionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserActionsRequest) ValidateAll ¶ added in v0.3.6
func (m *GetUserActionsRequest) ValidateAll() error
ValidateAll checks the field values on GetUserActionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserActionsRequestMultiError, or nil if none found.
type GetUserActionsRequestMultiError ¶ added in v0.3.6
type GetUserActionsRequestMultiError []error
GetUserActionsRequestMultiError is an error wrapping multiple validation errors returned by GetUserActionsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserActionsRequestMultiError) AllErrors ¶ added in v0.3.6
func (m GetUserActionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserActionsRequestMultiError) Error ¶ added in v0.3.6
func (m GetUserActionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserActionsRequestValidationError ¶ added in v0.3.6
type GetUserActionsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserActionsRequestValidationError is the validation error returned by GetUserActionsRequest.Validate if the designated constraints aren't met.
func (GetUserActionsRequestValidationError) Cause ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserActionsRequestValidationError) Error ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserActionsRequestValidationError) ErrorName ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserActionsRequestValidationError) Field ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) Field() string
Field function returns field value.
func (GetUserActionsRequestValidationError) Key ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserActionsRequestValidationError) Reason ¶ added in v0.3.6
func (e GetUserActionsRequestValidationError) Reason() string
Reason function returns reason value.
type GetUsersOverviewRequest ¶ added in v0.3.6
type GetUsersOverviewRequest struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*GetUsersOverviewRequest) Descriptor
deprecated
added in
v0.3.6
func (*GetUsersOverviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersOverviewRequest.ProtoReflect.Descriptor instead.
func (*GetUsersOverviewRequest) GetTimestamp ¶ added in v0.3.6
func (x *GetUsersOverviewRequest) GetTimestamp() *timestamppb.Timestamp
func (*GetUsersOverviewRequest) ProtoMessage ¶ added in v0.3.6
func (*GetUsersOverviewRequest) ProtoMessage()
func (*GetUsersOverviewRequest) ProtoReflect ¶ added in v0.3.6
func (x *GetUsersOverviewRequest) ProtoReflect() protoreflect.Message
func (*GetUsersOverviewRequest) Reset ¶ added in v0.3.6
func (x *GetUsersOverviewRequest) Reset()
func (*GetUsersOverviewRequest) String ¶ added in v0.3.6
func (x *GetUsersOverviewRequest) String() string
func (*GetUsersOverviewRequest) Validate ¶ added in v0.3.6
func (m *GetUsersOverviewRequest) Validate() error
Validate checks the field values on GetUsersOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUsersOverviewRequest) ValidateAll ¶ added in v0.3.6
func (m *GetUsersOverviewRequest) ValidateAll() error
ValidateAll checks the field values on GetUsersOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUsersOverviewRequestMultiError, or nil if none found.
type GetUsersOverviewRequestMultiError ¶ added in v0.3.6
type GetUsersOverviewRequestMultiError []error
GetUsersOverviewRequestMultiError is an error wrapping multiple validation errors returned by GetUsersOverviewRequest.ValidateAll() if the designated constraints aren't met.
func (GetUsersOverviewRequestMultiError) AllErrors ¶ added in v0.3.6
func (m GetUsersOverviewRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUsersOverviewRequestMultiError) Error ¶ added in v0.3.6
func (m GetUsersOverviewRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUsersOverviewRequestValidationError ¶ added in v0.3.6
type GetUsersOverviewRequestValidationError struct {
// contains filtered or unexported fields
}
GetUsersOverviewRequestValidationError is the validation error returned by GetUsersOverviewRequest.Validate if the designated constraints aren't met.
func (GetUsersOverviewRequestValidationError) Cause ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUsersOverviewRequestValidationError) Error ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUsersOverviewRequestValidationError) ErrorName ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUsersOverviewRequestValidationError) Field ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) Field() string
Field function returns field value.
func (GetUsersOverviewRequestValidationError) Key ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) Key() bool
Key function returns key value.
func (GetUsersOverviewRequestValidationError) Reason ¶ added in v0.3.6
func (e GetUsersOverviewRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionModel ¶
type PermissionModel struct { Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*PermissionModel) Descriptor
deprecated
func (*PermissionModel) Descriptor() ([]byte, []int)
Deprecated: Use PermissionModel.ProtoReflect.Descriptor instead.
func (*PermissionModel) GetRoles ¶
func (x *PermissionModel) GetRoles() []string
func (*PermissionModel) GetScopes ¶
func (x *PermissionModel) GetScopes() []string
func (*PermissionModel) ProtoMessage ¶
func (*PermissionModel) ProtoMessage()
func (*PermissionModel) ProtoReflect ¶
func (x *PermissionModel) ProtoReflect() protoreflect.Message
func (*PermissionModel) Reset ¶
func (x *PermissionModel) Reset()
func (*PermissionModel) String ¶
func (x *PermissionModel) String() string
func (*PermissionModel) Validate ¶ added in v0.3.0
func (m *PermissionModel) Validate() error
Validate checks the field values on PermissionModel with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PermissionModel) ValidateAll ¶ added in v0.3.0
func (m *PermissionModel) ValidateAll() error
ValidateAll checks the field values on PermissionModel with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionModelMultiError, or nil if none found.
type PermissionModelMultiError ¶ added in v0.3.0
type PermissionModelMultiError []error
PermissionModelMultiError is an error wrapping multiple validation errors returned by PermissionModel.ValidateAll() if the designated constraints aren't met.
func (PermissionModelMultiError) AllErrors ¶ added in v0.3.0
func (m PermissionModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermissionModelMultiError) Error ¶ added in v0.3.0
func (m PermissionModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermissionModelValidationError ¶ added in v0.3.0
type PermissionModelValidationError struct {
// contains filtered or unexported fields
}
PermissionModelValidationError is the validation error returned by PermissionModel.Validate if the designated constraints aren't met.
func (PermissionModelValidationError) Cause ¶ added in v0.3.0
func (e PermissionModelValidationError) Cause() error
Cause function returns cause value.
func (PermissionModelValidationError) Error ¶ added in v0.3.0
func (e PermissionModelValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionModelValidationError) ErrorName ¶ added in v0.3.0
func (e PermissionModelValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionModelValidationError) Field ¶ added in v0.3.0
func (e PermissionModelValidationError) Field() string
Field function returns field value.
func (PermissionModelValidationError) Key ¶ added in v0.3.0
func (e PermissionModelValidationError) Key() bool
Key function returns key value.
func (PermissionModelValidationError) Reason ¶ added in v0.3.0
func (e PermissionModelValidationError) Reason() string
Reason function returns reason value.
type TenantClient ¶
type TenantClient interface { // GetAll returns all tenants. GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (Tenant_GetAllClient, error) // GetById returns the tenant found by the given id. GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Tenant, error) // GetByName returns the tenant found by the given name GetByName(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Tenant, error) // GetUsers returns users belonging to the given tenant id. GetUsers(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (Tenant_GetUsersClient, error) }
TenantClient is the client API for Tenant 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 NewTenantClient ¶
func NewTenantClient(cc grpc.ClientConnInterface) TenantClient
type TenantServer ¶
type TenantServer interface { // GetAll returns all tenants. GetAll(*GetAllRequest, Tenant_GetAllServer) error // GetById returns the tenant found by the given id. GetById(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error) // GetByName returns the tenant found by the given name GetByName(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error) // GetUsers returns users belonging to the given tenant id. GetUsers(*wrapperspb.StringValue, Tenant_GetUsersServer) error // contains filtered or unexported methods }
TenantServer is the server API for Tenant service. All implementations must embed UnimplementedTenantServer for forward compatibility
type Tenant_GetAllClient ¶
type Tenant_GetAllClient interface { Recv() (*projections.Tenant, error) grpc.ClientStream }
type Tenant_GetAllServer ¶
type Tenant_GetAllServer interface { Send(*projections.Tenant) error grpc.ServerStream }
type Tenant_GetUsersClient ¶
type Tenant_GetUsersClient interface { Recv() (*projections.TenantUser, error) grpc.ClientStream }
type Tenant_GetUsersServer ¶
type Tenant_GetUsersServer interface { Send(*projections.TenantUser) error grpc.ServerStream }
type UnimplementedAuditLogServer ¶ added in v0.3.5
type UnimplementedAuditLogServer struct { }
UnimplementedAuditLogServer must be embedded to have forward compatible implementations.
func (UnimplementedAuditLogServer) GetByDateRange ¶ added in v0.3.5
func (UnimplementedAuditLogServer) GetByDateRange(*GetAuditLogByDateRangeRequest, AuditLog_GetByDateRangeServer) error
func (UnimplementedAuditLogServer) GetByUser ¶ added in v0.3.6
func (UnimplementedAuditLogServer) GetByUser(*GetByUserRequest, AuditLog_GetByUserServer) error
func (UnimplementedAuditLogServer) GetUserActions ¶ added in v0.3.6
func (UnimplementedAuditLogServer) GetUserActions(*GetUserActionsRequest, AuditLog_GetUserActionsServer) error
func (UnimplementedAuditLogServer) GetUsersOverview ¶ added in v0.3.6
func (UnimplementedAuditLogServer) GetUsersOverview(*GetUsersOverviewRequest, AuditLog_GetUsersOverviewServer) error
type UnimplementedCertificateServer ¶
type UnimplementedCertificateServer struct { }
UnimplementedCertificateServer must be embedded to have forward compatible implementations.
func (UnimplementedCertificateServer) GetCertificate ¶
func (UnimplementedCertificateServer) GetCertificate(context.Context, *GetCertificateRequest) (*projections.Certificate, error)
type UnimplementedClusterAccessServer ¶ added in v0.3.0
type UnimplementedClusterAccessServer struct { }
UnimplementedClusterAccessServer must be embedded to have forward compatible implementations.
func (UnimplementedClusterAccessServer) GetClusterAccessByTenantId ¶ added in v0.3.0
func (UnimplementedClusterAccessServer) GetClusterAccessByTenantId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByTenantIdServer) error
func (UnimplementedClusterAccessServer) GetClusterAccessByUserId ¶ added in v0.3.0
func (UnimplementedClusterAccessServer) GetClusterAccessByUserId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByUserIdServer) error
func (UnimplementedClusterAccessServer) GetTenantClusterMappingByTenantAndClusterId ¶ added in v0.3.0
func (UnimplementedClusterAccessServer) GetTenantClusterMappingByTenantAndClusterId(context.Context, *GetClusterMappingRequest) (*projections.TenantClusterBinding, error)
func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByClusterId ¶ added in v0.3.0
func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByClusterId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByClusterIdServer) error
func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByTenantId ¶ added in v0.3.0
func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByTenantId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByTenantIdServer) error
type UnimplementedClusterServer ¶
type UnimplementedClusterServer struct { }
UnimplementedClusterServer must be embedded to have forward compatible implementations.
func (UnimplementedClusterServer) GetAll ¶
func (UnimplementedClusterServer) GetAll(*GetAllRequest, Cluster_GetAllServer) error
func (UnimplementedClusterServer) GetBootstrapToken ¶
func (UnimplementedClusterServer) GetBootstrapToken(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
func (UnimplementedClusterServer) GetById ¶
func (UnimplementedClusterServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
func (UnimplementedClusterServer) GetByName ¶
func (UnimplementedClusterServer) GetByName(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
type UnimplementedCommandHandlerExtensionsServer ¶
type UnimplementedCommandHandlerExtensionsServer struct { }
UnimplementedCommandHandlerExtensionsServer must be embedded to have forward compatible implementations.
func (UnimplementedCommandHandlerExtensionsServer) GetPermissionModel ¶
func (UnimplementedCommandHandlerExtensionsServer) GetPermissionModel(context.Context, *emptypb.Empty) (*PermissionModel, error)
type UnimplementedTenantServer ¶
type UnimplementedTenantServer struct { }
UnimplementedTenantServer must be embedded to have forward compatible implementations.
func (UnimplementedTenantServer) GetAll ¶
func (UnimplementedTenantServer) GetAll(*GetAllRequest, Tenant_GetAllServer) error
func (UnimplementedTenantServer) GetById ¶
func (UnimplementedTenantServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
func (UnimplementedTenantServer) GetByName ¶
func (UnimplementedTenantServer) GetByName(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
func (UnimplementedTenantServer) GetUsers ¶
func (UnimplementedTenantServer) GetUsers(*wrapperspb.StringValue, Tenant_GetUsersServer) error
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) GetAll ¶
func (UnimplementedUserServer) GetAll(*GetAllRequest, User_GetAllServer) error
func (UnimplementedUserServer) GetByEmail ¶
func (UnimplementedUserServer) GetByEmail(context.Context, *wrapperspb.StringValue) (*projections.User, error)
func (UnimplementedUserServer) GetById ¶
func (UnimplementedUserServer) GetById(context.Context, *wrapperspb.StringValue) (*projections.User, error)
func (UnimplementedUserServer) GetCount ¶ added in v0.3.0
func (UnimplementedUserServer) GetCount(context.Context, *GetCountRequest) (*GetCountResult, error)
func (UnimplementedUserServer) GetRoleBindingsById ¶
func (UnimplementedUserServer) GetRoleBindingsById(*wrapperspb.StringValue, User_GetRoleBindingsByIdServer) error
type UnsafeAuditLogServer ¶ added in v0.3.5
type UnsafeAuditLogServer interface {
// contains filtered or unexported methods
}
UnsafeAuditLogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuditLogServer will result in compilation errors.
type UnsafeCertificateServer ¶
type UnsafeCertificateServer interface {
// contains filtered or unexported methods
}
UnsafeCertificateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificateServer will result in compilation errors.
type UnsafeClusterAccessServer ¶ added in v0.3.0
type UnsafeClusterAccessServer interface {
// contains filtered or unexported methods
}
UnsafeClusterAccessServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterAccessServer will result in compilation errors.
type UnsafeClusterServer ¶
type UnsafeClusterServer interface {
// contains filtered or unexported methods
}
UnsafeClusterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServer will result in compilation errors.
type UnsafeCommandHandlerExtensionsServer ¶
type UnsafeCommandHandlerExtensionsServer interface {
// contains filtered or unexported methods
}
UnsafeCommandHandlerExtensionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandHandlerExtensionsServer will result in compilation errors.
type UnsafeTenantServer ¶
type UnsafeTenantServer interface {
// contains filtered or unexported methods
}
UnsafeTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServer will result in compilation errors.
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UserClient ¶
type UserClient interface { // GetAll returns all users. GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (User_GetAllClient, error) // GetById returns the user found by the given id. GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.User, error) // GetByEmail returns the user found by the given email address. GetByEmail(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.User, error) // GetRoleBindingsById returns all role bindings related to the given user id. GetRoleBindingsById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (User_GetRoleBindingsByIdClient, error) // GetCount returns the count of users GetCount(ctx context.Context, in *GetCountRequest, opts ...grpc.CallOption) (*GetCountResult, error) }
UserClient is the client API for User 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 NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserServer ¶
type UserServer interface { // GetAll returns all users. GetAll(*GetAllRequest, User_GetAllServer) error // GetById returns the user found by the given id. GetById(context.Context, *wrapperspb.StringValue) (*projections.User, error) // GetByEmail returns the user found by the given email address. GetByEmail(context.Context, *wrapperspb.StringValue) (*projections.User, error) // GetRoleBindingsById returns all role bindings related to the given user id. GetRoleBindingsById(*wrapperspb.StringValue, User_GetRoleBindingsByIdServer) error // GetCount returns the count of users GetCount(context.Context, *GetCountRequest) (*GetCountResult, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility
type User_GetAllClient ¶
type User_GetAllClient interface { Recv() (*projections.User, error) grpc.ClientStream }
type User_GetAllServer ¶
type User_GetAllServer interface { Send(*projections.User) error grpc.ServerStream }
type User_GetRoleBindingsByIdClient ¶
type User_GetRoleBindingsByIdClient interface { Recv() (*projections.UserRoleBinding, error) grpc.ClientStream }
type User_GetRoleBindingsByIdServer ¶
type User_GetRoleBindingsByIdServer interface { Send(*projections.UserRoleBinding) error grpc.ServerStream }