subscriber

package
v0.0.0-...-f7f1393 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProjectID string
	SubName   string
}

Config is a notifiers configuration.

type Subscriber

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

Subscriber listens for cloudbuild events.

func New

func New(config *Config) (Subscriber, error)

New creates a notifier

func (Subscriber) Receive

func (s Subscriber) Receive(msg chan<- *pubsub.Message) (err error)

Receive listens for cloudbuild notifications.

Jump to

Keyboard shortcuts

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