Back to godoc.org

Package iotproject

v0.0.0 (f628490)
Latest Go to latest
Published: Jul 8, 2020 | License: Apache-2.0 | Module: github.com/enmasseproject/enmasse

Index

Package Files

Constants

const AddressNameCommand = "command"
const AddressNameCommandResponse = "command_response"
const AddressNameEvent = "event"
const AddressNameTelemetry = "telemetry"
const ControllerName = "iotproject-controller"
const EventReasonProjectTermination = "ProjectTermination"

Variables

var Addresses = []string{
	AddressNameTelemetry,
	AddressNameEvent,
	AddressNameCommand,
	AddressNameCommandResponse,
}

func Add

func Add(mgr manager.Manager) error

Gets called by parent "init", adding as to the manager

func StringOrDefault

func StringOrDefault(value string, defaultValue string) string

type AddressType

type AddressType int
const (
	AddressTypeAnycast AddressType = iota
	AddressTypeQueue
)

type ReconcileIoTProject

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

func (*ReconcileIoTProject) Reconcile

func (r *ReconcileIoTProject) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile by reading the IoT project spec and making required changes

returning an error will get the request re-queued

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier