Documentation ¶
Overview ¶
Package customaction provides functionality for handling custom actions
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 }
Command represents the custom action command
func (*Command) Execute ¶
Execute method runs 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"` }
Request represents the request structure for custom actions
Click to show internal directories.
Click to hide internal directories.