job

package
v0.0.0-...-137a528 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBatchPlugin

func WithBatchPlugin(srv batchpb.BatchServer) nitricJobServerOption

func WithKvStorePlugin

func WithKvStorePlugin(srv kvstorepb.KvStoreServer) nitricJobServerOption

func WithQueuePlugin

func WithQueuePlugin(srv queuespb.QueuesServer) nitricJobServerOption

func WithSecretsPlugin

func WithSecretsPlugin(srv secretspb.SecretManagerServer) nitricJobServerOption

func WithSqlPlugin

func WithSqlPlugin(srv sqlpb.SqlServer) nitricJobServerOption

func WithStoragePlugin

func WithStoragePlugin(srv storagepb.StorageServer) nitricJobServerOption

func WithTopicPlugin

func WithTopicPlugin(srv topicspb.TopicsServer) nitricJobServerOption

func WithWebsocketPlugin

func WithWebsocketPlugin(srv websocketspb.WebsocketServer) nitricJobServerOption

Types

type NitricJobServer

type NitricJobServer struct {
	// contains filtered or unexported fields
}

NitricJobServer is a membrane for job Created as a separate membrane type to avoid overloading the service membrane

func NewJobServer

func NewJobServer(cmd string, options ...nitricJobServerOption) *NitricJobServer

func (*NitricJobServer) Run

func (j *NitricJobServer) Run() error

Jump to

Keyboard shortcuts

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