openshiftinstall

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstallConfigMap

func CreateInstallConfigMap(name string) (string, error)

CreateInstallConfigMap creates an openshift-install ConfigMap from the OPENSHIFT_INSTALL_INVOKER environment variable and the given name for the ConfigMap. This returns an error if marshalling to YAML fails.

Types

type Config

type Config struct {
	File *asset.File
}

Config generates the openshift-install ConfigMap.

func (*Config) Dependencies

func (*Config) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*Config) Files

func (i *Config) Files() []*asset.File

Files returns the files generated by the asset.

func (*Config) Generate

func (i *Config) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the openshift-install ConfigMap.

func (*Config) Load

func (i *Config) Load(f asset.FileFetcher) (bool, error)

Load loads the already-rendered files back from disk.

func (*Config) Name

func (*Config) Name() string

Name returns a human friendly name for the asset.

Jump to

Keyboard shortcuts

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