service

package
v0.0.0-...-3a8d8de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NatsService

type NatsService struct {
	natspb.UnimplementedNatsManagerServiceServer
	// contains filtered or unexported fields
}

NatsService basic server.

func NewNatsService

func NewNatsService(
	logger logr.Logger,
	manager interfaces.NatsManager,
) *NatsService

NewNatsService instantiates the GRPC server implementation.

func (*NatsService) CreateObjectStores

CreateObjectStores creates object stores for given workflows.

func (*NatsService) CreateStreams

CreateStreams create streams for given workflows.

func (*NatsService) DeleteGlobalKeyValueStore

func (n *NatsService) DeleteGlobalKeyValueStore(
	_ context.Context,
	req *natspb.DeleteGlobalKeyValueStoreRequest,
) (*natspb.DeleteResponse, error)

func (*NatsService) DeleteObjectStores

func (n *NatsService) DeleteObjectStores(
	_ context.Context,
	req *natspb.DeleteObjectStoresRequest,
) (*natspb.DeleteResponse, error)

DeleteObjectStores delete object stores for given workflows.

func (*NatsService) DeleteStreams

DeleteStreams delete streams for given workflows.

func (*NatsService) DeleteVersionKeyValueStores

func (n *NatsService) DeleteVersionKeyValueStores(
	_ context.Context,
	req *natspb.DeleteVersionKeyValueStoresRequest,
) (*natspb.DeleteResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL