Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GroupStrategy is the logic that applies when creating and updating BuildConfig objects // in the Group api. // This differs from the LegacyStrategy in that on create it will set a default build // pruning limit value for both successful and failed builds. This is new behavior that // can only be introduced to users consuming the new group based api. GroupStrategy = groupStrategy{strategy{kapi.Scheme, names.SimpleNameGenerator}} // LegacyStrategy is the default logic that applies when creating BuildConfig objects. // Specifically it will not set the default build pruning limit values because that was not // part of the legacy api. LegacyStrategy = legacyStrategy{strategy{kapi.Scheme, names.SimpleNameGenerator}} )
Functions ¶
func NewWebHookREST ¶
func NewWebHookREST(buildConfigClient buildclient.BuildInterface, groupVersion schema.GroupVersion, plugins map[string]webhook.Plugin) *rest.WebHook
NewWebHookREST returns the webhook handler wrapped in a rest.WebHook object.
Types ¶
Click to show internal directories.
Click to hide internal directories.