registry

package
v0.0.0-...-e33f0fe Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationHandler

type NotificationHandler struct {
	api.BaseController
}

NotificationHandler handles request on /service/notifications/, which listens to registry's events.

func (*NotificationHandler) Post

func (n *NotificationHandler) Post()

Post handles POST request, and records audit log or refreshes cache based on event.

func (*NotificationHandler) Render

func (n *NotificationHandler) Render() error

Render returns nil as it won't render any template.

Jump to

Keyboard shortcuts

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