eventlisteners

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GitOpsWebhookSecret is the name of the generated secret for hooks from
	// the GitOps repository.
	GitOpsWebhookSecret = "gitops-webhook-secret" //nolint:gosec

	// WebhookSecretKey is the name of the generated secret for hooks from the
	// bootstrapped application.
	WebhookSecretKey = "webhook-secret-key"
)

Filters for interceptors

Variables

This section is empty.

Functions

func CreateELFromTriggers

func CreateELFromTriggers(cicdNS, saName string, triggers []triggersv1.EventListenerTrigger) *triggersv1.EventListener

CreateELFromTriggers creates an EventListener from a supplied set of trigger, with the provided namespace and name.

func Generate

func Generate(repo scm.Repository, ns, saName, secretName string) triggersv1.EventListener

Generate will create the required eventlisteners.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL