Documentation ¶
Index ¶
- func NewRegistration(ns string, dbRegister serviceregistry.DBRegister) *serviceregistry.Service[namespacesconnect.NamespaceServiceHandler]
- type NamespacesService
- func (ns NamespacesService) AssignKeyAccessServerToNamespace(ctx context.Context, ...) (*connect.Response[namespaces.AssignKeyAccessServerToNamespaceResponse], error)
- func (ns NamespacesService) CreateNamespace(ctx context.Context, req *connect.Request[namespaces.CreateNamespaceRequest]) (*connect.Response[namespaces.CreateNamespaceResponse], error)
- func (ns NamespacesService) DeactivateNamespace(ctx context.Context, ...) (*connect.Response[namespaces.DeactivateNamespaceResponse], error)
- func (ns NamespacesService) GetNamespace(ctx context.Context, req *connect.Request[namespaces.GetNamespaceRequest]) (*connect.Response[namespaces.GetNamespaceResponse], error)
- func (ns NamespacesService) IsReady(ctx context.Context) error
- func (ns NamespacesService) ListNamespaces(ctx context.Context, req *connect.Request[namespaces.ListNamespacesRequest]) (*connect.Response[namespaces.ListNamespacesResponse], error)
- func (ns NamespacesService) RemoveKeyAccessServerFromNamespace(ctx context.Context, ...) (*connect.Response[namespaces.RemoveKeyAccessServerFromNamespaceResponse], ...)
- func (ns NamespacesService) UpdateNamespace(ctx context.Context, req *connect.Request[namespaces.UpdateNamespaceRequest]) (*connect.Response[namespaces.UpdateNamespaceResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistration ¶
func NewRegistration(ns string, dbRegister serviceregistry.DBRegister) *serviceregistry.Service[namespacesconnect.NamespaceServiceHandler]
Types ¶
type NamespacesService ¶
type NamespacesService struct {
// contains filtered or unexported fields
}
func (NamespacesService) AssignKeyAccessServerToNamespace ¶ added in v0.4.19
func (ns NamespacesService) AssignKeyAccessServerToNamespace(ctx context.Context, req *connect.Request[namespaces.AssignKeyAccessServerToNamespaceRequest]) (*connect.Response[namespaces.AssignKeyAccessServerToNamespaceResponse], error)
func (NamespacesService) CreateNamespace ¶
func (ns NamespacesService) CreateNamespace(ctx context.Context, req *connect.Request[namespaces.CreateNamespaceRequest]) (*connect.Response[namespaces.CreateNamespaceResponse], error)
func (NamespacesService) DeactivateNamespace ¶
func (ns NamespacesService) DeactivateNamespace(ctx context.Context, req *connect.Request[namespaces.DeactivateNamespaceRequest]) (*connect.Response[namespaces.DeactivateNamespaceResponse], error)
func (NamespacesService) GetNamespace ¶
func (ns NamespacesService) GetNamespace(ctx context.Context, req *connect.Request[namespaces.GetNamespaceRequest]) (*connect.Response[namespaces.GetNamespaceResponse], error)
func (NamespacesService) IsReady ¶ added in v0.4.2
func (ns NamespacesService) IsReady(ctx context.Context) error
IsReady checks if the service is ready to serve requests. Without a database connection, the service is not ready.
func (NamespacesService) ListNamespaces ¶
func (ns NamespacesService) ListNamespaces(ctx context.Context, req *connect.Request[namespaces.ListNamespacesRequest]) (*connect.Response[namespaces.ListNamespacesResponse], error)
func (NamespacesService) RemoveKeyAccessServerFromNamespace ¶ added in v0.4.19
func (ns NamespacesService) RemoveKeyAccessServerFromNamespace(ctx context.Context, req *connect.Request[namespaces.RemoveKeyAccessServerFromNamespaceRequest]) (*connect.Response[namespaces.RemoveKeyAccessServerFromNamespaceResponse], error)
func (NamespacesService) UpdateNamespace ¶
func (ns NamespacesService) UpdateNamespace(ctx context.Context, req *connect.Request[namespaces.UpdateNamespaceRequest]) (*connect.Response[namespaces.UpdateNamespaceResponse], error)
Click to show internal directories.
Click to hide internal directories.