services

package
v0.0.0-...-b196e69 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package services provides methods for managing an app's services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *drycc.Client, appID string, Ptype string, protocol string, port int) error

Delete service from app If given service for the app doesn't exists then error returned

func List

func List(c *drycc.Client, appID string) (api.Services, error)

List services registered with an app.

func New

func New(c *drycc.Client, appID string, Ptype string, port int, protocol string, targetPort int) error

New adds a new service to an app. App should already exists. Service is the way to route some traffic matching given URL pattern to worker different than `web` Ptype - name of the process in Procfile (i.e. <process type> from the `<process type>: <command>`), e.g. `webhooks` for more about Procfile see this https://devcenter.heroku.com/articles/procfile Ptype and pathPattern are mandatory and should have valid values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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