pubsub

package
v0.0.0-...-6bdf688 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitNotification

type CommitNotification struct {
	FilesystemId string
	Namespace    string
	Name         string
	Branch       string
	CommitId     string
	Metadata     map[string]string
}

type PubSubManager

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

func NewPubSubManager

func NewPubSubManager() *PubSubManager

func (*PubSubManager) PublishCommit

func (cc *PubSubManager) PublishCommit(fsId, namespace, name, branch, commitId string, metadata map[string]string) error

func (*PubSubManager) SubscribeForCommits

func (cc *PubSubManager) SubscribeForCommits(url, username, password, subject string) error

func (*PubSubManager) UnsubscribeForCommits

func (cc *PubSubManager) UnsubscribeForCommits(url, username, subject string) error

Jump to

Keyboard shortcuts

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