Documentation ¶
Index ¶
- Constants
- func EtcHostsIgnitionConfig(clusterDomain string, apiIntIP string, gatewayDomains []string, ...) (*ign3types.Config, error)
- func EtcHostsMachineConfig(clusterDomain string, apiIntIP string, gatewayDomains []string, ...) (*mcv1.MachineConfig, error)
- func GenerateEtcHostsAROConf(clusterDomain string, apiIntIP string, gatewayDomains []string, ...) ([]byte, error)
- func GenerateEtcHostsAROScript() ([]byte, error)
- func GenerateEtcHostsAROUnit() (string, error)
- type EtcHostsClusterReconciler
- type EtcHostsMachineConfigReconciler
Constants ¶
View Source
const (
ClusterControllerName = "EtcHostsCluster"
)
View Source
const (
ControllerName = "EtcHostsMachineConfig"
)
Variables ¶
This section is empty.
Functions ¶
func EtcHostsIgnitionConfig ¶
func EtcHostsMachineConfig ¶
func GenerateEtcHostsAROConf ¶
func GenerateEtcHostsAROUnit ¶
Types ¶
type EtcHostsClusterReconciler ¶
type EtcHostsClusterReconciler struct { base.AROController // contains filtered or unexported fields }
func NewClusterReconciler ¶
func NewClusterReconciler(log *logrus.Entry, client client.Client, dh dynamichelper.Interface) *EtcHostsClusterReconciler
func (*EtcHostsClusterReconciler) Reconcile ¶
func (r *EtcHostsClusterReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile watches ARO EtcHosts MachineConfig objects, and if any changes, reconciles it
func (*EtcHostsClusterReconciler) SetupWithManager ¶
func (r *EtcHostsClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup our mananger to watch for changes to MCP and ARO Cluster obj
type EtcHostsMachineConfigReconciler ¶
type EtcHostsMachineConfigReconciler struct { base.AROController // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(log *logrus.Entry, client client.Client, dh dynamichelper.Interface) *EtcHostsMachineConfigReconciler
func (*EtcHostsMachineConfigReconciler) Reconcile ¶
func (r *EtcHostsMachineConfigReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile watches ARO EtcHosts MachineConfig objects, and if any changes, reconciles it
func (*EtcHostsMachineConfigReconciler) SetupWithManager ¶
func (r *EtcHostsMachineConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup our mananger to watch for changes to MCP and ARO Cluster obj
Click to show internal directories.
Click to hide internal directories.