appsettings

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: 4 Imported by: 1

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 *drycc.Client, app string) (api.AppSettings, error)

List lists an app's settings.

func Set

func Set(c *drycc.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 drycc.ErrConflict.

Types

This section is empty.

Jump to

Keyboard shortcuts

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