Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProposalObject ¶
type ProposalObject struct { ID string `json:"id"` Title string `json:"title"` Abstract string `json:"abstract"` Type string `json:"type"` SpeakerID string `json:"speakerID"` Final bool `json:"final"` Submission Submission `json:"submission"` }
ProposalObject is the object that is sent to/received from the CFP API
type ProposalReconciler ¶
type ProposalReconciler struct { client.Client HTTPClient *http.Client ControllerName string CfpAPI string }
ProposalReconciler reconciles a Proposal object
func (*ProposalReconciler) Reconcile ¶
func (r *ProposalReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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. TODO(user): Modify the Reconcile function to compare the state specified by the Proposal object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*ProposalReconciler) SetupWithManager ¶
func (r *ProposalReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SpeakerChangePredicate ¶
func (SpeakerChangePredicate) Create ¶
func (SpeakerChangePredicate) Create(e event.CreateEvent) bool
func (SpeakerChangePredicate) Delete ¶
func (SpeakerChangePredicate) Delete(e event.DeleteEvent) bool
func (SpeakerChangePredicate) Update ¶
func (SpeakerChangePredicate) Update(e event.UpdateEvent) bool
type SpeakerReconciler ¶
type SpeakerReconciler struct { client.Client HTTPClient *http.Client ControllerName string CfpAPI string }
SpeakerReconciler reconciles a Speaker object
func (*SpeakerReconciler) Reconcile ¶
func (r *SpeakerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr 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. TODO(user): Modify the Reconcile function to compare the state specified by the Speaker object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*SpeakerReconciler) SetupWithManager ¶
func (r *SpeakerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.