etchosts

package
v0.0.0-...-69378fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterControllerName = "EtcHostsCluster"
)
View Source
const (
	ControllerName = "EtcHostsMachineConfig"
)

Variables

This section is empty.

Functions

func EtcHostsIgnitionConfig

func EtcHostsIgnitionConfig(clusterDomain string, apiIntIP string, gatewayDomains []string, gatewayPrivateEndpointIP string) (*ign3types.Config, error)

func EtcHostsMachineConfig

func EtcHostsMachineConfig(clusterDomain string, apiIntIP string, gatewayDomains []string, gatewayPrivateEndpointIP string, role string) (*mcv1.MachineConfig, error)

func GenerateEtcHostsAROConf

func GenerateEtcHostsAROConf(clusterDomain string, apiIntIP string, gatewayDomains []string, gatewayPrivateEndpointIP string) ([]byte, error)

func GenerateEtcHostsAROScript

func GenerateEtcHostsAROScript() ([]byte, error)

func GenerateEtcHostsAROUnit

func GenerateEtcHostsAROUnit() (string, error)

Types

type EtcHostsClusterReconciler

type EtcHostsClusterReconciler struct {
	base.AROController
	// contains filtered or unexported fields
}

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 (*EtcHostsMachineConfigReconciler) Reconcile

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL