Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClusterConfigDir = "cluster-configuration" FilesDir = "files" IsoName = "imagebasedconfig.iso" )
Variables ¶
This section is empty.
Functions ¶
func GetClusterConfigDir ¶
func InstallationCompleted ¶
func InstallationCompleted(ici *v1alpha1.ImageClusterInstall) bool
Types ¶
type ImageClusterInstallMonitor ¶
type ImageClusterInstallMonitor struct {
client.Client
Log logrus.FieldLogger
Scheme *runtime.Scheme
DefaultInstallTimeout time.Duration
GetSpokeClusterInstallStatus monitor.GetInstallStatusFunc
Options *ImageClusterInstallReconcilerOptions
}
ImageClusterInstallMonitor reconciles a ImageClusterInstall object
func (*ImageClusterInstallMonitor) SetupWithManager ¶
func (r *ImageClusterInstallMonitor) SetupWithManager(mgr ctrl.Manager) error
type ImageClusterInstallReconciler ¶
type ImageClusterInstallReconciler struct {
client.Client
credentials.Credentials
Log logrus.FieldLogger
Scheme *runtime.Scheme
Options *ImageClusterInstallReconcilerOptions
BaseURL string
NoncachedClient client.Reader
Installer installer.Installer
}
ImageClusterInstallReconciler reconciles a ImageClusterInstall object
func (*ImageClusterInstallReconciler) SetupWithManager ¶
func (r *ImageClusterInstallReconciler) SetupWithManager(mgr ctrl.Manager) error
type ImageClusterInstallReconcilerOptions ¶
type ImageClusterInstallReconcilerOptions struct {
ServiceName string `envconfig:"SERVICE_NAME"`
ServiceNamespace string `envconfig:"SERVICE_NAMESPACE"`
ServicePort string `envconfig:"SERVICE_PORT"`
ServiceScheme string `envconfig:"SERVICE_SCHEME"`
DataDir string `envconfig:"DATA_DIR" default:"/data"`
MaxConcurrentReconciles int `envconfig:"MAX_CONCURRENT_RECONCILES" default:"1"`
DataImageCoolDownPeriod time.Duration `envconfig:"DATA_IMAGE_COOLDOWN_PERIOD" default:"1s"`
}
Click to show internal directories.
Click to hide internal directories.