Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReasonDeploymentCreate = "CreateDeployment" ReasonDeploymentUpdate = "UpdateDeployment" ReasonFailedDeploymentGet = "FailedDeploymentGet" ReasonFailedDeploymentCreate = "FailedDeploymentCreate" ReasonFailedDeploymentUpdate = "FailedDeploymentUpdate" ReasonFailedSecretCompose = "FailedSecretCompose" ReasonFailedSecretGet = "FailedSecretGet" ReasonFailedSecretCreate = "FailedSecretCreate" ReasonFailedSecretUpdate = "FailedSecretUpdate" ReasonFailedServiceAccountGet = "FailedServiceAccountGet" ReasonFailedServiceAccountCreate = "FailedServiceAccountCreate" ReasonFailedRoleBindingGet = "FailedRoleBindingGet" ReasonFailedRoleBindingCreate = "FailedRoleBindingCreate" ReasonServiceCreate = "CreateService" ReasonServiceUpdate = "UpdateService" ReasonFailedServiceGet = "FailedServiceGet" ReasonFailedServiceCreate = "FailedServiceCreate" ReasonFailedServiceUpdate = "FailedServiceUpdate" ReasonFailedTriggerList = "FailedTriggerList" ReasonFailedConfigSerialize = "FailedConfigSerialize" ReasonFailedEndpointsGet = "FailedEndpointsGet" ReasonBrokerDoesNotExist = "BrokerDoesNotExist" ReasonFailedBrokerGet = "FailedBrokerGet" ReasonFailedResolveReference = "FailedResolveReference" )
Reasons for API Events
View Source
const (
// Broker ClusterRole that was created as part of TriggerMesh core installation.
BrokerDeploymentRole = "triggermesh-broker"
)
View Source
const (
ConfigSecretKey = "config"
)
Variables ¶
This section is empty.
Functions ¶
func AppAnnotationValue ¶
func AppAnnotationValue(or kmeta.OwnerRefable) string
Types ¶
type BrokerReconciler ¶
type BrokerReconciler interface {
Reconcile(ctx context.Context, rb eventingv1alpha1.ReconcilableBroker, sa *corev1.ServiceAccount, secret *corev1.Secret, do ...resources.DeploymentOption) (*appsv1.Deployment, *corev1.Service, error)
}
func NewBrokerReconciler ¶
func NewBrokerReconciler(ctx context.Context, deploymentLister appsv1listers.DeploymentLister, serviceLister corev1listers.ServiceLister, endpointsLister corev1listers.EndpointsLister, image string, pullPolicy corev1.PullPolicy) BrokerReconciler
type SecretReconciler ¶
type SecretReconciler interface {
Reconcile(ctx context.Context, rb eventingv1alpha1.ReconcilableBroker) (*corev1.Secret, error)
}
func NewSecretReconciler ¶
func NewSecretReconciler(ctx context.Context, secretLister corev1listers.SecretLister, triggerLister eventingv1alpha1listers.TriggerLister) SecretReconciler
type ServiceAccountReconciler ¶
type ServiceAccountReconciler interface {
Reconcile(ctx context.Context, rb eventingv1alpha1.ReconcilableBroker) (*corev1.ServiceAccount, *rbacv1.RoleBinding, error)
}
func NewServiceAccountReconciler ¶
func NewServiceAccountReconciler(ctx context.Context, serviceAccountLister corev1listers.ServiceAccountLister, roleBindingLister rbacv1listers.RoleBindingLister) ServiceAccountReconciler
Click to show internal directories.
Click to hide internal directories.