Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetalStackClient ¶
type MetalStackClient interface { FirewallCreate(fcr *metalgo.FirewallCreateRequest) (*metalgo.FirewallCreateResponse, error) FirewallGet(machineID string) (*metalgo.FirewallGetResponse, error) FirewallFind(ffr *metalgo.FirewallFindRequest) (*metalgo.FirewallListResponse, error) IPAllocate(iar *metalgo.IPAllocateRequest) (*metalgo.IPDetailResponse, error) MachineCreate(mcr *metalgo.MachineCreateRequest) (*metalgo.MachineCreateResponse, error) MachineDelete(machineID string) (*metalgo.MachineDeleteResponse, error) MachineFind(mfr *metalgo.MachineFindRequest) (*metalgo.MachineListResponse, error) MachineGet(id string) (*metalgo.MachineGetResponse, error) NetworkAllocate(ncr *metalgo.NetworkAllocateRequest) (*metalgo.NetworkDetailResponse, error) NetworkFind(nfr *metalgo.NetworkFindRequest) (*metalgo.NetworkListResponse, error) NetworkFree(id string) (*metalgo.NetworkDetailResponse, error) }
MetalStackClient is the interface of the client for the interaction with `metal-API` On the next line, there's no space between `//` and `go`. It must be `//go:generate`.
type MetalStackClusterReconciler ¶
type MetalStackClusterReconciler struct { Client client.Client Log logr.Logger MetalStackClient MetalStackClient Scheme *runtime.Scheme }
MetalStackClusterReconciler reconciles a MetalStackCluster object
func NewMetalStackClusterReconciler ¶
func NewMetalStackClusterReconciler(metalClient MetalStackClient, mgr manager.Manager) *MetalStackClusterReconciler
func (*MetalStackClusterReconciler) Reconcile ¶
func (r *MetalStackClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)
Reconcile reconciles MetalStackCluster resource
func (*MetalStackClusterReconciler) SetupWithManager ¶
func (r *MetalStackClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
type MetalStackFirewallReconciler ¶
type MetalStackFirewallReconciler struct { Client client.Client Log logr.Logger MetalStackClient MetalStackClient Scheme *runtime.Scheme }
MetalStackFirewallReconciler reconciles a MetalStackFirewall object
func NewMetalStackFirewallReconciler ¶
func NewMetalStackFirewallReconciler(metalClient MetalStackClient, mgr manager.Manager) *MetalStackFirewallReconciler
func (*MetalStackFirewallReconciler) SetupWithManager ¶
func (r *MetalStackFirewallReconciler) SetupWithManager(mgr ctrl.Manager) error
type MetalStackMachineReconciler ¶
type MetalStackMachineReconciler struct { Client client.Client Log logr.Logger ClusterTracker *capiremote.ClusterCacheTracker MetalStackClient MetalStackClient }
MetalStackMachineReconciler reconciles a MetalStackMachine object
func NewMetalStackMachineReconciler ¶
func NewMetalStackMachineReconciler(metalClient MetalStackClient, mgr manager.Manager) (reconciler *MetalStackMachineReconciler, err error)
todo: Remove the dependency on manager in this package.
func (*MetalStackMachineReconciler) Reconcile ¶
func (r *MetalStackMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)
Reconcile reconciles MetalStackMachine resource
func (*MetalStackMachineReconciler) SetupWithManager ¶
func (r *MetalStackMachineReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.