installer

package
v0.0.0-...-5337506 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 72 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ALLOW_EXPANDED_AZ_ENV       = "ARO_INSTALLER_ALLOW_EXPANDED_AZS"
	CONTROL_PLANE_MACHINE_COUNT = 3
)
View Source
const (
	IgnFilePath = "/etc/NetworkManager/dispatcher.d/30-eth0-mtu-3900"
	IgnFileData = `#!/bin/bash

if [ "$1" == "eth0" ] && [ "$2" == "up" ]; then
    ip link set $1 mtu 3900
fi`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AROBoundSASigningKey

type AROBoundSASigningKey struct {
	tls.BoundSASigningKey
}

AROBoundSASigningKey is a custom wrapper of tls.BoundSASigningKey, to read the filepath expected in the ARO Installer wrapper's context

func (*AROBoundSASigningKey) Load

Load reads the private key from the disk. It ensures that the key provided is a valid RSA key.

func (*AROBoundSASigningKey) Name

func (*AROBoundSASigningKey) Name() string

Name returns a human friendly name for the asset.

type AROManifests

type AROManifests struct {
	FileList []*asset.File
}

Custom ARO asset to add custom manifests to install graph in installer-wrapper similar to installer's manifests.Manifests

func (*AROManifests) Dependencies

func (am *AROManifests) Dependencies() []asset.Asset

func (*AROManifests) Files

func (am *AROManifests) Files() []*asset.File

func (*AROManifests) Generate

func (am *AROManifests) Generate(ctx context.Context, dependencies asset.Parents) error

func (*AROManifests) Load

func (am *AROManifests) Load(f asset.FileFetcher) (found bool, err error)

func (*AROManifests) Name

func (am *AROManifests) Name() string

type Interface

type Interface interface {
	Install(ctx context.Context) error
	Manifests(ctx context.Context) (graph.Graph, error)
}

func NewInstaller

func NewInstaller(log *logrus.Entry, _env env.Interface, assetsDir string, clusterUUID string, oc *api.OpenShiftCluster, subscription *api.Subscription, fpAuthorizer refreshable.Authorizer, deployments features.DeploymentsClient, g graph.Manager) Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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