customaction

package
v14.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Config     *config.Config
	ReadWriter *readwriter.ReadWriter
	EOFSent    bool
}

func (*Command) Execute

func (c *Command) Execute(ctx context.Context, response *accessverifier.Response) error

When `geo_proxy_direct_to_primary` feature flag is enabled, a Git over HTTP direct request to primary repo is performed instead of proxying the request through Gitlab Rails. After the feature flag is enabled by default and removed, this package will be removed along with it.

type Request

type Request struct {
	SecretToken []byte                           `json:"secret_token"`
	Data        accessverifier.CustomPayloadData `json:"data"`
	Output      []byte                           `json:"output"`
}

type Response

type Response struct {
	Result  []byte `json:"result"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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