servicebinding

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Servicebinding contains the API handlers to manage service bindings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBinding

func DeleteBinding(ctx context.Context, cluster *kubernetes.Cluster, namespace, appName, serviceName, username string) apierror.APIErrors

Types

type Controller

type Controller struct {
}

Controller represents all functionality of the API related to service bindings

func (Controller) Create

func (hc Controller) Create(c *gin.Context) apierror.APIErrors

Create handles the API endpoint /namespaces/:namespace/applications/:app/servicebindings (POST) It creates a binding between the specified service and application

func (Controller) Delete

func (hc Controller) Delete(c *gin.Context) apierror.APIErrors

Delete handles the API endpoint /namespaces/:namespace/applications/:app/servicebindings/:service It removes the binding between the specified service and application

Jump to

Keyboard shortcuts

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