Documentation ¶
Index ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
- func Matcher(label labels.Selector, field fields.Selector) kstorage.SelectionPredicate
- func NewWebHookREST(buildConfigClient buildclient.BuildInterface, groupVersion schema.GroupVersion, ...) *rest.WebHook
- type WebHook
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 Matcher ¶ added in v0.5.2
Matcher returns a generic matcher for a given label and field selector.
func NewWebHookREST ¶ added in v0.5.1
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.