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
 Click to show internal directories. 
   Click to hide internal directories.