Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvName = "NAME" EnvNamespace = "NAMESPACE" EnvMetricsDomain = "METRICS_DOMAIN" DefaultMetricsDomain = "triggermesh.io/flow" )
Common environment variables propagated to adapters.
View Source
const ( // name of the application AppNameLabel = "app.kubernetes.io/name" // unique name identifying the instance of an application AppInstanceLabel = "app.kubernetes.io/instance" // component within the architecture AppComponentLabel = "app.kubernetes.io/component" // name of a higher level application this one is part of AppPartOfLabel = "app.kubernetes.io/part-of" // tool being used to manage the operation of an application AppManagedByLabel = "app.kubernetes.io/managed-by" )
Kubernetes recommended labels https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
View Source
const ( PartOf = "triggermesh-flow" ManagedController = "triggermesh-controller" AdapterComponent = "adapter" )
Common label values
Variables ¶
This section is empty.
Functions ¶
func KsvcLabelVisibilityClusterLocal ¶
KsvcLabelVisibilityClusterLocal sets label to avoid exposing the service externally.
Types ¶
type KsvcOpts ¶
KsvcOpts configures Knative service.
func KsvcPodEnvVars ¶
KsvcPodEnvVars sets pod's first container env vars.
func KsvcServiceAccount ¶
KsvcServiceAccount sets the ServiceAccount.
Click to show internal directories.
Click to hide internal directories.