event

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeprovisionError

func DeprovisionError(service string, version uint64, err string)

DeprovisionError publishes a deprovisioning error event.

func Deprovisioned

func Deprovisioned(service string, version uint64)

Deprovisioned publishes a deprovisioning event which other services can listen for.

func DeprovisionedToNSQ

func DeprovisionedToNSQ(service string, version uint64, mClass, user string)

DeprovisionedToNSQ publishes a deprovisioning event to NSQ

func ProvisionError

func ProvisionError(service string, version uint64, err string)

ProvisionError publishes a provisioning error event.

func Provisioned

func Provisioned(service string, version uint64)

Provisioned publishes a provisioning event which other services can listen for.

func ProvisionedToNSQ

func ProvisionedToNSQ(service string, version uint64, mClass, user string)

ProvisionedToNSQ publishes a provisioning event to NSQ

func RestartedToNSQ

func RestartedToNSQ(service string, version uint64, user string)

RestartedToNSQ publishes a service restart event to NSQ

Types

type NSQEvent

type NSQEvent struct {
	Id        string
	Type      string
	Timestamp string
	Details   map[string]string
}

Jump to

Keyboard shortcuts

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