services

package
v1.25.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 4 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials map[string]interface{}

Credentials is the collection of credentials available exposed by a service. Great care should be used when handling credentials, as they expose sensitive information. Buildpacks should only extract values at startup/runtime and not embed them in the image.

type Service

type Service struct {
	// BindingName is the binding name of this service.
	BindingName string `json:"binding_name"`

	// Credentials is the collection of credential keys.
	Credentials Credentials `json:"credentials"`

	// InstanceName is the instance name of this service.
	InstanceName string `json:"instance_name"`

	// Label is the type of service.
	Label string `json:"label"`

	// Plan is the plan type of this service.
	Plan string `json:"plan"`

	// Tags is the collection of tags of the service.
	Tags []string `json:"tags"`
}

Service represents a service bound to the application.

type Services

type Services []Service

Services is a collection of services bound to the application.

func DefaultServices

func DefaultServices(platform platform.Platform, logger logger.Logger) (Services, error)

DefaultServices creates a new instance of Services.

Jump to

Keyboard shortcuts

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