services

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials []string

Credentials is the collection of credential keys.

In order to encourage good design, this does not include the values even though they exist. Buildpacks should only extract values at startup/runtime and not embed them in image.

func (*Credentials) UnmarshalJSON

func (c *Credentials) UnmarshalJSON(text []byte) error

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"`
}

func (Service) String

func (s Service) String() string

String makes Service satisfy the Stringer interface.

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