appsettings

package
v0.0.0-...-c9ffa05 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package appsettings provides methods for managing application settings of apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(c *deis.Client, app string) (api.AppSettings, error)

List lists an app's settings.

func Set

func Set(c *deis.Client, app string, appSettings api.AppSettings) (api.AppSettings, error)

Set sets an app's settings variables. This is a patching operation, which means when you call Set() with an api.AppSettings:

  • If the variable does not exist, it will be set.
  • If the variable exists, it will be overwritten.
  • If the variable is set to nil, it will be unset.
  • If the variable was ignored in the api.AppSettings, it will remain unchanged.

Calling Set() with an empty api.AppSettings will return a deis.ErrConflict.

Types

This section is empty.

Jump to

Keyboard shortcuts

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