installer

package
v0.0.0-...-180e565 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 71 Imported by: 0

Documentation

Index

Constants

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(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