billing

package
v4.200.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: BSD-3-Clause Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// APPUiOControlSecretNamespace is the namespace where the APPUiO control-plane secret is located
	APPUiOControlSecretNamespace = "syn-appcat"
	// APPUiOControlSecretName is the name of the secret containing kubeconfig for APPUiO control-plane
	APPUiOControlSecretName = "appuio-control-sa"
)
View Source
const (
	ResendAnnotationKey = "appcat.vshn.io/resend"
	ResendAll           = "all"
	ResendNotSent       = "not-sent"
	ResendFailed        = "failed"
)
View Source
const (
	ConditionTypeSynced = "Synced"
	ConditionTypeReady  = "Ready"

	ReasonAllEventsSent    = "AllEventsSent"
	ReasonPendingOrFailed  = "PendingOrFailedEvents"
	ReasonReconcileSuccess = "ReconcileSuccess"
	ReasonDeleting         = "Deleting"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingEventState

type BillingEventState string
const (
	BillingEventStatePending    BillingEventState = "pending"
	BillingEventStateSent       BillingEventState = "sent"
	BillingEventStateFailed     BillingEventState = "failed"
	BillingEventStateSuperseded BillingEventState = "superseded"
	BillingEventStateResend     BillingEventState = "resend"
)

type BillingEventType

type BillingEventType string
const (
	BillingEventTypeCreated BillingEventType = "create"
	BillingEventTypeDeleted BillingEventType = "delete"
	BillingEventTypeScaled  BillingEventType = "scale"
)

type BillingHandler

type BillingHandler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func New

func New(c client.Client, scheme *runtime.Scheme, odooClient *odoo.Client, maxEvents int) *BillingHandler

func (*BillingHandler) Reconcile

func (b *BillingHandler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*BillingHandler) SetupWithManager

func (b *BillingHandler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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