ocp

package
v0.0.0-...-e73b65a Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*handler.Handler
}

Provider watch event handler.

func New

func New(
	client client.Client,
	channel chan event.GenericEvent,
	provider *api.Provider) (h *Handler, err error)

Handler factory.

func (*Handler) Created

func (r *Handler) Created(e libweb.Event)

Resource created.

func (*Handler) Deleted

func (r *Handler) Deleted(e libweb.Event)

Resource deleted.

func (*Handler) Watch

func (r *Handler) Watch(watch *handler.WatchManager) (err error)

Ensure watch on storageClass.

Jump to

Keyboard shortcuts

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