Documentation ¶
Index ¶
- func NewRegistration() serviceregistry.Registration
- type NamespacesService
- func (ns NamespacesService) CreateNamespace(ctx context.Context, req *namespaces.CreateNamespaceRequest) (*namespaces.CreateNamespaceResponse, error)
- func (ns NamespacesService) DeactivateNamespace(ctx context.Context, req *namespaces.DeactivateNamespaceRequest) (*namespaces.DeactivateNamespaceResponse, error)
- func (ns NamespacesService) GetNamespace(ctx context.Context, req *namespaces.GetNamespaceRequest) (*namespaces.GetNamespaceResponse, error)
- func (ns NamespacesService) IsReady(ctx context.Context) error
- func (ns NamespacesService) ListNamespaces(ctx context.Context, req *namespaces.ListNamespacesRequest) (*namespaces.ListNamespacesResponse, error)
- func (ns NamespacesService) UpdateNamespace(ctx context.Context, req *namespaces.UpdateNamespaceRequest) (*namespaces.UpdateNamespaceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistration ¶
func NewRegistration() serviceregistry.Registration
Types ¶
type NamespacesService ¶
type NamespacesService struct { namespaces.UnimplementedNamespaceServiceServer // contains filtered or unexported fields }
func (NamespacesService) CreateNamespace ¶
func (ns NamespacesService) CreateNamespace(ctx context.Context, req *namespaces.CreateNamespaceRequest) (*namespaces.CreateNamespaceResponse, error)
func (NamespacesService) DeactivateNamespace ¶
func (ns NamespacesService) DeactivateNamespace(ctx context.Context, req *namespaces.DeactivateNamespaceRequest) (*namespaces.DeactivateNamespaceResponse, error)
func (NamespacesService) GetNamespace ¶
func (ns NamespacesService) GetNamespace(ctx context.Context, req *namespaces.GetNamespaceRequest) (*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 *namespaces.ListNamespacesRequest) (*namespaces.ListNamespacesResponse, error)
func (NamespacesService) UpdateNamespace ¶
func (ns NamespacesService) UpdateNamespace(ctx context.Context, req *namespaces.UpdateNamespaceRequest) (*namespaces.UpdateNamespaceResponse, error)
Click to show internal directories.
Click to hide internal directories.