resources

package
v0.0.0-...-55b2a28 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package config provides methods for managing configuration of apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binding

func Binding(c *drycc.Client, appID string, name string, resource api.ResourceBinding) (api.Resource, error)

Binding servicebinding binding with a serviceinstance

func Create

func Create(c *drycc.Client, appID string, resource api.Resource) (api.Resource, error)

Create create an app's resource.

func Delete

func Delete(c *drycc.Client, appID string, name string) error

Delete delete an app's resource.

func Get

func Get(c *drycc.Client, appID string, name string) (api.Resource, error)

Get retrieves information about a resource

func List

func List(c *drycc.Client, appID string, results int) (api.Resources, int, error)

List list an app's resources.

func Plans

func Plans(c *drycc.Client, serviceName string, results int) (api.ResourcePlans, int, error)

Plans is list all available resource services

func Put

func Put(c *drycc.Client, appID string, name string, resource api.Resource) (api.Resource, error)

Put update resource

func Services

func Services(c *drycc.Client, results int) (api.ResourceServices, int, error)

Services is list all available resource services

Types

This section is empty.

Jump to

Keyboard shortcuts

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