billing

package
v4.176.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: BSD-3-Clause Imports: 24 Imported by: 0

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 = "created"
	BillingEventTypeDeleted BillingEventType = "deleted"
	BillingEventTypeScaled  BillingEventType = "scaled"
)

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) *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