Documentation ¶
Index ¶
- Constants
- Variables
- func NewBEBPublisherDeployment(publisherConfig env.PublisherConfig) *appsv1.Deployment
- func NewDeployment(publisherConfig env.PublisherConfig, opts ...DeployOpt) *appsv1.Deployment
- func NewNATSPublisherDeployment(natsConfig env.NATSConfig, publisherConfig env.PublisherConfig) *appsv1.Deployment
- type DeployOpt
- func WithAffinity() DeployOpt
- func WithBEBEnvVars(publisherConfig env.PublisherConfig) DeployOpt
- func WithContainers(publisherConfig env.PublisherConfig) DeployOpt
- func WithLabels(backendType v1alpha1.BackendType) DeployOpt
- func WithLogEnvVars(publisherConfig env.PublisherConfig) DeployOpt
- func WithNATSEnvVars(natsConfig env.NATSConfig, publisherConfig env.PublisherConfig) DeployOpt
Constants ¶
View Source
const ( ControllerNamespace = "kyma-system" ControllerName = "eventing-controller" )
View Source
const ( InstanceLabelKey = "app.kubernetes.io/instance" InstanceLabelValue = "eventing" DashboardLabelKey = "kyma-project.io/dashboard" DashboardLabelValue = "eventing" BackendLabelKey = "eventing.kyma-project.io/backend" PublisherNamespace = "kyma-system" PublisherName = "eventing-publisher-proxy" AppLabelKey = "app.kubernetes.io/name" PublisherSecretClientIDKey = "client-id" PublisherSecretClientSecretKey = "client-secret" PublisherSecretTokenEndpointKey = "token-endpoint" PublisherSecretEMSURLKey = "ems-publish-url" PublisherSecretBEBNamespaceKey = "beb-namespace" )
Variables ¶
View Source
var (
TerminationGracePeriodSeconds = int64(30)
)
Functions ¶
func NewBEBPublisherDeployment ¶
func NewBEBPublisherDeployment(publisherConfig env.PublisherConfig) *appsv1.Deployment
func NewDeployment ¶
func NewDeployment(publisherConfig env.PublisherConfig, opts ...DeployOpt) *appsv1.Deployment
func NewNATSPublisherDeployment ¶
func NewNATSPublisherDeployment(natsConfig env.NATSConfig, publisherConfig env.PublisherConfig) *appsv1.Deployment
Types ¶
type DeployOpt ¶
type DeployOpt func(deployment *appsv1.Deployment)
func WithAffinity ¶
func WithAffinity() DeployOpt
func WithBEBEnvVars ¶
func WithBEBEnvVars(publisherConfig env.PublisherConfig) DeployOpt
func WithContainers ¶
func WithContainers(publisherConfig env.PublisherConfig) DeployOpt
func WithLabels ¶
func WithLabels(backendType v1alpha1.BackendType) DeployOpt
func WithLogEnvVars ¶
func WithLogEnvVars(publisherConfig env.PublisherConfig) DeployOpt
func WithNATSEnvVars ¶
func WithNATSEnvVars(natsConfig env.NATSConfig, publisherConfig env.PublisherConfig) DeployOpt
Click to show internal directories.
Click to hide internal directories.