servicebinding

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: Apache-2.0 Imports: 12 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 singleton pattern of install, delete, or upgrade the service binding

func (*Handler) AfterDelete

func (h *Handler) AfterDelete(_ interface{}) (bool, error)

AfterDelete delete service binding does not need to implement this method

func (*Handler) AfterInstall

func (h *Handler) AfterInstall(_ interface{}) (bool, error)

AfterInstall install service binding does not need to implement this method

func (*Handler) AfterUpgrade

func (h *Handler) AfterUpgrade(_ interface{}) (bool, error)

AfterUpgrade todo: planning

func (*Handler) BeforeDelete

func (h *Handler) BeforeDelete(obj interface{}) (retry bool, err error)

BeforeDelete do some processes before delete the service binding

func (*Handler) BeforeInstall

func (h *Handler) BeforeInstall(_ interface{}) (bool, error)

BeforeInstall do some processes before install the service binding

func (*Handler) BeforeUpgrade

func (h *Handler) BeforeUpgrade(_ interface{}) (bool, error)

BeforeUpgrade todo: planning

func (*Handler) Delete

func (h *Handler) Delete(obj interface{}) (retry bool, err error)

Delete the cloud native service instance in cluster

func (*Handler) Install

func (h *Handler) Install(obj interface{}) (retry bool, err error)

Install the cloud native service instance in cluster

func (*Handler) Upgrade

func (h *Handler) Upgrade(_ interface{}) (bool, error)

Upgrade todo: planning

Jump to

Keyboard shortcuts

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