Versions in this module Expand all Collapse all v0 v0.7.0 Jun 3, 2020 Changes in this version + var GetTriggerBindingObjectMeta = func(name string) metav1.ObjectMeta v0.5.0 Feb 4, 2020 Changes in this version + const ConfigMapName + func RespondError(response *restful.Response, err error, statusCode int) + func RespondErrorAndMessage(response *restful.Response, err error, message string, statusCode int) + func RespondErrorMessage(response *restful.Response, message string, statusCode int) + type EnvDefaults struct + CallbackURL string + DockerRegistry string + Namespace string + type GitHub struct + Client *github.Client + Context context.Context + Org string + Repo string + Resource Resource + SSLVerify bool + func (gh GitHub) AddWebhook(hook webhook) error + func (gh GitHub) DeleteWebhook(hook GitWebhook) error + func (gh GitHub) GetAllWebhooks() ([]GitWebhook, error) + type GitHubWebhook struct + Hook *github.Hook + func (ghWebhook GitHubWebhook) GetID() int + func (ghWebhook GitHubWebhook) GetURL() string + type GitLab struct + Client *gitlab.Client + ProjectID string + Resource Resource + SSLVerify bool + func (gl GitLab) AddWebhook(hook webhook) error + func (gl GitLab) DeleteWebhook(hook GitWebhook) error + func (gl GitLab) GetAllWebhooks() ([]GitWebhook, error) + type GitLabWebhook struct + Hook *gitlab.ProjectHook + func (glWebhook GitLabWebhook) GetID() int + func (glWebhook GitLabWebhook) GetURL() string + type GitProvider interface + AddWebhook func(hook webhook) error + DeleteWebhook func(hook GitWebhook) error + GetAllWebhooks func() ([]GitWebhook, error) + type GitWebhook interface + GetID func() int + GetURL func() string + type Resource struct + Defaults EnvDefaults + K8sClient k8sclientset.Interface + RoutesClient routeclientset.Interface + TektonClient tektoncdclientset.Interface + TriggersClient triggersclientset.Interface + func NewResource() (Resource, error) + func (r Resource) AddWebhook(hook webhook, org, repo string) (err error) + func (r Resource) RegisterExtensionWebService(container *restful.Container) + func (r Resource) RegisterLivenessWebService(container *restful.Container) + func (r Resource) RegisterReadinessWebService(container *restful.Container) + func (r Resource) RegisterWeb(container *restful.Container) + func (r Resource) RemoveWebhook(hook webhook, org, repo string) (err error)