gcppubsub

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInventorySource

func NewInventorySource(
	ctx context.Context,
	log *logrus.Logger,
	cfg config.GenericConfig,
	pipeline pipeline.IPipelineGroup,
	oasRouter *swagger.Router[fiber.Handler, fiber.Router],
) (sources.CloseableSource, error)

Types

type InventorySource

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

func (*InventorySource) Close

func (s *InventorySource) Close() error

type InventorySourceConfig

type InventorySourceConfig struct {
	ProjectID          string              `json:"projectId"`
	TopicName          string              `json:"topicName"`
	SubscriptionID     string              `json:"subscriptionId"`
	AckDeadlineSeconds int                 `json:"ackDeadlineSeconds,omitempty"`
	CredentialsJSON    config.SecretSource `json:"credentialsJson,omitempty"`

	WebhookPath    string              `json:"webhookPath,omitempty"`
	Authentication hmac.Authentication `json:"authentication"`
}

func (*InventorySourceConfig) Validate

func (c *InventorySourceConfig) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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