Documentation ¶
Index ¶
- Constants
- func NewHttpClient(Certificate string) *http.Client
- func WithHttpsClient(Certificate string) broker.ClientOption
- type BareMetalPoolReconciler
- func (r *BareMetalPoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *BareMetalPoolReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *BareMetalPoolReconciler) UpdateBmhAnnotations(ctx *context.Context, baremetalpool *bmpv1.BareMetalPool, bmhName string, ...) error
- type ErrorResponse
Constants ¶
View Source
const (
MilliResyncPeriod = 5000
)
MilliResyncPeriod is the duration between two synchronization attempt of a given resource
Variables ¶
This section is empty.
Functions ¶
func NewHttpClient ¶ added in v0.2.4
func WithHttpsClient ¶ added in v0.2.4
func WithHttpsClient(Certificate string) broker.ClientOption
Types ¶
type BareMetalPoolReconciler ¶ added in v0.2.0
type BareMetalPoolReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme BrokerClient *broker.ClientWithResponses }
BareMetalPoolReconciler reconciles a BareMetalPool object
func (*BareMetalPoolReconciler) SetupWithManager ¶ added in v0.2.0
func (r *BareMetalPoolReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*BareMetalPoolReconciler) UpdateBmhAnnotations ¶ added in v0.2.0
func (r *BareMetalPoolReconciler) UpdateBmhAnnotations( ctx *context.Context, baremetalpool *bmpv1.BareMetalPool, bmhName string, newAnnotations map[string]string, log logr.Logger, ) error
UpdateBmhAnnotations
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.