configfile

package
v1.14.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WebhookConfigurationPathRefs added in v1.13.0

func WebhookConfigurationPathRefs(cfg *config.WebhookConfiguration) ([]*string, error)

webhookConfigurationPathRefs returns pointers to all the WebhookConfiguration fields that contain filepaths. You might use this, for example, to resolve all relative paths against some common root before passing the configuration to the application. This method must be kept up to date as new fields are added.

Types

type WebhookConfigFile added in v1.13.0

type WebhookConfigFile struct {
	Config *config.WebhookConfiguration
}

func New added in v1.13.0

func New() *WebhookConfigFile

func (*WebhookConfigFile) DecodeAndConfigure added in v1.13.0

func (cfg *WebhookConfigFile) DecodeAndConfigure(data []byte) error

func (*WebhookConfigFile) GetPathRefs added in v1.13.0

func (cfg *WebhookConfigFile) GetPathRefs() ([]*string, error)

Jump to

Keyboard shortcuts

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