hooks

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHooksConfig

func GetHooksConfig(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) (map[string]interface{}, error)

GetHooksConfig fetches Hooks config via the Auth Admin API.

func RunVolcengineGet

func RunVolcengineGet(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, keys []string) error

RunVolcengineGet retrieves Auth Hooks config and outputs to stdout.

func RunVolcengineSet

func RunVolcengineSet(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, pairs []string, fromJSON string, fsys afero.Fs) error

RunVolcengineSet modifies Auth Hooks config.

func SetHooksConfig

func SetHooksConfig(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, patch map[string]interface{}) (map[string]interface{}, error)

SetHooksConfig applies patch to the Auth Hooks config and returns the resulting values for the patched keys. Data-layer helper shared by the CLI (RunVolcengineSet) and the MCP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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