Documentation ¶
Overview ¶
Package contractmanager implements the utility functions for the contract manager controller
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Purchase ¶
type Purchase struct { TransactionID string `json:"transactionID"` FlavourID string `json:"flavourID"` BuyerID string `json:"buyerID"` }
Purchase contains information regarding the purchase for a flavour.
type ReservationReconciler ¶
ReservationReconciler reconciles a Reservation object.
func (*ReservationReconciler) Reconcile ¶
func (r *ReservationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.2/pkg/reconcile
func (*ReservationReconciler) SetupWithManager ¶
func (r *ReservationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ResponsePurchase ¶
type ResponsePurchase struct { FlavourID string `json:"flavourID"` BuyerID string `json:"buyerID"` Status string `json:"status"` }
ResponsePurchase contain information after purchase a Flavour.
Click to show internal directories.
Click to hide internal directories.