Documentation
¶
Index ¶
Constants ¶
View Source
const ( HooksEndpointPrefix = "hooks?gitwebhookId=" GitWebHookParam = "gitwebhookId" DeprecatedDefaultSecretName = "githubtoken" )
Variables ¶
This section is empty.
Functions ¶
func GetWebhookSecretName ¶ added in v0.4.5
func GetWebhookSecretName(receiver *webhookv1.GitWatcher) (string, error)
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func NewGitHub ¶
func NewGitHub(apply apply.Apply, gitCommits v1.GitCommitController, gitWatchers v1.GitWatcherController, secretCache corev1controller.SecretCache) *GitHub
func (*GitHub) Create ¶
func (w *GitHub) Create(ctx context.Context, obj *webhookv1.GitWatcher) (*webhookv1.GitWatcher, error)
func (*GitHub) HandleHook ¶
Click to show internal directories.
Click to hide internal directories.