dependencyproxy

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dependencyproxy implements MCP tools for GitLab Dependency Proxy cache management.

The package currently exposes the group cache purge operation and registers it as both an individual tool and a meta-tool action.

The package wraps the GitLab Dependency Proxy API:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionSpecs

func ActionSpecs(client *gitlabclient.Client) []toolutil.ActionSpec

ActionSpecs returns canonical specs for dependency proxy tools.

func Purge

func Purge(ctx context.Context, client *gitlabclient.Client, input PurgeInput) error

Purge clears the dependency proxy cache for a group.

Types

type PurgeInput

type PurgeInput struct {
	GroupID toolutil.StringOrInt `json:"group_id" jsonschema:"Group ID or URL-encoded path,required"`
}

PurgeInput contains parameters for purging the dependency proxy cache.

Jump to

Keyboard shortcuts

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