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 ¶
Delete service from app If given service for the app doesn't exists then error returned
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.
Click to show internal directories.
Click to hide internal directories.